We are given four independent and identically distributed (i.i.d.) random variables $X_1, X_2, X_3, X_4$, each following a normal distribution with mean $\mu$ and variance 2. The prior distribution for the mean $\mu$ is also normal, with mean 0 and variance $\frac{1}{2}$. We need to determine the correct statement regarding the posterior distribution of $\mu$ after observing the data.
The likelihood function is based on a normal distribution with known variance ($\sigma^2=2$). The prior distribution for the mean ($\mu$) is a normal distribution ($N(0, \frac{1}{2})$). A normal prior is a conjugate prior for the mean parameter of a normal distribution with known variance. Therefore, the posterior distribution will also be a normal distribution.
Let the sample data be $X_1, X_2, X_3, X_4$. The sample size is $n=4$. The parameters are:
The posterior distribution for $\mu$ is normal, $N(\mu_{post}, \sigma_{post}^2)$. The formulas for the posterior mean and variance are:
$ \mu_{post} = \frac{\sigma^2 \mu_0 + n \sigma_0^2 \bar{X}}{\sigma^2 + n \sigma_0^2} $ $ \sigma_{post}^2 = \frac{\sigma^2 \sigma_0^2}{\sigma^2 + n \sigma_0^2} $Calculation of Posterior Mean/Mode:
$ \mu_{post} = \frac{(2)(0) + (4)(\frac{1}{2})(\bar{X})}{2 + (4)(\frac{1}{2})} = \frac{0 + 2\bar{X}}{2 + 2} = \frac{2\bar{X}}{4} = \frac{1}{2}\bar{X} $Substituting $\bar{X} = \frac{\sum_{i=1}^4 X_i}{4}$:
$ \mu_{post} = \frac{1}{2} \left( \frac{\sum_{i=1}^4 X_i}{4} \right) = \frac{\sum_{i=1}^4 X_i}{8} $Since the posterior distribution is normal, its mean, median, and mode are equal. Therefore, the posterior mode is $\frac{\sum_{i=1}^4 X_i}{8}$.
Calculation of Posterior Variance:
$ \sigma_{post}^2 = \frac{(2)(\frac{1}{2})}{2 + (4)(\frac{1}{2})} = \frac{1}{2 + 2} = \frac{1}{4} $The posterior variance is $\frac{1}{4}$.
Based on the calculations, Option 2 is the only true statement.
| x | 0 | 1 | 2 | 3 |
| $p_{\theta_0}(x)$ | 0.01 | 0.04 | 0.5 | 0.45 |
| $p_{\theta_1}(x)$ | 0.02 | 0.08 | 0.4 | 0.5 |