RE: The number of columns (variables) in $INPUT block
From: "Fotteler, Baerbel {PDBS~Basel}" <BAERBEL.FOTTELER@Roche.COM>
Subject: RE: The number of columns (variables) in $INPUT block
Date: Wed, 02 May 2001 16:33:56 +0200
Dear Alan,
we had a similar problem when developing the dose-auc model for saquinavir using a $PRED that we developed. Here is the solution we found with the help of the NONMEM project group:
We used a single data item to store more than one type of information in it. An "indicator data item" called XTYP was introduced showing the meaning of the data item at a specific record. Therefore we created in our case 5 records (instead of one) for one observation. The NONMEM control file was adapted as follows:
INPUT X1 X2 X3 ... X14 DV MDV XTYP;
XTYPE took the values of 0 to 4 and therefore in the $PRED we included the following:
IF (XTYP.EQ.0) THEN
PTNO=X1
SDAY=X2
...
ENDIF
IF (XTYP.EQ.1) THEN
RDOS=X1
RDAY=X2
...
ENDIF
etc.
Note that X1 contains the value of PTNO, then RDOS, then... Through this mechanism we could make in our case 14*5=70 data items available to NONMEM for our user defined model.
Hope this helps.
Best wishes,
Bärbel
(Baerbel Fotteler
F. Hoffmann - La Roche
PDBS, 74/3.OG-W
4070 Basel, Switzerland
Tel. +41 - 61 -688 6032
Fax. +41 - 61-688 1452)