Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 9.1 - Conjugate prior for univariate Gaussian in exponential family form
Exercise 9.1 - Conjugate prior for univariate Gaussian in exponential family form
Answers
Recall that the 1d Gaussian distribution is:
Rewrite it into the standard exponential family form:
With , denote:
Now consider the likelihood w.r.t. a dataset :
The prior distribution of should satisfy the following variational form:
The first term, in which is the target variable, takes the form of a Gamma distribution since:
The second term is just another Gaussian distribution since the sufficient statistics are and . Combine these two observations together, we have:
The transformations between variables are:
In case the variance of the prior for is written in the information form, the precision can be written by: .