2.3 Several normal observations with a normal prior

2.3.1 Posterior distribution

We can generalize the situation in the previous section by supposing that a priori

Unnumbered Display Equation

but that instead of having just one observation we have n independent observations  such that

Unnumbered Display Equation

We sometimes refer to X as an n-sample from  . Then

Unnumbered Display Equation

Proceeding just as we did in Section 2.3 when we had only one observation, we see that the posterior distribution is

Unnumbered Display Equation

where

Unnumbered Display Equation

We could alternatively write these formulae as

Unnumbered Display Equation

which shows that, assuming a normal prior and likelihood, the result is just the same as the posterior distribution obtained from the single observation of the mean , since we know that

and the above formulae are the ...

Get Bayesian Statistics: An Introduction, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.