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*
ERROR -M2 vpc run
4 messages
3 people
Latest: Mar 24, 2024
Dear Mohd,
Do you need METHOD=1 (COND) under $Estimation when you use LAPLACIAN?
I could be wrong, but just remove it and leave for defaults.
Thank you,
Simba
Quoted reply history
On Sat, Mar 23, 2024, 4:56 PM Mohd Rahimi <[email protected]> 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*
>
Dear Mohd,
Why can't you use M3 method?
We can discuss more not on this platform.
Thank you,
Simba
Quoted reply history
On Sat, Mar 23, 2024, 7:22 PM Mohd Rahimi <[email protected]> wrote:
> Dear Simbarashe,
>
> I have tried to remove METHOD= COND before but an error popped out when I
> wanted to rerun the model.
>
> AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.
>
> 274 $ESTIMATION: METHOD=COND NEEDED WITH LAPLACIAN OPTION.
>
>
> Mohd Rahimi Muda
>
>
>
> On Sun, Mar 24, 2024 at 7:09 AM Simbarashe Peter Zvada <
> [email protected]> wrote:
>
>> Dear Mohd,
>>
>> Do you need METHOD=1 (COND) under $Estimation when you use LAPLACIAN?
>>
>> I could be wrong, but just remove it and leave for defaults.
>>
>> Thank you,
>> Simba
>>
>>
>>
>>
>>
>>
>>
>>
>> On Sat, Mar 23, 2024, 4:56 PM Mohd Rahimi <[email protected]> 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*
>>>
>>
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*