Prior Distributions

Objective:

Duration:

Materials:

Introduction:

Introduce the lesson’s topic:

Main Content:

Vocabulary

Beta distribution

Suppose we are looking at binary outcomes; we want to put a prior on \(\pi = P[Y=1]\), meaning \(\pi \in [0, 1]\).

The Beta model (often used to describe the variability in \(\pi\)) has shape parameters \(\alpha > 0\) and \(\beta > 0\), and these are the shape hyperparameters.

\[\pi \sim \text{Beta}\left(\alpha, \beta \right),\]

The Beta model’s pdf is

\[f\left( \pi \right) = \frac{\Gamma \left( \alpha + \beta \right)}{\Gamma \left( \alpha \right) \Gamma \left( \beta \right)} \pi^{\alpha-1} (1-\pi)^{\beta-1},\]

Normal distribution

Suppose we are now examining a continuous outcome. Let \(Y\) be a continuous random variable that can take any value in \(\mathbb{R}\); i.e., \(Y \in \left(-\infty, \infty\right)\).

Let us assume that the variability in \(Y\) can be represented by the normal distribution with mean parameter \(\mu \in \mathbb{R}\) and standard deviation parameter \(\sigma \in \mathbb{R}^+\).

\[Y \sim N\left(\mu, \sigma^2\right)\]

The normal model’s pdf is

\[f(y) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left\{-\frac{\left(y - \mu\right)^2}{2\sigma^2} \right\}\]

Calculation and Practice:

Discussion and Wrap-Up:

Homework:

Formative Assessment:

Conclusion: