Jump to content


Photo

Phoenix code for the Tabs WinNonLin model


  • Please log in to reply
6 replies to this topic

#1 Rangaraj Narayanan

Rangaraj Narayanan

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 August 2012 - 02:00 PM

I want to implement the following Win NonLin code into Phoenix using the PML language. Can anyone help with this? I am unable to find the PML reference guiide from the online help portal or from Pharsight web site.

 

Any guidance is much appreciated.

 

Thanks

Ranga

 

PS: Code is shown below:

 

MODEL 1

COMMANDS

 NCON 3

 NFUNCTIONS 3

 NPARAMETERS 3

 PNAMES 'CLF', 'Tabs', 'VF'

 END

   TEMPORARY

    T = X

    DOSE1 = CON(1)

     DOSE2 = CON(2)

     DOSE3 = CON(3)

     FINF1 = DOSE1/TABS

     FINF2 = DOSE2/TABS

     FINF3 = DOSE3/TABS

    END

  FUNC1

  IF T LE TABS THEN

    F = (FINF1/(CLF))*(1-DEXP(-(CLF/VF)*T))

    ELSE

     F = (FINF1/(CLF))*(1-DEXP(-(CLF/VF)*TABS))*DEXP(-(CLF/VF)*(T-TABS))

  ENDIF

 END

   FUNC2

    IF T LE TABS THEN

    F = (FINF2/(CLF))*(1-DEXP(-(CLF/VF)*T))

   ELSE

    F = (FINF2/(CLF))*(1-DEXP(-(CLF/VF)*TABS))*DEXP(-(CLF/VF)*(T-TABS))

    ENDIF

   END

   FUNC3

    IF T LE TABS THEN

    F = (FINF3/(CLF))*(1-DEXP(-(CLF/VF)*T))

    ELSE

    F = (FINF3/(CLF))*(1-DEXP(-(CLF/VF)*TABS))*DEXP(-(CLF/VF)*(T-TABS))

    ENDIF

    END

  EOM



#2 Simon Davis

Simon Davis

    Advanced Member

  • Administrators
  • 1,210 posts

Posted 17 August 2012 - 02:36 PM

Ranga,

 

  I am guessing you mean Tabs as Time of absorbtion? Have you attended one of the Introduction to Phoenix courses? Do you recall the model writing exercise to look at a Zero-order absorbtion capsule? Please see the attached PDF to create this simple model in Phoenix and then see how you might need to change it.

 

    Simon. [file name=zero_order.pdf size=187328]http://www.pharsight.com/extranet/media/kunena/attachments/legacy/files/zero_order.pdf[/file]

 

Remember upcoming public courses are listed here;

 

http://www.pharsight.com/training/training_upcoming.php

 

US then RoW

 

and onsite courses can be customised for your departments needs.

Attached Files



#3 Rangaraj Narayanan

Rangaraj Narayanan

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 August 2012 - 03:51 PM

Simon,

 

Thanks for the reply. I was able to get this to work for one dose. But how does one incorporate smulatneous fitting of multiple dose groups? Will that be

 

dosepoint (A2, duration = Tabs)

dosepoint (A3, duration = Tabs)

 

or does the above indicate compartments 2 and 3?

 

Ranga



#4 Simon Davis

Simon Davis

    Advanced Member

  • Administrators
  • 1,210 posts

Posted 17 August 2012 - 04:00 PM

Ranga,

    The beauty of phoenix modelling language is you do not need to code for multiple dosing, just supply the dose events in the input.

 

  If you truly want to dose to different compartments then yes you can add a dose point to each compartment, but from your description I didn't think you were trying to do that.

 

  Here is a set you can use with the model above and a dose of 20 000ug.

 

 Simon. [file name=PK3.xls size=6144]http://www.pharsight.com/extranet/media/kunena/attachments/legacy/files/PK3.xls[/file]

Attached Files

  • Attached File  PK3.xls   6KB   0 downloads


#5 Rangaraj Narayanan

Rangaraj Narayanan

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 August 2012 - 04:04 PM

Simon,

 

Yes, I understand with PML you can add dose events to show multiple doses.

 

But now, I want to simulaneously model data from single dose of 10mpk, 30 mpk and 100 mpk using common parameters such as Tabs, CL and Vss.

 

How do you get that done?

 

Ranga



#6 Simon Davis

Simon Davis

    Advanced Member

  • Administrators
  • 1,210 posts

Posted 17 August 2012 - 04:13 PM

If there are different doses to different subjects, you can simply run in population mode (naive pooled is available without NLME license)

 

Or are these doses given to the same subject at the same time?

to different sites?

 

  Perhaps it would be easier if you can post a representative project, PS I am popping out now so won't see your reply probably.

 

 Simon



#7 Rangaraj Narayanan

Rangaraj Narayanan

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 August 2012 - 06:48 PM

Simon,

 

I used the population mode to solve my question. Thanks.

 

How can I get %CV in the ouput data? I am getting only SE & %SE being reported.

 

Ranga






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users