Statistical Inference for EveryoneXYZ Homework Edition

⇩ Download ▾

Chapter 7: Priors, Likelihoods, and Posteriors

In Chapter 6 (Introduction to Parameter Estimation on page 121) we estimated the chance, θ\theta, that a bent coin would come up heads by combining a uniform prior for θ\theta (i.e. all possible values are a-priori equally likely) and a binomial likelihood (i.e. given θ\theta, what is the probability of the data). This resulted in a Beta distribution for the posterior probability for θ\theta.

Notice what the procedure of Bayes' Recipe is and how the Bayesian inference works here.

  1. Specify the prior probabilities for the models being considered

    We want to estimate a quantity (which we label as θ\theta), but begin with absolutely no knowledge of its value - we have a uniform prior probability.

  2. Write the top of Bayes' Rule for all models being considered

    We construct a model for how different possible values of θ\theta influence the outcome - a model we call the likelihood. In the case of the bent coin, the likelihood model is a binomial model, and describes the probability of flipping heads or tails given how bent the coin is (i.e. given θ\theta).

Adapted from Statistical Inference for Everyone, by Brian Blais (Bryant University), licensed under CC BY-SA 4.0 (dual-licensed under the GNU FDL 1.2 or later; this adaptation uses the CC BY-SA grant). Changes were made; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.

These eBooks are a prerelease and are not yet certified conformant with WCAG 2.1 AA or ADA Title II. Every page is built against an automated accessibility gate, and the published editions will meet ADA Title II requirements when they release in late September 2026. If something is unusable, please tell us.