Question: Normal linear regression (unknown , ). Consider a normal linear regression model for yi , i = 1, . . . , n on xi

Normal linear regression (unknown β, Σ). Consider a normal linear regression model for yi

, i = 1, . . . , n on xi j, j = 1, . . . , k, with a proper multivariate normal prior on β and three alternative priors on the covariance matrix. Let y = (y1, . . . , yn)

0 be an n × 1 vector of responses, X an n × k design matrix

(i.e., a matrix with xi j in the ith row and jth column). Let β = (β1, . . . , βk) be a vector of regression coefficients. We assume

. . ~ (. ) B-N(T).

a. Assume that Σ is known. Let Vβ = (X 0Σ
−1X)
−1 , and βˆ = VβX 0Σ
−1 y. Show that h(β | Σ, y) = N(m, V), with

image text in transcribed


with the last term simplifying to V −1 β
βˆ = X 0Σ
−1 y.

b. We now extend the model by assuming an unknown – but diagonal –
covariance matrix

image text in transcribed


Find h(τ | y) for τ = 1/σ2 and h(β | σ
2 , y) for fixed R, ν0, s0.

c. Replace the prior on β by β ∼ N(µ, T). Find h(τ | β, y).
Note: Together with h(β | σ
2 , y) from question (b), this allows us to define an algorithm that alternately simulates from these two complete conditional posterior distributions. The algorithm is known as the Gibbs sampler and will be discussed at length in Chapter 6. See also Problem 6.11

. . ~ (. ) B-N(T).

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 Statistics For Engineers And Scientists Questions!