1 $PROBLEM PHENOBARB SIMPLE MODEL
2 $INPUT ID TIME AMT WGT APGR DV
3 $DATA pheno.dta IGNORE
=I
4 $SUBROUTINE ADVAN1 TRANS2
9 CL
=TVCL
*EXP(ETA(1)*THETA(3)*WGT
)
18 IPRED
=F
; individual
-specific prediction
19 IRES
=DV
-IPRED
; individual
-specific residual
20 IWRES
=IRES
/W
; individual
-specific weighted residual
21 $
THETA (0,0.0105) ; CL
30 $ESTIMATION MAXEVAL
=9999 SIGDIGITS
=4 POSTHOC
32 $TABLE ID TVCL TVV NOPRINT ONEHEADER FILE
=patab1