martin ★★ Austria, 2012-01-11 22:02 (4925 d 21:49 ago) Posting: # 7904 Views: 7,036 |
|
Dear all! Having thought a long time about handling endogenous compounds I would like to share my approach how to model such data assuming a two-compartmental model following an IV bolus. I think the model below has an advantage compared to the frequently used turnover model based on differential equations (e.g. Gabrielsson and Weiner, 2000) as the presented model takes also the measured pre-dose concentration(s) straightforwardly into account. I would be grateful if you could have a look at the code and share your opinion on this PK model. best regards martin Gabrielsson J. and Weiner D. (2000). Pharmacokinetic and Pharmacodynamic Data Analysis: Concepts and Applications. 4th Edition. Swedish Pharmaceutical Press, Stockholm.
#### modified data from Gabrielsson and Weiner (2000, page 743) |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2012-01-13 03:06 (4924 d 16:44 ago) @ martin Posting: # 7920 Views: 6,059 |
|
Dear Martin! ❝ Having thought a long time about handling endogenous compounds I would like to share my approach how to model such data assuming a two-compartmental model following an IV bolus. I think the model below has an advantage compared to the frequently used turnover model based on differential equations (e.g. Gabrielsson and Weiner, 2000)… Since you don’t need to approximate ∂SSQ/∂Pi by ∆SSQ/∆Pi. Good luck in R. ![]() ❝ […] as the presented model takes also the measured pre-dose concentration(s) straightforwardly into account. Right. ❝ I would be grateful if you could have a look at the code and share your opinion on this PK model. The model is OK and very intuitive. I love IRWLS. How long did it take you to get working initial estimates? But: AIC(mod.ols, mod.wls, mod.irwls) ![]() … and for the ambitious eyeball-modeler: Rmax <- max(abs(c(resid(mod.ols), resid(mod.wls), resid(mod.irwls)))) Surprise! Compare the shapes to Fig. 31.2! It’s nice to get the basal level directly from the model, but the coefficients are f**g complicated hybrids of volumes of distribution and rate constants. Personally I don’t care whether a model is purely empiric or has a more ‘physiological touch’ like Johan’s. Be prepared to run into arguments with clinical pharmacologists – you remember the record-setting 3-months-thread about the ‘correct’ parameterization at David’s PKPD-list… — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
martin ★★ Austria, 2012-01-13 10:19 (4924 d 09:31 ago) @ Helmut Posting: # 7923 Views: 5,979 |
|
Dear HS! Thank you very much for your feedback. Yes, fitting a system of differential equations is a burden in R (and also with some other software ![]() genoud of R package rgenoud to get initial estimates which of course took some time. Regarding the AIC: according to Gabrielsson and Weiner (page 460) the AIC or SC (Schwarz criteria) cannot be used to compare the models as different weighting schemes are used. OMG; yes I remember the thread about the correct parameterization but I think an estimate of the basal effect obtained by the above model is better understandable to non-experts than the turnover rate estimated via Johan's model (personal opinion/experience). best regards & thank you very much martin |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2012-01-13 16:20 (4924 d 03:30 ago) @ martin Posting: # 7926 Views: 5,991 |
|
Dear Martin! ❝ Regarding the AIC: according to Gabrielsson and Weiner (page 460) the AIC or SC (Schwarz criteria) cannot be used to compare the models as different weighting schemes are used. Shame on me. Pointed out by John Wagner already in the 1970s… Actually I started with the residual plots and sneeked into the AICs later. Will never do it again. Promise. ❝ […] I think an estimate of the basal effect obtained by the above model is better understandable to non-experts than the turnover rate estimated via Johan's model (personal opinion/experience). Agree about the basal levels. I just wanted to advise against nasty questions arising concerning volumes of distribution and clearances, like “Whaaat did you say are a1 and a2?” If you are not comfortable with Laplace transforms you can go with a symbolic maths package (my favorite: Maxima; moderate learning curve). If you obtain an explicit solution from the system of differential equations you can fit the hybrid constants and backtransform them later on. — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |
martin ★★ Austria, 2012-01-13 16:55 (4924 d 02:55 ago) @ Helmut Posting: # 7927 Views: 6,075 |
|
Dear HS! Thank you very much for your valuable advice and for bringing Maxima to my attention. I will definitely have a close look at it. What do you think about the following fast workaround to get estimates (unfortunately without SEs) for clearance and volumes of distributions.
dose <- 36630 best regards martin |
Helmut ★★★ ![]() ![]() Vienna, Austria, 2012-01-13 17:09 (4924 d 02:41 ago) @ martin Posting: # 7929 Views: 5,988 |
|
Dear Martin! ❝ What do you think about the following fast workaround to get estimates (unfortunately without SEs) for clearance and volumes of distributions. Sure! Quick and dirty, P.S.: Still in love with IRWLS ? Should try it with NLYW !Dear Tech Support: — Dif-tor heh smusma 🖖🏼 Довге життя Україна! ![]() Helmut Schütz ![]() The quality of responses received is directly proportional to the quality of the question asked. 🚮 Science Quotes |