UUPharmacometrics / PsN

Perl-Speaks-NONMEM
https://uupharmacometrics.github.io/PsN
GNU General Public License v2.0
65 stars 19 forks source link

issue of vpc for categorical model with IMP #125

Open tonggne opened 5 years ago

tonggne commented 5 years ago

Hello, I am using IMP method to analysis the categorical data in nm7.3 and psn4.8.1. $ESTIMATION METHOD=IMP NUMERICAL LAPLACE LIKE NITER=500 ISAMPLE=1000 PRINT=1 NOABORT SIGL=6 NSIG=2 DF=4 NOINTERACTION CALPHA=0.01 CTYPE=1 RANMETHOD=S2 FNLETA=0

The $estimation generated by vpc is the following: $ESTIMATION METHOD=IMP ISAMPLE=1000 LIKE NUMERICAL NOABORT DF=4 LAPLACE PRINT=1 SIGL=6 CALPHA=0.01 CTYPE=1 RANMETHOD=S2 FNLETA=0 EONLY=1 NITER=0

NOINTERACTION was removed somehow and the vpc will not run (INTERACTION IS IMPLIED WITH EM/BAYES ESTIMATION METHODS), with the following error: $ESTIM: "INTERACTION" CANNOT BE USED WITH "LIKE" OR "-2LL"

Same model and code works for NM7.4.3

Thanks! Tong

rikardn commented 5 years ago

This is a bug in PsN. The NOINTERACTION should be kept. Thanks for reporting it.