1 / 6

Bayesian Inference using Gibbs Sampling (BUGS) version 0.5 Manual

Tomas Radivoyevitch · David G. Hoel . Biologically-based risk estimation for radiation-induced chronic myeloid leukemia. Radiat Environ Biophys (2000) 39:153–159 Suppose we have vectors of model parameters θ and observed data X . Bayes theorem

dillan
Download Presentation

Bayesian Inference using Gibbs Sampling (BUGS) version 0.5 Manual

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Tomas Radivoyevitch · David G. Hoel. Biologically-based risk estimation for radiation-induced chronic myeloid leukemia. RadiatEnviron Biophys (2000) 39:153–159 Suppose we have vectors of model parameters θ and observed data X. Bayes theorem then states that the posterior distribution P(θ|X) equals the normalized product of the likelihood function L(X|θ) and the prior distribution P(θ). Assuming, and we shall throughout, that the prior and likelihood estimates of θ are multivariate normal, denoted MVN(μp, Σp) and MVN(μl,Σl), respectively, the posterior distribution is also multivariate normal, denoted MVN(μ, Σ); this follows from Eq. (1) because the log-posterior is then the sum of a quadratic log-likelihood and a quadratic log prior, which, upon completing the squares, yields a quadratic log-posterior with Viewing the matrix Σ–1 as information, these equations state that the posterior information equals the likelihood information plus the prior information, and that the posterior mean is the information-weighted average of prior and likelihood means. By symmetry we see that likelihoods and priors are treated equivalently in forming posteriors. In the context of optimization, posterior parameter estimates can be viewed as maximums of the log-likelihood objective subjected to a log-prior penalty function or ‘soft’ constraint

  2. Bayesian Inference using Gibbs Sampling (BUGS) version 0.5 Manual

  3. Bayesian Inference using Gibbs Sampling (BUGS) version 0.5 Manual > LINE # name of this model in rjags JAGS model: model { for( i in 1 : N ) { Y[i] ~ dnorm(mu[i],tau) mu[i] <- alpha + beta * (x[i] - xbar) } tau ~ dgamma(0.001,0.001) sigma <- 1 / sqrt(tau) alpha ~ dnorm(0.0,1.0E-6) beta ~ dnorm(0.0,1.0E-6) } Fully observed variables: N Y x xbar

  4. All in set V except v i.e. w In the liner model, the w are the yi and the product term is thus the likelihood term. The two v are mu and tau and the two parents of these, both of mu, are alpha and beta

More Related