For Bayesian linear regression model, the likelihood is as always:
The prior distribution is Gaussian-Inverse Gamma distribution:
The posterior distribution takes the form:
To decompose the updated hyperparameters from this form, we have to find:
- The exponential of
.
- The squared term within the exponential.
The exponential of
in the posterior is:
thus we have:
The coefficient of
in the exponential (as the introducer matrix of the inner product) is:
therfore:
with
:
The coefficient of
in the exponential is:
So we have:
This yields:
Finally, completing the square within the exponential yields:
Plugging in what we have already known about
and
results in:
Now we have (7.113)-(7.116) established.