Question: For the quasar data in Table 5.1, apply a logarithm transformation on the response Y so that Y log(Y ). Consider the semi-conjugate Bayesian

For the quasar data in Table 5.1, apply a logarithm transformation on the response Y so that Y ← log(Y ). Consider the semi-conjugate Bayesian linear model that includes all five predictors.

(a) With specification β0 = 0, V ≈ O, a = 0.0001, and b = 0.0001, obtain the Bayesian estimator of β and σ2, as well as their corresponding 95% confidence interval. Compare them to the results from ordinary least square estimation.

(b) With the same prior specification in part (a), obtain the posterior densities of each β and ν using two methods, the analytic method and Gibbs sampler. Plot them on the same figure and comment on how the MCMC method approximates the true posterior densities.

(c) Using the Gibbs sampler, construct a 95% Bayesian interval for predicting the response of a newcomer who has x = (3, −14, 45, 20, −27)t .

(d) Redo the above analysis with a different prior specification β0 = 0, V ≈ 0.04 · I, a = 0.1, and b = 0.1, and compare to see how an informative prior affects the results.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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

Students Have Also Explored These Related Linear State Space Systems Questions!