Question: In this problem, we shall outline a Bayesian solution to the problem described in Example 7.5.10 on page 423. Let = 1/ 2 and
For i = 1, . . . , n, let Yi = 1 if Xi came from the normal distribution with mean μ and precision τ , and let Yi = 0 if Xi came from the standard normal distribution.
a. Find the conditional distribution of μ given τ; Y1,. . . , Yn; and X1, . . . , Xn.
b. Find the conditional distribution of τ given μ; Y1,. . . , Yn; and X1, . . . , Xn.
c. Find the conditional distribution of Yi given μ; τ; X1, . . . , Xn; and the other Yj 's.
d. Describe how to find the posterior distribution of μ and τ using Gibbs sampling.
e. Prove that the posterior mean of Yi is the posterior probability that xi came from the normal distribution with unknown mean and variance.
Step by Step Solution
3.32 Rating (164 Votes )
There are 3 Steps involved in it
Let the proper prior have hyperparameters 0 0 0 and 0 Conditional on the Yis those X i s that have Y ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
602-M-S-S-M (852).docx
120 KBs Word File
