Hi Katrin,

$ERROR is executed once per data row.  The time when $ERROR is run is the TIME 
value (the discrete times of the measurement).  For this specific example, you 
can just use TIME.  You will need to code your $DES block so that what you're 
wanting to integrate as a function of time is in a compartment amount (e.g. 
A(1)).  With your example, it's hard to see how T is used in the $DES, but 
perhaps you could share the real example to give a bit more concrete advice on 
how to integrate the answer into your code.

Thanks,

Bill

From: owner-nmus...@globomaxnm.com [mailto:owner-nmus...@globomaxnm.com] On 
Behalf Of Katrin Volz
Sent: Monday, July 27, 2015 10:46 AM
To: nmusers@globomaxnm.com
Subject: [NMusers] Time 'T' in $Error

Dear NMuser,

I would like to model a PD effect using a function which includes continuous 
time ' T '.

The PD Effect is coded in $Error.
In general like this:
$ERROR
MyFunction = xxx + T
PDEffect = Basline * MyFunction

But 'T' cannot be used in $Error.

I tried to code the function with 'T' in $DES and rename it to use it in $ERROR:

$DES
MyFunction = xxx + T
$ERROR
MyNewFunction = MyFunction
PDEffect = Baseline * MyNewFunction

but it didn't worked (to rename was not permitted by NONMEM).

Does anyone of you has an idea how to solve this problem?

Thanks and best regards.
Katrin



Anke-Katrin Volz
PhD Student
Saarland University
Clinical Pharmacy
Campus C2 2 | Room 0.31
D- 66123 Saarbrücken

mail ankekatrin.v...@uni-saarland.de<mailto:ankekatrin.v...@uni-saarland.de>
fon +49 [0]681 302 22 84
fax +49 [0]681 302 70 258
www.clinicalpharmacy.me<http://www.clinicalpharmacy.me>

Reply via email to