NONMEM Users Network Archive

Hosted by Cognigen

Re: [NMusers] Inherit past calculation of parameter in NONMEM

From: Guo, Tingjie <t.guo_at_vumc.nl>
Date: Wed, 14 Jun 2017 20:21:39 +0000

Dear Nick and Jakob,

Thanks for the reply. It is perfectly solved according to your response. Thank you very much.

Warm regards,
Tingjie

On 14/06/2017, 12:12, "owner-nmusers_at_globomaxnm.com on behalf of Nick Holford" <owner-nmusers_at_globomaxnm.com on behalf of n.holford_at_auckland.ac.nz> wrote:

    Tingie,
    
    You can "remember" the value of any variable created in NM-TRAN
    abbreviated code. You have to be careful if the variable is a random
    effect to always include the else case.
    
    e.g.
    
    IF (NEWIND.LE.1) THEN
    
    CLLAST=? ; some plausible initial value
    
    ENDIF
    
    IF (CL.LE.0) THEN
    
        CL=CLLAST
    
    ELSE
    
        CL=CL
    
    ENDIF
    
    CLLAST=CL
    
    Best wishes,
    Nick
    
    On 14-Jun-17 11:35, Guo, Tingjie wrote:
>
> Dear NMusers,
>
> Maybe a simple question. I was wondering if there is such
> functionality in NONMEM to inherit the past (e.g. previous row) value
> of parameter calculated with time varying covariates? For instance,
> the CL was determined by a time varying covariate. Calculation CL was
> a negative number in time record 3 due to the covariate value at that
> time point. I would like to use calculation CL in time record 2 as
> instead for time record 3. Pseudocode is somewhat like ‘*IF
> (CL[i].LE.0) CL[i]=CL[i-1]*’. Is this possible to implement within
> NONMEM? Thanks in advance.
>
> Warm regards,
>
> Tingjie
>
> *Tingjie Guo I Trainee Research Assistant *
>
> Academic Medical Centre, University of Amsterdam.
>
> VU University Medical Centre, Vrije University Amsterdam.
> Room ZH-7D-172, De Boelelaan 1117, 1081 HV Amsterdam, The Netherlands.
>
> Email: t.guo_at_amc.uva.nl <mailto:t.guo_at_amc.uva.nl> / t.guo_at_vumc.nl
> <mailto:t.guo_at_vumc.nl> Mobile: +31 659738693
>
    
    --
    Nick Holford, Professor Clinical Pharmacology
    Dept Pharmacology & Clinical Pharmacology, Bldg 503 Room 302A
    University of Auckland,85 Park Rd,Private Bag 92019,Auckland,New Zealand
    office:+64(9)923-6730 mobile:NZ+64(21)46 23 53 FR+33(6)62 32 46 72
    email: n.holford_at_auckland.ac.nz
    http://holford.fmhs.auckland.ac.nz/
    http://orcid.org/0000-0002-4031-2514
    Read the question, answer the question, attempt all questions
    
    
    

Received on Wed Jun 14 2017 - 16:21:39 EDT

The NONMEM Users Network is maintained by ICON plc. Requests to subscribe to the network should be sent to: nmusers-request@iconplc.com. Once subscribed, you may contribute to the discussion by emailing: nmusers@globomaxnm.com.