RE: Replacement of values during simulation

From: Elba Romero Date: April 25, 2011 technical Source: mail-archive.com
Dear Nathan and Nick: Thank you very much for your help. Finally I'm exploring the model under this conditions, and as Nathan explained before, I simulate the effect of an LOQ in my resulting dataset. The final code is this: LLOQ = LOG(0.020) ;LOW LIMIT OF QUANTIFICATION Y=IPRED+W*EPS(1) IF (ICALL.EQ.4)THEN ;Required to simulate IF (F.NE.0) Y=LOG(F) IF(Y.LE.LLOQ) THEN;Required to replace values lower or equal than LOQ Y = LLOQ ENDIFENDIF This instruction allow me to work with PsN and "play around" to know my model. I also try to use the code that Nick send me but it did not work. I wonder where is the problem, just to close the circle...Elba. Date: Sun, 24 Apr 2011 21:48:30 -0500 Subject: Re: [NMusers] Replacement of values during simulation From: [email protected] To: [email protected] CC: [email protected] Elba, In the $ERROR block you can add code such as the following: Y=F + F*ERR(1) + ERR(2) ; Replace values below -3.9 with -3.0 IF(Y.LE.-3.9) THEN Y=-3.0 ENDIF This can often be used to simulate the effect of an LOQ on the resulting dataset. Good luck! Nathan -- Nathan S. Teuscher, PhD Founder, PK/PD Associates www.learnpkpd.com blog.learnpkpd.com [email protected] Twitter: www.twitter.com/learnpkpd Facebook: www.facebook.com/pages/Learn-PKPD YouTube Channel: www.youtube.com/learnpkpd
Quoted reply history
On Sat, Apr 23, 2011 at 11:53 AM, elba romero <[email protected]> wrote: Dear nonmemusers: I’m performing some simulations in order to verify the behaviour of my model. My iDV and DV are time an concentration respectively. In my case it would be useful to replace all simulated data (DV) that have values less or equal than -3.9 by this value: -3.0. Does anybody could help me how to give this instruction to NONMEM7 in order to replace all this values during simulation? Thank you in advance! Elba PhD student UNAV
Apr 23, 2011 Elba Romero Replacement of values during simulation
Apr 25, 2011 Nathan Teuscher Re: Replacement of values during simulation
Apr 25, 2011 Elba Romero RE: Replacement of values during simulation
Apr 25, 2011 Nick Holford Re: Replacement of values during simulation
Apr 26, 2011 Elba Romero RE: Replacement of values during simulation