Posterior Summaries
The posterior distribution is the complete answer to a Bayesian inference problem, but it is usually summarised by a point estimate, an interval or a decision. These summaries are derived from decision theory, in which the consequences of each choice are assessed under the posterior distribution.
Let be a parameter space. A set of actions is a set of choices available to the decision maker.
Let be a parameter space and be a set of actions. A loss function is a function where is the loss incurred by taking action when the true parameter value is The utility of an action is the negative of its loss, so minimising loss and maximising utility are equivalent.
Let be a loss function, be an action and be a posterior distribution. The posterior expected loss of is the expected loss of under the posterior distribution.
Let be a loss function and be a posterior distribution. A Bayes action is an action that minimises the posterior expected loss.
Let be a set of actions. A decision rule is a function that maps each possible data set to an action
Let be a loss function and be a decision rule. The frequentist risk of at is its expected loss over repeated sampling with fixed.
Let be a loss function, be a decision rule and be a prior distribution. The Bayes risk of is its frequentist risk averaged over the prior.
Let be a loss function and be a prior distribution. A Bayes rule is a decision rule that minimises the Bayes risk. The decision rule that takes the Bayes action for every data set is a Bayes rule, so acting optimally conditional on the observed data is also optimal on average over data sets.
Let be a loss function on A Bayes estimator of is a Bayes action for the decision problem with The Bayes estimator depends on the loss function.
The squared error loss is the loss function The Bayes estimator under squared error loss is the posterior mean.
Let be a posterior distribution. The posterior variance of is the variance of the posterior distribution, The posterior variance is the posterior expected loss of the posterior mean under squared error loss. The posterior standard deviation of is which is the Bayesian analogue of the standard error.
The absolute error loss is the loss function The posterior median of is the median of the posterior distribution. The Bayes estimator under absolute error loss is the posterior median.
Let The zero-one loss is the loss function
Let be a posterior distribution with pmf or pdf. The posterior mode or maximum a posteriori (MAP) estimate of is the value that maximises the posterior pmf or pdf.
The Bayes estimator under zero-one loss is the posterior mode in the limit
Let be a log-likelihood function and be a penalty function. A penalised maximum likelihood estimate is a value of that maximises The MAP estimate has the following properties:
- it is the maximum likelihood estimate under a flat prior;
- it is a penalised maximum likelihood estimate with penalty a normal prior centred at zero penalises and a Laplace prior penalises which are the penalties of ridge and lasso regularisation.
Point estimates have the following invariance properties under reparametrisation:
- the posterior median is invariant under monotonic reparametrisation;
- the posterior mean is invariant only under affine reparametrisation;
- the posterior mode is invariant under neither, since the change of variables factor moves the maximum of the density.
Let be a posterior distribution and A credible set of credible level is a set that has posterior probability
A credible interval is a credible set that is an interval. Credible sets have the following properties:
- a credible interval contains with posterior probability given the observed data, which is the statement that a confidence interval is often mistakenly taken to make;
- a confidence interval, in contrast, has probability of containing over repeated samples before the data are observed;
- credible sets of a given level are not unique.
Let be a posterior distribution with quantile function and The equal-tailed credible interval of level is the credible interval that places probability in each tail of the posterior distribution.
The equal-tailed credible interval transforms correctly under monotonic reparametrisation.
Let be a posterior distribution with pdf and The highest posterior density (HPD) region of level is the set of parameter values with posterior density above a threshold chosen to give the required level.
The HPD region has the following properties:
- it is the smallest set of its level;
- it is an interval when the posterior is unimodal and may be a union of intervals when the posterior is multimodal;
- it is not invariant under reparametrisation;
- it coincides with the equal-tailed credible interval for a symmetric unimodal posterior.
Let be the -quantile of the standard normal distribution. By the Bernstein–von Mises theorem both the equal-tailed credible interval and the HPD region are approximately for large
Let and be hypotheses with and be a posterior distribution. The posterior probability of a hypothesis is the posterior probability of its parameter set.
Let be the loss for wrongly rejecting and be the loss for wrongly accepting The Bayes action is to reject if and only if the posterior odds exceed the ratio of the losses.
Bayesian hypothesis testing has the following properties:
- the hypotheses are treated symmetrically and can be accepted, in contrast to a frequentist test;
- the posterior probability of a composite hypothesis is a direct measure of its plausibility rather than a -value;
- a simple hypothesis has posterior probability zero under a continuous prior, so testing it requires a prior that places positive probability on which is treated as a comparison of two models.
Let be a future observation with posterior predictive distribution The posterior predictive mean of is the mean of the posterior predictive distribution.
The posterior predictive mean is the Bayes prediction of under squared error loss.
Let be a future observation with posterior predictive distribution and A predictive interval of level is an interval with posterior predictive probability By the law of total variance
which adds the variability of the observation to the uncertainty about the parameter, so a predictive interval is wider than a credible interval for