Covariance knowning conditional distribution of the two variables. For an excercise at my university I need to find Var(X) where X=(Y^t, Z^t)^t knowing that Z sim N(0, I_2) and Y|Z sim N(BZ,I_4) given that B in M_{4,2} is a matrix and the I_2 and I_4 are the identitis.

fofopausiomiava

fofopausiomiava

Answered question

2022-09-04

Covariance knowning conditional distribution of the two variables
For an excercise at my university I need to find Var(X) where X = ( Y t , Z t ) t knowing that Z N ( 0 , I 2 ) and Y | Z N ( B Z , I 4 ) given that B M 4 , 2 is a matrix and the I 2 and I 4 are the identitis. I've managed to find that V a r ( Y ) = I 4 + B t B and I also already know Var(Z), I am stuck at the C o v ( Y , Z ) = E [ Y Z t ]. Does someone know how to compute it?

Answer & Explanation

falwsay

falwsay

Beginner2022-09-05Added 8 answers

Step 1
Sanity check: B t B is 2 × 2, so I 4 + B t B does not make sense.
The law of total variance implies
Var ( Y ) = E [ Var ( Y Z ) ] + Var ( E [ Y X ] ) = I 4 + Var ( B Z ) = I 4 + B E [ Z Z t ] B t = I 4 + B B t .
Step 2
Similarly, the law of total covariance implies
Cov ( Y , Z ) = E [ Cov ( Y , Z Z ) ] + Cov ( E [ Y Z ] , E [ Z Z ] ) = 0 + B = B .
Alternatively, letting Y = B Z + U where U N ( 0 , I 4 ) is independent of Z,
Cov ( Y , Z ) = E [ ( Y E [ Y ] ) ( Z E [ Z ] ) t ] = E [ Y Z t ] = E [ E [ Y Z t Z ] ] = E [ ( B Z + U ) Z t ] = B E [ Z Z t ] + B E [ U Z t ] = B .

Do you have a similar question?

Recalculate according to your conditions!

New Questions in High school probability

Ask your question.
Get an expert answer.

Let our experts help you. Answer in as fast as 15 minutes.

Didn't find what you were looking for?