Jump to content


Photo
- - - - -

Intro to PML School and Lesson 1 on nonlinear clearance

PML clearance

  • Please log in to reply
31 replies to this topic

#1 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 06 October 2016 - 04:49 PM

Thanks all for joining the first session of our PML School.

 

Topics covered during this session were:

 

  • Introduction to PML School
  • Lesson 1: nonlinear clearance (3-compartment model)

 

Here are the materials:

 

  1. presentation of the intro part
  2. presentation of the lesson part
  3. textual model

We will also load the recorded webinar to the Certara Youtube channel and will post the link lateron.

 

For those people who posted questions during the event we will get back to you with responses.

 

Any comments and feedback welcome, just post to this topic.

 

Thanks,

 

Bernd Wendt

 

 

Attached Files


  • Charleshit, RaymondUnell, ingehoori and 1 other like this

#2 pypendop

pypendop

    Member

  • Members
  • PipPip
  • 10 posts

Posted 06 October 2016 - 05:03 PM

Thank you for organizing - I have written multiple model in the old WNL5 ASCII format, and appreciate the opportunity to learn to use the newer language. This morning's session was excellent.



#3 Douglas James

Douglas James

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 06 October 2016 - 08:36 PM

Thank you for providing these training sessions / webinars.  The morning session was very good.  Would it be possible to provide the dataset used for the modeling / presentation?

 

Thanks again



#4 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 06 October 2016 - 08:39 PM

Thank you for providing these training sessions / webinars.  The morning session was very good.  Would it be possible to provide the dataset used for the modeling / presentation?

 

Thanks again

Hi Douglas,

 

unfortunately we cannot provide the datasets. This was part of the arrangement with the publisher of the book. However, as you have seen in the webinar, the datasets are usually pretty generic, single profile type of datasets with just a few columns like time and concentration. 

Hope, this helps.

 

Bernd



#5 Paulin

Paulin

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 October 2016 - 07:12 AM

Thank you for this first excellent session.

Could you confirm that PML is used in the excercises/case studies provided the 5th edition of the book from J. Gabrielsson and D. Weiner (rather than WinNonlin modeling language in the 4th Ed.)?



#6 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 07 October 2016 - 07:15 AM

Hi Paulin,

 

yes, Johan and Dan have changed the language from the legacy WNL ASCII code to PML. All exercises in the 5th edition are provided as Phoenix project files on a USB-stick that comes with the book. There are more than 100 exercises in the book by now.

 

Bernd


  • Paulin likes this

#7 Simon Davis

Simon Davis

    Advanced Member

  • Administrators
  • 1,329 posts

Posted 07 October 2016 - 08:27 AM

I am glad everyone found yesterday's session useful, just a reminder of how to stay informed on these forums;
Want to be notified of all new topics posted to a forum?

Click the “Follow this forum” button at the top right of the main page for each forum that interests you.

Want to be notified of all replies to a topic of interest?

Click the “Follow this topic” button at the top right of that topic’s page.

 

(if you don't do the above you won't receive emails regarding new topics or new posts)



#8 cerebellars

cerebellars

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 07 October 2016 - 02:54 PM

Hello,

 

Where is the link to the recorded video? Thank you.

I'd like to thank you for all your effect to teach PML. I was looking for PML tutoring for a long time. I greatly appreciate your team's kindness. I'll follow all your 20 PML live webinars.

 

Michelle


Edited by cerebellars, 07 October 2016 - 03:16 PM.


#9 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 07 October 2016 - 03:49 PM

It takes a little longer to upload our recorded webinar to the Certara Youtube channel. In the meantime, if you want to watch the recording, please use the link below:

 

 

https://certara.webe...25e91467c0ddb47

 

 

Let me know if there are questions or issues.

 

Bernd

https://certara.webe...25e91467c0ddb47



#10 xvsu

xvsu

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 October 2016 - 07:19 PM

Greetings. Thanks for the great organization and kickoff session yesterday on PML, very helpful.

 

For the series of sessions, will they be scheduled for the same time as the last one (i.e. 10am EST on Thursday every two weeks)? I am hoping to block my calendar so that I have a better chance to attend to these seminars as much as possible, and will appreciate your input on the timing.

 

Thanks!

Su



#11 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 07 October 2016 - 07:26 PM

 

Greetings. Thanks for the great organization and kickoff session yesterday on PML, very helpful.

 

For the series of sessions, will they be scheduled for the same time as the last one (i.e. 10am EST on Thursday every two weeks)? I am hoping to block my calendar so that I have a better chance to attend to these seminars as much as possible, and will appreciate your input on the timing.

 

Thanks!

Su

 

Hi Su,

 

thanks for the kind feedback. I would just confirm that we are planning for 5 further sessions in 2016:

20.10.

03.11.

17.11.

01.12.

15.12.

 

Each session will be on a Thursday starting at 10 am EST. I will send out the detailed schedule next week.

 

Bernd



#12 Hao

Hao

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 07 October 2016 - 07:49 PM

Thanks all for organizing this series and it was a great learning resource. I submitted a question at the end of webinar and received a reply thereafter from Chris, shown as follows. Thanks for taking care of the question. 

 

Q: In the structural parameters, we only have CL, but in the fixed effects, we have a, Cl0 and CL, why?

A: In the non-static clearance model,  Cl is defined as a function of the fixed effects Cl0 and a.  It is not a parameter in itself – it is derived from other parameters.

 

But still I am little bit confused. When we define Cl = Cl0 - a*C, Cl0 and a are constant parameters and Cl is a variable parameter.

 

1. Do we have to use stparm to define Cl0 and a as parameters?

2. Is "fixef(tvCl = c(, 4.3, ))" necessary? Cl is dependent on C and therefore changing over time. Should we give it a population mean?

 

So I am wondering how the model would work with these codes.

 

test(){
deriv(A1 = - Cl * C - Cl2 * (C - C2) - Cl3 * (C - C3)) 
deriv(A2 = Cl2 * (C - C2))                
deriv(A3 = Cl3 * (C - C3))                 
dosepoint(A1)                              
C = A1 / V                                                         
C2 = A2 / V2
C3 = A3 / V3
Cl = Cl0 - a * C                           
error(CEps = 1)                            
observe(CObs = C * (1 + CEps))     
stparm(V = tvV)
stparm(V2 = tvV2)
stparm(V3 = tvV3)
stparm(Cl = tvCl)
stparm(Cl0 = tvCl0)  ## what if we add this?
stparm(a = tva)  ## what if we add this?
stparm(Cl2 = tvCl2)
stparm(Cl3 = tvCl3)
fixef(a = c(, 0.0005, )) 
fixef(Cl0 = c(, 4.3, ))
fixef(tvV = c(, 0.5, ))
fixef(tvV2 = c(, 1.7, ))
fixef(tvV3 = c(, 1.7, ))
fixef(tvCl = c(, 4.3, ))  ## what if we remove this?
fixef(tvCl2 = c(, 6.5, ))
fixef(tvCl3 = c(, 2.2, ))
secondary(Min_Cl=Cl0 - a * 1000)   
}


#13 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 07 October 2016 - 07:58 PM

Dear Hao,

 

thanks for your feedback. Just to clarify the confusion around constant parameters, variable parameters and derived parameters:

 

Cl is a derived parameter, it is not involved in the fitting process, it is estimated on the basis of the variable parameters a and Cl0

 

both Cl0 and a are variable parameters. Their values will change through the fitting process, the starting value is shown under the fixed effects section of the textual model:

 

fixef(a = c(, 0.0005, )) 
fixef(Cl0 = c(, 4.3, )
 
Any time, the value for a and Cl0 will change, the value for Cl will also change, since Cl is derived from a and Cl0 through the equation:
 
Cl = Cl0 - a * C
 
There are no constant parameters in this model. 
 
Hope, this helps. Let me know if there are more questions.
 
Bernd
 
 

 


 



#14 Hao

Hao

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 07 October 2016 - 08:05 PM

Dear Bernd,

 

Thanks so much for the quick clarification. I get you and totally agree. My point was Cl0 and a would each have a constant as population mean but Cl wouldn't. Right? 

 

If so, my 2 questions seem to still exist...Appreciate any more advice.

 

Hao 



#15 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 07 October 2016 - 08:12 PM

Dear Hao,

 

sorry, it is getting late my time, I was not clear. We have not discussed the population scenario, we have just discussed the individual fitting scenario. 

Population PK is a more difficult scenario and is not very well suited for a beginner's class. But to take your point, if we would have more than one profile to fit, assuming the different profiles originate from different subjects, then we will switch to population mode, in which case we will fit the data to find a typical population estimate for both a and Cl0. At the end of the fitting process you will have indeed just a single estimate for a and Cl0 resp.But there will be certain random effects as well, that is, profiles between the subjects will show differences and these differences are covered by what we call etas (random effect parameters). 

 

Does that answer your question?

 

Bernd



#16 Hao

Hao

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 07 October 2016 - 08:45 PM

Dear Bernd,

 

Thanks again and yes your answer is helpful. But my question was actually not on population model or not. I don't know if this forum allows lengthy discussion, but if not violating the forum policy I don't mind to bring up all my dump questions. :rolleyes: 

 

Let me put my questions in a different way.

 

1. Why Cl0 and a don't need to be predefined using stparm while all other parameters need to?

2. It seem tvCl is not reported (slide 11). Do we really need to have the code of fixef (tvCl = c (, 4.3, ))? I am assuming fixed effect parameters should not be dependent on time or concentration? If so, the concentration-dependent Cl seems not to be a fixed effect parameter.

 

Unfortunately I don't have the source data otherwise I'd test if my codes would generate any errors or result in same estimates.

 

Hao 



#17 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 07 October 2016 - 09:14 PM

Dear Hao,

 

the correct code for the model in the structural parameters and fixed effects session looks like this:

 

--------------------------------------------

# structural parameters
    stparm(V = tvV)
stparm(V2 = tvV2)
stparm(V3 = tvV3)
#stparm(Cl = tvCl)
stparm(Cl2 = tvCl2)
stparm(Cl3 = tvCl3)
# fixed effects – the actual parameters to be 
    # estimated (lower bound, initial estimate, upper bound)
    fixef(a = c(, 0.0005, )) 
fixef(Cl0 = c(, 4.3, ))

---------------------------------------------------------------------------------

 

I can see your confusion now: 

 

1. there are no structural parameters defined for a and Cl0

2. the fixed effects are defined for a (0.0005) and Cl0 (4.3) but not for Cl

3. you don't see Cl reported in the Theta table where all the fixed effects are reported

 

Re 1.: I guess that Dan just want to keep the changes to the textual model as small as possible, therefore he omitted to add a and Cl0 as structural parameters. In general , you would define those additional parameters as structural parameters in a population model, since this would allow you to add random effects. Since we are dealing with an individual fit in this particular exercise, this step is unnecessary.

Re 2.: this is different from the code that you posted. The variable parameters a and Cl0 need to have initial estimates, which are defined here. You don't want an initial estimate for Cl since this is a derived parameter based on a and Cl0

Re 3.: There is no single estimate for clearance since it is dependent on the concentration. If you want to see the variability of Cl you would need to add another table under the Run Options of your Phoenix Model that will output C and Cl versus time (see picture attached).

 

Bernd

 

 

 

Attached Thumbnails

  • C and Cl versus time.png


#18 Hao

Hao

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 10 October 2016 - 04:14 PM

Thanks so much Bernd for the detailed clarification! It answered my questions. 

 

Looking forward to the next session.



#19 pypendop

pypendop

    Member

  • Members
  • PipPip
  • 10 posts

Posted 22 October 2016 - 06:07 PM

Hi Paulin,

 

yes, Johan and Dan have changed the language from the legacy WNL ASCII code to PML. All exercises in the 5th edition are provided as Phoenix project files on a USB-stick that comes with the book. There are more than 100 exercises in the book by now.

 

Bernd

Bernd,

 

Is the 5th edition of Gabrielsson and Weiner available? It can be bought on Amazon but the shipping date is December to January.

 

Bruno



#20 bwendt@certara.com

bwendt@certara.com

    Advanced Member

  • Administrators
  • 282 posts

Posted 25 October 2016 - 02:04 PM

Bernd,

 

Is the 5th edition of Gabrielsson and Weiner available? It can be bought on Amazon but the shipping date is December to January.

 

Bruno

 

Bruno,

 

I guess it needs to be first shipped from Sweden to the US.

That might explain why it takes longer than usual.

 

Bernd

 

Here is the link (for your information): 

 

https://www.amazon.c...and gabrielsson

 

EDIT or alternatively direct from the publisher;

 

https://books.apotek...ications-ed-5-2


Edited by Simon Davis, 25 October 2016 - 02:18 PM.
add in Swedish site.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users