4.7 Exercises: Chapter 4
Write in the canonical form the distribution of the Bernoulli example, and find the mean and variance of the sufficient statistic.
Given a random sample y=[y1,y2,…,yN]⊤ from a binomial distribution where the number of trials (n) is known. Show that p(y|θ) is in the exponential family, and find the posterior distribution, the marginal likelihood and the predictive distribution of the binomial-beta model assuming the number of trials is known.
Given a random sample y=[y1,y2,…,yN]⊤ from a exponential distribution. Show that p(y|α,β) is in the exponential family, and find the posterior distribution, marginal likelihood and predictive distribution of the exponential-gamma model.
Find the marginal likelihood in the normal/inverse-Wishart model.
Find the posterior predictive distribution in the normal/inverse-Wishart model.
Show that in the linear regression model β⊤n(B−1n−B−1nM−1B−1n)βn=β⊤∗∗Cβ∗∗ and β∗∗=X0βn.
Show that (Y−XB)⊤(Y−XB)=S+(B−ˆB)⊤X⊤X(B−ˆB) where S=(Y−XˆB)⊤(Y−XˆB), ˆB=(X⊤X)−1X⊤Y.