Homepage › Solution manuals › Kevin P. Murphy › Machine Learning: a Probabilistic Perspective › Exercise 3.13 - Posterior predictive distribution for a batch of data with the dirichlet-multinomial model
Exercise 3.13 - Posterior predictive distribution for a batch of data with the dirichlet-multinomial model
Answers
The likelihood for Dirichlet-multinomial model is:
following the symbols defined in the textbook. The conjugate prior is the Dirichlet distribution:
where is a -dimension simplex. The (3.37) in the textbook mistake for .
The posterior distribution is another Dirichlet distribution with update:
To predict a new batch of data , we begin with one sample :
where the expectation is computed w.r.t. the posterior Dirichlet distribution, hence is:
Finally,