Re: ERROR -M2 vpc run
Hi Mohd,
Something else is going on, your code runs fine on my side except you need to define LLOQ, and also correct an error in SD:
SD = SQRT(1 + THETA(4)*F**2) ; not **F
Why you call it VPC, are you running it via PSN or similar interface? Then the problem can be there, in transformation of the estimation file to the simulation file.
Also, why YLO is log(LLOQ), your code does not use transform on both sides, so why log is used?
Leonid
---------------------------------------------------------------
$ERROR
LLOQ=0.1
SD = SQRT(1 + THETA(4)*F**2)
YLO=LOG(LLOQ)
IPRED=F
W=SD
IRES = DV-IPRED
IWRES = IRES/W
Y = F + SD*EPS(1)
$ESTIMATION METHOD=COND LAPLACIAN INTER NUMERICAL NOABORT SLOW NSIG=2
SIGL=9 MAXEVAL=9999 PRINT=1
Quoted reply history
On 3/23/2024 4:44 PM, Mohd Rahimi wrote:
> Dear NONMEM user,
>
> I tried to run a VPC for M2 BQL method by using the code as stated below:
>
> ;M2 - Likelihood assumes all values are censored at LLOQ ‘YLO’
>
> * SD = SQRT(1 + THETA(4)**F**2)
> YLO=LOG(LLOQ)
> IPRED=F
> W=SD
> IRES = DV-IPRED
> IWRES = IRES/W
> Y = F + SD*EPS(1)
> *
> *
> *
> *$ESTIMATION METHOD=COND LAPLACIAN INTER NUMERICAL NOABORT SLOW NSIG=2
> SIGL=9 MAXEVAL=9999 PRINT=1*
>
> But I got this kind of error message from NONMEM
>
> * AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.
>
> 585 LAPLACIAN METHOD IS REQUIRED WHEN YLO, YUP, CTLO, OR CTUP IS USED.*
>
> Any thoughts on how to solve this?
>
> Thank you
>
> --
> *Mohd Rahimi Muda*