BOV Code

From: Partha Nandy Date: December 05, 2003 technical Source: cognigencorp.com
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
Dec 05, 2003 Partha Nandy BOV Code
Dec 05, 2003 Leonid Gibiansky Re: BOV Code