Repeated Observation Records
To assist in specialized methodologies such as stochastic differential
equations (SDE) [1-3] (see also "examples/sde_inline"), a record in a data
file may be set up for repeated calls to PK and ERROR. Each time, the
same record is passed through PK and/or ERROR, but with a different
EVID. The user’s control stream model in $PK or $ERROR may then take
advantage of executing certain code conditional on the EVID value.
For this to occur, the user must introduce one or more of the
following data items in the data file, with these names:
|
|
These stand for “extra” EVID’s. On the first call to PK/ERROR, the EVID is set to the value given in XVID1. On the second call, the EVID is set to that in column XVID2, etc. up to XVID5. Only as many XVID’s as are required are needed to be defined. All the other items in the record do not change, except that if the present EVID used is not 0, then the MDV value is set to 1 for that call. If an XVID is -1, then the call to PK/ERROR for that XVID is not made, nor for the remaining XVID’s. If there is an EVID column, the value in this column is not passed to PK/ERROR unless XVID1=-1, in which case a “normal” call on that record occurs.
The following is a control stream (courtesy of Dr. Christoffer Tornoe) that uses the XVID data items ("examples/sde"):
|
|
Reference
[1] R.V. Overgaard, N. Jonsson, C.W. Tornoe, and H. Madsen, Non-Linear Mixed Effects Models with Stochastic Differential Equations: Implementation of an Estimation Algorithm. J. Pharmacokinetics and Pharmacodynamics, 2005; 32(1): 85-107.
[2] J.B. Moller, R.V. Overgaard, H. Madsen, T. Hansen, O. Pedersen, and S.H. Ingwersen. Predictive Performance for Population Models Using Stochastic Differential Equations Applied on Data From an Oral Glucose Tolerance Test. J. Pharmacokinetics and Pharmacodynamics 2010; 37:85-98.
[3] C.W. Tornoe, R.V. Overgaard, H. Agerso, H. Nielsen, H. Madsen, and E.N. Jonsson. Stochastic Differential Equations in NONMEM: Implementation, Application, and Comparison with Ordinary Differential Equations. Pharmaceutical Research, 2005; 22(8): 1247-1258.