From: "Nandy, Partha" Partha.Nandy@pharma.com
Subject: [NMusers] BOV Code
Date: 12/5/2003 11:44 AM
Hi All,
I would appreciate some help with this. Somehow NONMEM is looking for the "THEN" - "ELSE" arguments along with the "IF" statement, which is fine, but I do not recall having this issue earlier when I implemented IOV using similar commands..
This is the part of the control stream:-
$PK
BSV=ETA(1)
IF (OCC.EQ.1) THEN
BOV=ETA(2)
ENDIF
IF (OCC.EQ.2) THEN
BOV=ETA(3)
ENDIF
IF (OCC.EQ.3) THEN
BOV=ETA(4)
ENDIF
IF (OCC.EQ.4) THEN
BOV=ETA(5)
ENDIF
$OMEGA 10 ;BSV
$OMEGA BLOCK(1) 0.25 ; OCC1 BOV
$OMEGA BLOCK(1) SAME ; OCC2 BOV
$OMEGA BLOCK(1) SAME ; OCC3 BOV
$OMEGA BLOCK(1) SAME ; OCC4 BOV
When I run the model, I get the following warning message:-
(WARNING 3) THERE MAY BE AN ERROR IN THE ABBREVIATED CODE. THE FOLLOWING
ONE OR MORE RANDOM VARIABLES ARE DEFINED WITH "IF" STATEMENTS THAT DO NOT
PROVIDE DEFINITIONS FOR BOTH THE "THEN" AND "ELSE" CASES. IF ALL
CONDITIONS FAIL, THE VALUES OF THESE VARIABLES WILL BE ZERO.
Thanks
Partha
(Partha Nandy)
Clinical Pharmacology
BOV Code
2 messages
2 people
Latest: Dec 05, 2003
From: Leonid Gibiansky lgibiansky@emmes.com
Subject: Re: [NMusers] BOV Code
Date: 12/5/2003 12:12 PM
This is just a warning. You can ignore it. If you do not like it, change
IF (OCC.EQ.1) THEN
BOV=ETA(2)
ENDIF
into
BOV=ETA(2)
Leonid
_______________________________________________________