The idea of a conjugate prior is that for a given likelihood we choose a prior distribution such that, after observing data and applying Bayesβ theorem, the posterior distribution belongs to the same family as the prior.
That is, if and have the same distributional form, then the prior is called a conjugate prior for the likelihood model.
This is useful because it makes Bayesian updating analytically tractable. Instead of performing difficult integration or numerical approximation, we can often derive the posterior parameters in closed form.
5. Conjugate Prior for Exponential Families
Note general exponential family:
For the data set of i.i.d. observations, the likelihood is
So conjugate prior for that likelihood is
Posterior is
6. Proper and Improper Prior Distributions
A prior is called proper if it is a valid probability distribution:
And improper if
If a prior is proper, so must the posterior.
If a prior is improper, the posterior could be proper or improper.
In theory, all priors are acceptable, as long as the posterior is proper.
7. Fisher Information Matrix
8. Jeffreysβ Prior
9. Pivotal Quantities
For the binomial and other single-parameter models, different principles give (slightly) different noninformative prior distributions. But for two casesβlocation parameters and scale parametersβall principles seem to agree[1].
9.1. Location Parameter
9.2. Scale Parameter
10. Predictive Accuracy
People care about the accuracy in two different ways. First to assume that the model is all we known and check posterior predictions. The second is to compare several candidate models. Even if all of the models being considered have mismatches with the data, it can be informative to evaluate their predictive accuracy, compare them, and consider where to go next[2].
11. KL Divergence
12. Linear Algebra
12.1. Convex Combination
A subset of a vector space is said to be convex if for all vectors , and all scalars in .
Via induction, this can be seen to be equivalent to the requirement that for all vectors , and for all scalars such that .
13. Reversible Jump MCMC
Reversible Jump Markov chain Monte Carlo (RJMCMC) samples jointly over a family of candidate models and their parameters. Under model , let . For a fixed observed data set , the joint posterior is the product of the likelihood and the joint prior, [3]:
Unlike ordinary MCMC, the state space is the disjoint union , so a jump between and may change the dimension of the parameter vector.
13.1. Sampler Configuration
An RJMCMC sampler is specified by the following components:
a within-model kernel that leaves invariant
jump-selection probabilities for , satisfying
auxiliary proposal densities
a differentiable bijection paired with its reverse , with the dimension-matching condition , where .
Starting from , select a destination model with probability , draw , and apply
The corresponding Jacobian factor is:
Accept the proposed state with probability:
The posteriorβs normalizing constant cancels from this ratio. If the proposal is rejected, retain . With the remaining probability , apply to update the parameters within the current model. Together, these updates preserve as the stationary distribution.
Bibliography
[1] A. Gelman, J. B. Carlin, H. S. Stern, D. B. Dunson, A. Vehtari, and others, Bayesian Data Analysis, Third (Crc, Boca Raton, Florida, 2013).
[2] A. Gelman, J. Hwang, and A. Vehtari, Understanding predictive information criteria for Bayesian models, Statistics and Computing 24, 997 (2014), https://doi.org/10.1007/s11222-013-9416-2.
[3] S. Brooks, A. Gelman, G. Jones, and X.-L. Meng, Handbook of Markov Chain Monte Carlo, 1st edition (Chapman, Hall/CRC, Boca Raton London New York, 2011).