Re: Replacement of values during simulation
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:
http://www.facebook.com/pages/Learn-PKPD/184975014854559?v=wall
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
>
>
>