[NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Dennis Fisher
NONMEM 7.4.1 Colleagues I am trying to use the ACCEPT option in $DATA in order to select a subset of records (to evaluate the impact of the # of samples/subject on confidence intervals). I used the following code: ACCEPT=(TIME=0, TIME=1, TIME=2, TIME=4, TIME=6, TIME=24) NMTRAN then

Re: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Leonid Gibiansky
from the manual: "When the IGNORE option is used to filter records from the input file, the .EQ., =, .NE., and /= symbols perform literal string comparisons. To provide a numerical equality comparison, use .EQN. for numerical equals, and .NEN. for numerical not equals." May be there is a

RE: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Bill Denney
Hi Dennis, I don’t have an elegant solution for you (and I’ve been pining for the use of combined Boolean operations like “TIME.GT.5.9.AND.TIME.LT.6.1” for a long time). An inelegant solution could be to run the model once with a write statement to see if you can identify the value like

Re: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Devin Pastoor
Similar to Bill, I also have an inelegant, but workable, solution, which is to brute force the ignore times by templating them in R. For example, you can use a simple glue template to churn out ignore statements. For simplicity this could then be then just copied into control streams.

RE: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Leonov, Sergei
Hi Dennis, Unfortunately, my reply will not provide a solution to your problem. It is more about drawing attention to the fact that checking conditions numerically is not exactly the same as checking conditions on a piece of a paper, because of rounding. I’m sure that the users of the List are

Re: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Dennis Fisher
Sergei I would accept that if the problem related to decimals. Your code does not apply to integers (please provide an example if that is the case) - so it would only apply if NMTRAN does something weird to integers. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax:

Re: [NMusers] Use of ACCEPT in $DATA

2017-08-24 Thread Dennis Fisher
Colleagues My apologies — my question reflected a (complicated) error on my part. NMTRAN / NONMEM were doing the correct thing. Of note, Leonid proposed using .EQN — that does not appear to be necessary. Dennis Dennis Fisher MD P < (The "P Less Than" Company) Phone / Fax: 1-866-PLessThan