Re: Mixed Models
Shankar:
I hope you are not, but you can not change true value variables
in conditional statements
eg.
IF (...) THEN
CL= TVCL+eta(1)
ELSE
CL=TVCL+eta(2)
ENDIF
There are alternate ways of doing that by creating new identifier for your
WT ranges.
I hope this helps.
Quoted reply history
On Wed, Mar 21, 2012 at 10:39 AM, Shankar Lanke <[email protected]>wrote:
> Dear All,
>
> I am running a pop pk IV infusion data, the observed values are collected
> form obese patients and normal patients.
> I used WINONLIN to estimate the initial parameters. Patients who weigh
> more than 350 lbs are following 2CM and less than 350 are following 1CM.
> I confirmed the models based on AIC, CV% (of parameters), graphical
> representation. Vd increases with weight (1CM).
>
> So I used IF(WT<=350)THEN statements from the beginning ($MODEL, $ PK, $
> DES, $THETA). I have the following error.
> AN ERROR WAS FOUND IN THE CONTROL STATEMENTS.
>
> AN ERROR WAS FOUND ON LINE 10 AT THE APPROXIMATE POSITION NOTED:
> IF(WT<=350)THEN
> X
> THE CHARACTERS IN ERROR ARE: IF
>
> Thank you very much in advance for your suggestions.
>
>
> Regards,
> Shankar Lanke Ph.D.
>
>
--
Indrajeet Singh,PhD
Sr. Clinical Pharmacokineticist
Abbott Labs, North Chicago, IL