Question: In Example 12.5.6, we used a hierarchical model. In that model, the parameters 1, . . . , p were independent random variables with i
a. Write the product of the likelihood and the prior as a function of the parameters μ1, . . . , μp, τ1, . . . , τp, ψ, and λ.
b. Find the conditional distributions of each parameter given all of the others. Hint: For all the parameters besides λ, the distributions should be almost identical to those given in Example 12.5.6. Wherever λ0 appears, of course, something will have to change.
c. Use a prior distribution in which α0 = 1, β0 = 0.1, u0 = 0.001, γ0 = δ0 = 1, and ψ0 = 170. Fit the model to the hot dog calorie data from Example 11.6.2. Compute the posterior means of the four μi’s and 1/τi’s.
Step by Step Solution
3.56 Rating (163 Votes )
There are 3 Steps involved in it
a The product of likelihood times prior is where w i for i 1 p b ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
602-M-S-S-M (893).docx
120 KBs Word File
