RE: Use AND to ignore rows for input dataset

From: Robert Bauer Date: December 20, 2019 technical Source: mail-archive.com
Mark: The best solution would be if an additional ignore filtering can be done within a code record, so any degree of elaborate filtering can be done. For example: $INFN DATA_IGNORE=0 IF(SEX==1 .AND. BW<30) DATA_IGNORE=1 IF(AGE>10 .AND. AGE<70) DATA_IGNORE=1 IF(GEN1==3 .OR. GEN2==10 .AND. GEN3>20) DATA_IGNORE=1 This can be available in the next version NONMEM 7.5 Guide VIII is kept up to date with the version. The date of guide VIII is January 2018. Robert J. Bauer, Ph.D. Senior Director Pharmacometrics R&D ICON Early Phase 820 W. Diamond Avenue Suite 100 Gaithersburg, MD 20878 Office: (215) 616-6428 Mobile: (925) 286-0769 [email protected]<mailto:[email protected]> http://www.iconplc.com/
Quoted reply history
From: Mark Tepeck <[email protected]> Sent: Tuesday, December 17, 2019 8:21 PM To: Nmusers <[email protected]> Cc: Bauer, Robert <[email protected]> Subject: Re: [NMusers] Use AND to ignore rows for input dataset Hi Bob, Thanks for providing the solution applicable to some cases. Meanwhile, I would like to share my thoughts on this issue. My sole purpose is to make NONMEM even better. 1. Use of OR alone may be subject to a very limited utility. Actually, my scenario is way more complicated. E.g. I want to exclude the year-span between (10,18) and (60,70) from the pool of (0,90). I cannot find a solution with ACCEPT/OR for this case. 2. Implicit/default use of OR is quite counter-intuitive and could raise the NONMEM learning curve. As we all know, AND (instead of OR) is the widely implemented default operator, E.g., Google search and programming languages (like R package dplyr/filter). NONMEM developers may consider following this general practice. 3. A lot of solutions provided on this platform come from the Guide -VIII. They are still useful but seems cumbersome from the current perspective. While we stick to a six-year-old guide, we entered a new era of machine learning, artificial intelligence, self-driving car, smart phones, etc, technologies are evolving quickly to become much easier than ever to use. Maybe, we can make NONMEM more user-friendly as well by solving this long-standing issue. 😊 With this fixed, IGNORE can serve as a universal filtering command. I really appreciate your input and feel free to correct me if I am wrong. Mark
Dec 16, 2019 Mark Tepeck Use AND to ignore rows for input dataset
Dec 16, 2019 Sebastien Bihorel Re: Use AND to ignore rows for input dataset
Dec 16, 2019 Robert Bauer RE: Use AND to ignore rows for input dataset
Dec 17, 2019 Sebastien Bihorel Re: Use AND to ignore rows for input dataset
Dec 17, 2019 Robert Bauer RE: Use AND to ignore rows for input dataset
Dec 18, 2019 Mark Tepeck Re: Use AND to ignore rows for input dataset
Dec 20, 2019 Robert Bauer RE: Use AND to ignore rows for input dataset
Dec 23, 2019 Mark Tepeck Re: Use AND to ignore rows for input dataset
Dec 24, 2019 Robert Bauer RE: Use AND to ignore rows for input dataset