Bayesian statistics
Algorithms
- ABC rejection algorithm
Draw a parameter from the prior, simulate a data set, and accept the parameter when its summaries lie within epsilon of the observed ones. The accepted draws approximate the posterior.
1 languagesadvanced - Bridge sampling
Estimates a ratio of normalizing constants, such as a marginal likelihood, from draws of two distributions linked by a bridge function. The optimal bridge is found iteratively.
1 languagesadvanced - Nested sampling
Skilling's estimator of the marginal likelihood that replaces the worst of a set of live points by a new prior draw of higher likelihood and integrates over the shrinking prior mass.
1 languagesadvanced - ABC sequential Monte Carlo
Runs ABC over a falling sequence of tolerances, moving and reweighting a population of particles, so far fewer simulations are wasted than in rejection ABC.
1 languagesresearch - Integrated nested Laplace approximation
Rue, Martino and Chopin's deterministic approximation of posterior marginals of latent Gaussian models by nested Laplace approximations and numerical integration.
1 languagesresearch - Pareto smoothed importance sampling leave-one-out cross-validation
Estimates leave-one-out predictive accuracy from one set of posterior draws, by importance weights whose tail is smoothed with a fitted generalized Pareto law.
1 languagesresearch - Simulation-based calibration
Checks a Bayesian sampler by drawing parameters from the prior, simulating data, and testing that the rank of the true parameter among posterior draws is uniform.
1 languagesresearch
Techniques
- Empirical Bayes
Estimates the prior from many parallel cases, often by maximizing the marginal likelihood, and then applies the Bayes rule with that prior. The James-Stein estimator is one case.
1 languagescore - Laplace approximation
Approximates a posterior by a normal law centred at its mode with covariance the inverse Hessian of minus the log posterior. It also approximates the marginal likelihood.
1 languagescore - Posterior predictive check
Checks a Bayesian model by comparing a statistic of the data with its distribution in replicated data drawn from the posterior predictive.
1 languagescore - Approximate Bayesian computation
Bayesian inference without a likelihood: simulate data from parameters drawn from the prior and keep those whose summary statistics are close to the observed ones.
1 languagesadvanced - Bayesian model averaging
Average predictions or estimates over a set of models, each weighted by its posterior probability, instead of choosing one model.
advanced
Definitions
- Credible interval
An interval that holds the parameter with a stated posterior probability. Unlike a confidence interval, the probability is about the parameter given the data.
intro - Bayes estimator
The estimator that minimizes posterior expected loss: the posterior mean for squared loss, the median for absolute loss. It minimizes the Bayes risk.
core - Bayes factor
The ratio of the marginal likelihoods of the data under two models. It turns prior odds into posterior odds and does not depend on the prior probabilities of the models.
core - Highest posterior density region
The smallest region with a given posterior probability, made of the points where the posterior density exceeds a level.
core - Improper prior
A prior measure with infinite total mass, such as a uniform prior on the real line. It is usable when the posterior it gives is proper.
core - Jeffreys prior
The prior proportional to the square root of the determinant of the Fisher information. It is invariant under reparametrization.
core - Posterior predictive distribution
The distribution of a new observation given the data, the model density averaged over the posterior of the parameters.
core - Reference prior
Bernardo's prior that maximizes the expected Kullback-Leibler distance from prior to posterior, so the data dominate. In one dimension it is the Jeffreys prior.
advanced - Spike-and-slab prior
A prior that gives each coefficient a probability of being exactly zero (the spike) and otherwise spreads it out (the slab). The posterior gives each variable a probability of inclusion.
advanced - Widely applicable information criterion
An estimate of out-of-sample predictive accuracy for Bayesian models. It is the log pointwise posterior predictive density minus the posterior variance of the log likelihood.
advanced - Horseshoe prior
A continuous shrinkage prior that is a normal scale mixture with half-Cauchy local scales. It pulls noise strongly to zero and leaves large signals almost unshrunk.
research
Theorems
- Bernstein-von Mises theorem
In regular parametric models the posterior tends to a normal law centred at the MLE with the inverse Fisher information over n as covariance, whatever smooth prior is used.
advanced - De Finetti's theorem
An infinite exchangeable sequence of random variables is a mixture of i.i.d. sequences. This gives a reason to model data with a prior over a parameter.
advanced - Lindley paradox
With a diffuse prior and a large sample, data that reject a point null at any fixed significance level can still make a Bayes factor favour that null.
advanced - Savage-Dickey density ratio
For nested models with compatible priors, the Bayes factor for a point null equals the posterior density at the null value divided by the prior density there.
advanced
Models
- Bayesian linear regression
Linear regression with a normal or normal-inverse-gamma prior on the coefficients and variance. The posterior and predictive laws are in closed form.
core - Hierarchical Bayesian model
A model whose group parameters share a prior with its own hyperparameters, so groups borrow strength from each other and estimates shrink toward the common mean.
core