4. Linear Models

Easy.

4E1. In the model definition below, which line is the likelihood?

$y_i \sim Normal(\mu, \sigma)$ is the likelihood.


4E2. In the model definition just above, how many parameters are in the posterior distribution?

There are two parameters in the posterior distribution: $\mu$ and $\sigma$.


4E3. Using the model definition above, write down the appropriate form of Bayes’ theorem that includes the proper likelihood and priors.


4E4. In the model definition below, which line is the linear model?

$\mu_i = \alpha + \beta x_i$ is the linear model.


4E5. In the model definition just above, how many parameters are in the posterior distribution?

There are three parameters in the posterior distribution: $\alpha$, $\beta$ and $\sigma$.