The outcomes on tossing a coin ten times are: H, T, T, H, H, T, H, H, T, T. Let p b...
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
Prior: $\frac{2}{2+\beta} = 0.2 \implies \beta = 8$
Data: $z=5, n=10 \implies n-z=5$
Posterior: $\text{Beta}(2+5, 8+5) = \text{Beta}(7, 13)$
Mean: $\frac{7}{7+13} = 0.35$
The prior mean is $\frac{\alpha}{\alpha+\beta} = 0.2$, so $\frac{2}{2+\beta} = 0.2 \implies 2 = 0.4 + 0.2\beta \implies \beta = 8$. With 5 heads and 5 tails in 10 tosses, the posterior distribution is $\text{Beta}(2+5, 8+5) = \text{Beta}(7, 13)$. The posterior mean is $\frac{7}{7+13} = 0.35$.