Question: Let X1, . . . , Xn be i.i.d. with the normal distribution having mean μ and precision Ï . Gibbs sampling allows one to

Let X1, . . . , Xn be i.i.d. with the normal distribution having mean μ and precision τ . Gibbs sampling allows one to use a prior distribution for (μ, τ) in which μ and τ are independent. Let the prior distribution of μ be the normal distribution with mean μ0 and variance γ0. Let the prior distribution of τ be the gamma distribution with parameters α0 and β0.
a. Show that Table 12.8 specifies the appropriate conditional distribution for each parameter given the other.
b. Use the New Mexico nursing home data (Examples 12.5.2 and 12.5.3). Let the prior hyper parameters be α0 = 2, β0 = 6300, μ0 = 200, and γ0 = 6.35 × 10ˆ’4. Implement a Gibbs sampler to find the posterior distribution of (μ, Ï„ ). In particular, calculate an interval containing 95 percent of the posterior distribution of μ.
Table 12.8 Parameters and conditional distributions for Exercise 12
Let X1, . . . , Xn be i.i.d. with

Paramete Prior times likelihood looks like the p.d.f. of this distribution gamma distribution with parameters Cto 0.5n2 normal distribution with mean (m) + ntr) /(r0+ nt) and precision

Step by Step Solution

3.32 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

0 should be the precision rather than the variance of the prior distribution of a T... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

602-M-S-S-M (854).docx

120 KBs Word File

Students Have Also Explored These Related Statistics Questions!