Re: [NMusers] Logic Expression in $DATA: ACCEPT or IGNORE

From: Xinting Wang <wxinting1986_at_gmail.com>
Date: Wed, 19 Nov 2014 06:14:27 -0500

Dear Katya and Bill,

Thanks a lot for your suggestion. Multiple IGNORE, as suggested Katya,
actually worked.

Best Regards

On 18 November 2014 17:24, Ekaterina Gibiansky <egibiansky_at_quantpharm.com>
wrote:

> Hi Xinting,
>
> You can separate the condition into several statements. For example, if
> you need to accept (A=1 OR A=2) AND B<100
> you instead can have 2 or 3 IGNORE statements (depending on the values A
> can have), say
> IGNORE=(B.GE.100) IGNORE=(A.GT.2) IGNORE=(A.LT.1)
>
> Regards,
> Katya
>
> Ekaterina Gibiansky, Ph.D.
> CEO&CSO, QuantPharm LLC
> Web: www.quantpharm.com
> Email: EGibiansky_at_quantpharm.com
>
>
> On 11/18/2014 3:24 PM, Denney, William S. wrote:
>
> Hi Xinting,
>
>
>
> I’ve worked with these types of statements a good bit, and my per=
sonal
> preference is to add a column to the data set that makes the selection
> simpler (e.g. set it to 1 if (A == 1 or A == 2) and B < 100). La=
st I knew,
> it wasn’t possible to do an “AND” in an ignore st=
atement (and checking the
> $data documentation in NONMEM 7.2, that still appears to be the case).
>
>
>
> Thanks,
>
>
>
> Bill
>
>
>
> *From:* owner-nmusers_at_globomaxnm.com [mailto:owner-nmusers_at_globomaxnm.com
> <owner-nmusers_at_globomaxnm.com>] *On Behalf Of *Xinting Wang
> *Sent:* Tuesday, November 18, 2014 2:10 PM
> *To:* nmusers_at_globomaxnm.com
> *Subject:* [NMusers] Logic Expression in $DATA: ACCEPT or IGNORE
>
>
>
> Dear all,
>
>
>
> I am having a difficulty in writing a logic expression of accepting a
> complex structure under $DATA session.
>
>
>
> For example:
>
>
>
> ACCEPT=c(A=1,A=2)
>
>
>
> means that record of A equals to 1 or 2 would be accepted. However, for a
> logic expression below:
>
>
>
> (A=1 OR A=2) AND B<100
>
>
>
> which would require A equals to 1 or 2 and in the mean time, B are less
> than 100.
>
>
>
> NONMEM manual VIII did not specify this type of acceptance. Could anybody
> please tell me how to write this kind expression using ACCEPT, or IGNORE =
in
> nonmem? Thanks a lot for your help.
>
>
>
> Best Regards
>
>
>
> --
>
> Xinting
>
>
>


--
Xinting

Received on Wed Nov 19 2014 - 06:14:27 EST

This archive was generated by hypermail 2.3.0 : Fri Sep 27 2019 - 16:42:11 EDT