Pros and Cons of Bayesian Pharmacometric Modeling Using BUGS
Pros and Cons of Bayesian Pharmacometric Modeling Using BUGS
Pros and Cons of Bayesian Pharmacometric Modeling Using BUGS
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Computational tools/methods for <strong>Bayesian</strong> modelingA simple <strong>BUGS</strong> modelMore on Win<strong>BUGS</strong>y i ∼ N `ŷ i , σ 2´ model{“loop” overŷ i = a + bx iPrior distributions:✘✾✘ ✘✘ ✘ ✘ the datafor ( i in 1:10){a ∼ N (0, 10000)# model for observed data (likelihood function)b ∼ N (0, 10000)y[ i ] ∼ dnorm(ymean[i],tau)σ ∼ Uniform (0, 10000)# simulation <strong>of</strong> new ”observations”, i.e., samples from# the posterior predictive distributionypred[i ] ∼ dnorm(ymean[i],tau)# expected value <strong>of</strong> y[i] given x[i]stochastic ✟✚ ✟✟✟✟✟✟✯✚✚✚✚✚✚✚❃ ymean[i]