$PROBLEM run1.mod $INPUT ID DOSE NTOT DV DROP DROP DROP $DATA paresthesia_DR.csv IGNORE=@ $PRED E0 = THETA(1) + ETA(1) EMAX = THETA(2) ED50 = THETA(3) LGT = E0 + EMAX*DOSE/(ED50 + DOSE) PR1 = 1/(1+EXP(-LGT)) PR0 = 1-PR1 Y = -2*(DV*LOG(PR1) + (NTOT-DV)*LOG(PR0)) $THETA (-3 ) ;E0 (~P1=.05) (3) ;EMAX (~P1=.5) (0, 20 ) ;ED50 $OMEGA 1 $ESTIMATION MAXEVAL=9999 METHOD=1 LAPLACE -2LL FILE=run1.ext $COV PRINT=E