Statistical Inference for EveryoneXYZ Homework Edition

⇩ Download ▾

7.5 Summary

It is useful to see all of these results stemming from the same Bayes' Recipe, applied to different models of the data and (possibly) different prior probabilities. As we have stated, many of the simple cases have been worked out by the mathematicians, so we don't need to do the work of deriving them. It will be our task to understand their properties, to be able to apply them to real problems, and to understand their consequences. One of the immediate observations that we make is the prevalence of the Normal distribution, justifying our detailed exploration of it in this chapter.

  1. Proportions
    • Parameter of Interest: θ\theta, the chances of a single event
    • Applications: coin flips, voting percentages, success in sports, performance on tests
    • Form of the data: hh successes in NN total events
    • Model of the data:

      data={success, with probability θfailure, otherwise (i.e. with probability 1θ)\begin{eqnarray*} {\rm data} = \left\begin{array}{cl} {\rm success} & \text{, with probability $\theta$} \\ {\rm failure} & \text{, otherwise (i.e. with probability $1-\theta$}) \end{array}\right. \end{eqnarray*}

    • Posterior Probability:

      Beta(θ|data)posteriorprobabilityBinomial(data|θ)likelihood×Uniform(θ)priorprobability\begin{eqnarray*} \underbrace{{\rm Beta}(\theta|{\rm data})}_{\rm posterior\ probability} \sim \overbrace{ {\rm Binomial}({\rm data}|\theta)}^{\rm likelihood}\times \underbrace{{\rm Uniform}(\theta)}_{\rm prior\ probability} \end{eqnarray*}

  2. Magnitude with Known Deviation
    • Parameter of Interest: μ\mu, the true magnitude of a quantity, given the deviation, labeled by σ\sigma, from the central value
    • Applications: percentages with large samples, scientific measurements such as weight and size of objects, time scales of events
    • Form of the data: NN total data points, labeled x1,x2,,xNx_{1}, x_{2}, \cdots, x_{N}, and given known σ\sigma
    • Model of the data:

      data=μ+uncertainty with probability Normal(μ=0,known σ)\begin{eqnarray*} {\rm data} = \mu + \text{uncertainty with probability Normal($\mu=0$,known $\sigma$)} \end{eqnarray*}

    • Posterior Probability:

      Normal(μ2|data,σ)posteriorprobabilityNormal(data|μ,σ)likelihood×Uniform(μ)priorprobability\begin{eqnarray*} \underbrace{{\rm Normal}(\mu_{2}|{\rm data},\sigma)}_{\rm posterior\ probability} \sim \overbrace{{\rm Normal}({\rm data}|\mu,\sigma)}^{\rm likelihood}\times \underbrace{{\rm Uniform}(\mu)}_{\rm prior\ probability} \end{eqnarray*}

  3. Magnitude with Unknown Deviation
    • Parameter of Interest: μ\mu, the true magnitude of a quantity, and the unknown deviation, labeled by σ\sigma, from the central value
    • Applications: scientific measurements with small samples (less than around 30), such as weight and size of objects, time scales of a small number of events
    • Form of the data: NN total data points, labeled x1,x2,,xNx_{1}, x_{2}, \cdots, x_{N}
    • Model of the data:

      data=μ+uncertainty with probability Normal(μ=0,σ)\begin{eqnarray*} {\rm data} = \mu + \text{uncertainty with probability Normal($\mu=0,\sigma$)} \end{eqnarray*}

    • Posterior Probability:

      P(μ,σ|data)posteriorprobabilityNormal(data|μ,σ)likelihood×Uniform(μ)·Uniform(logσ)priorprobability\begin{eqnarray*} \underbrace{{\rm P}(\mu,\sigma|{\rm data})}_{\rm posterior\ probability} \sim \overbrace{{\rm Normal}({\rm data}|\mu,\sigma)}^{\rm likelihood}\times \underbrace{{\rm Uniform}(\mu)\cdot{\rm Uniform}(\log \sigma)}_{\rm prior\ probability} \end{eqnarray*}

      StudentT(μ|data)posteriorprobability[P(μ,σ|data)]marginalized over σ\begin{eqnarray*} \underbrace{{\rm Student-T}(\mu|{\rm data})}_{\rm posterior\ probability} \sim \left[{\rm P}(\mu,\sigma|{\rm data})\right]_{\text{\scriptsize marginalized over $\sigma$}} \end{eqnarray*}

      F(σ|data)posteriorprobability[P(μ,σ|data)]marginalized over μ\begin{eqnarray*} \underbrace{{\rm F}(\sigma|{\rm data})}_{\rm posterior\ probability} \sim \left[{\rm P}(\mu,\sigma|{\rm data})\right]_{\text{\scriptsize marginalized over $\mu$}} \end{eqnarray*}

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.