$ERROR
Denotes the ERROR abbreviated code block.
|
|
Discussion
The $ERROR record is used to model intra-individual error in observed
values. It is used with PREDPP. It can also be used to to convert
predictions from PREDPP, i.e., scaled drug amounts, to other types of
predictions (for example, to obtain the prediction of a drug effect as
a function of concentration, in a pharmacodynamic study).
See abbreviated code for general rules.
Assignment
Left-hand quantities
Y. The dependent variable under the statistical model. Requred.- ERROR-defined (i.e., PRED-defined) variables.
- Quantities defined in the
$PKblock, assume variable scope are across$PKblocks, i.e. theCOMRES=-1option is not used in$PKor$ERROR.
Right-hand quantities
F. The value of the scaled drug amount in the observation compartment, computed by the structural model specified in$SUBROUTINE. Required.- Data items from the
$INPUTstatement. THETA(n)ETA(n). Required for single-subject data (can also be coded ERR(n)). Optional for population data.EPS(n). Required for population data (can also be coded ERR(n)).- Previously defined quantities, including
Y. - Quantities defined in the
$PKblock, assume variable scope are across$PKblocks, i.e. theCOMRES=-1option is not used in$PKor$ERROR. -
NEWIND: Same as the NEWIND argument passed by NONMEM to PREDPP.
- NEWIND=0: First record of the data set. THETA value may differ from value at last call with this record.
- NEWIND=1: First record of the data set, THETA value does not differ from value at last call with this record, and PRED is nonrecursive (see I_REC), or, First record of a subsequent individual record.
- NEWIND=2: Subsequent data record of an individual record.
-
NEWL2
- NEWL2=1: First record of an L2 record.
- NEWL2=2: Otherwise.
- ICALL: see ICALL,and Initialization-Finalization block, Simulation block, Expectation block, Data average block.
Global Variables in Modules
See Variables in modules for module variables that can be used. In particular
A(n): amount in compartmentn, see State Vector A.- Reserved variable names:
IDEFIREVEVTRECNVNTINDXSGHHDADT(n)E(n)P(n).
Storage and calling options
COMRES=-1. See COMRES.- Calling protocol.
We recommend enclose the options in parentheses. Use semicolon to separate multiple options.
|
|
Record order
Should be after $SUBROUTINES and $INPUT, and $MODEL (if a general model such as ADVAN6 is used), and $PK (if present).
Observations of Two Different Types
Here we use an example to illustrate how concentration and effect data can be fit simultaneously (see also L2, SIGMA). Suppose that the data set for the phenobarbital example of Chapter 2 is modified to include both concentration and effect observations, and that a data item called TYPE is used to distinguish between them. When TYPE is 1, DV contains an effect measurement. When TYPE is 2, DV contains a concentration. A fragment of the data set for one individual is shown below.
|
|
Note that the L2 data items have different values for each multivariate observation within the individual record. The values 1 and 2 are chosen arbitrarily and may be re-used for the L2 data items in the next individual’s data.
We use the following control stream for analysis.
|
|
Note that the L2 data indicates which ERR random variable is used for
the residual error of the data record. Specifically, L2=1 data record on
line 2-4, thus the residual errors for these record have variance \(\Sigma_{11}=4\),
as shown in the $SIGMA record; L2=2 for the rest
data reocrds and the residual errors have variance
\(\Sigma_{22}=8\). The two residual error random
variables, ERR(1) and ERR(2), are correlated, with correlation
coefficient \(\rho=2.8/\sqrt{4\times 8}=0.5\).