___________________________________________________________________
 |                                                                 |
 |                                $PRED                            |
 |_________________________________________________________________|

 MEANING: Marks the beginning of abbreviated code for the PRED routine
 CONTEXT: NM-TRAN Control Record

 USAGE:
 $PRED
 abbreviated code

 DISCUSSION:
 The $PRED record is used to model values for the DV data items.  It is
 NOT used with PREDPP (but (See $ERROR.)  General rules for abbreviated
 code are documented elsewhere (See abbreviated code).  Specific  rules
 for $PRED follow.

 ASSIGNMENT AND CONDITIONAL STATEMENTS

   Left-hand quantities in assignment statements:

     Y (Required. The modeled value for the  dependent  variable  under
     the statistical model.)

     PRED-defined items.

   Right-hand quantities in assignment statement and in conditions:

     Data item labels specified on the $INPUT statement.

     THETA(n).

     ETA(n) (Used if the data are population  or  single-subject  data,
     and in the latter case can be coded ERR(n).)

     EPS(n) (Used if the data are population, and can be coded ERR(n).)

     PRED-defined items that appeared earlier as left-hand  quantities.
     This includes Y.

     NEWIND
      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 non-
      recursive (see NMPRD8), 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
      ICALL=0: Run initialization.
      ICALL=1: Problem initialization.
      ICALL=2: Normal call.
      ICALL=3: Problem finalization.
      ICALL=4: Simulation.
      ICALL=5: Expectation.
      ICALL=6: Data Average.
      Special rules apply to blocks of abbreviated code that  are  exe-
      cuted when ICALL is not 2.
      (See initialization, finalization, simulation).
      (See expectation, data average).

     Variables in commons
      Certain   variables   in   FORTRAN   commons   can    be    used.
      (See Variables_in_commons, NONMEM_commons, PREDPP_commons).

 Forbidden Variable Names:

   DATREC INDXS G H DADT(n) A(n) E(n) P(n)

 PSEUDO ASSIGNMENT STATEMENTS

   COMRES=-1

 RECORD ORDER:

 Follows $SUBROUTINES and $INPUT

REFERENCES: Guide I Section C.2
REFERENCES: Guide IV Section III.B.8, IV
REFERENCES: Guide V Section 12.3


  
Go to main index.
  
Created by nmhelp2html v. 1.0 written by Niclas Jonsson (Modified by AJB 5/2006,11/2007)