MATH6174 Chap.9 Priors, Posteriors and Bayesian Prediction
Priors, Posteriors and Bayesian Prediction
Priors, Posteriors and Bayesian Prediction opens the Bayesian half of the module. The parameter is now treated as a random variable with a prior distribution that expresses belief before the data, and Bayes theorem combines that prior with the likelihood to give the posterior distribution, from which all inference proceeds.
The normalising constant does not depend on the parameter, so the posterior is usually written up to proportionality and identified by recognising its kernel as a known family. Conjugate priors make this immediate: the lecture notes pair the binomial with the beta, the Poisson and the exponential with the gamma, and the normal with the normal, so the posterior is obtained by adding data summaries to the prior parameters.
A point estimate is chosen by minimising posterior expected loss. Squared error loss gives the posterior mean, absolute error loss gives the posterior median, and a step-function loss gives approximately the posterior mode; for a skewed posterior the three differ.
When little prior information is available, the notes discuss locally uniform priors, improper priors that are acceptable only if the posterior is proper, and Jeffreys priors proportional to the square root of the Fisher information.
Prediction averages the data model over the posterior: the posterior predictive distribution of a new observation carries parameter uncertainty into the forecast, and the prior predictive distribution is the marginal likelihood of the data. Ratios of prior predictive densities under two models are Bayes factors, the Bayesian tool for model choice and hypothesis testing.
The chapter closes with the likelihood principle and the multi-parameter case. Both recent final papers ended with a Bayesian question on posterior densities under flat or uniform priors, and the 2025/26 paper added a predictive probability.
What this chapter covers
- 01
Bayes theorem for events and for random variables
- 02
Posterior proportional to likelihood times prior
- 03
Conjugate beta, gamma and normal updates
- 04
Bayes estimators under squared, absolute and step loss
- 05
Locally uniform, improper and Jeffreys priors
- 06
Posterior and prior predictive distributions
- 07
Bayes factors and the likelihood principle
Worked example · free
Update a gamma prior for an exponential rate and predict the next lifetime
- 1The likelihood is proportional to beta to the power 5 times exp(-7 beta), and the prior to beta times exp(-3 beta).
- 2Their product is beta to the power 6 times exp(-10 beta), the kernel of a gamma(7, 10) posterior.
- 1The posterior mean of the rate is 7/10 = 0.7.
- 2Given beta, the chance the next lifetime exceeds 1 is exp(-beta). Averaging over the gamma(7, 10) posterior gives (10/11) to the power 7.
Key terms
- Prior distribution
- The distribution that describes belief about a parameter before the data are observed.
- Conjugate prior
- A prior for which the posterior belongs to the same family under a given likelihood.
- Bayes estimator
- The point estimate that minimises posterior expected loss for a chosen loss function.
- Jeffreys prior
- A non-informative prior proportional to the square root of the Fisher information.
- Posterior predictive distribution
- The distribution of a new observation averaged over the posterior distribution of the parameter.
- Bayes factor
- The ratio of the prior predictive densities of the data under two competing models.
Priors, Posteriors and Bayesian Prediction FAQ
Can I use an improper prior?
Yes, provided the posterior it produces is proper, meaning it integrates to a finite value. A flat prior on a Poisson rate, for instance, gives a gamma posterior once at least one observation is in. If the posterior cannot be normalised, no inference is possible from it.
Which Bayes estimator should I report?
The loss function decides. Squared error loss gives the posterior mean, absolute error loss the median and a narrow step loss the mode. When a question names the loss, report the matching summary; when it asks for the posterior mean, give that and state the loss it corresponds to.
How is the posterior predictive different from plugging in an estimate?
Plugging in fixes the parameter at one value and ignores its uncertainty. The posterior predictive averages the data model over the whole posterior, so its spread is larger, especially for small samples. As the sample grows the two forecasts become close.
What does a Bayes factor above one mean?
A Bayes factor B01 above one says the data are more probable under the first model than under the second, after averaging each model's likelihood over its prior. Combined with prior odds, it gives the posterior odds of the two models.
Exam move
Work every conjugate pair in the notes from a blank page: write the likelihood kernel, the prior kernel, the product, and the named posterior with its full constant. Then compute the posterior mean, median or mode as a question requests, and one predictive probability per model. Finish with the improper-prior posteriors from the recent final papers, checking propriety each time.
Working through Priors, Posteriors and Bayesian Prediction in MATH6174? Sia is AskSia’s AI Statistics tutor — ask any MATH6174 Priors, Posteriors and Bayesian Prediction question and get a clear, step-by-step explanation grounded in how MATH6174 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.