image
Physics Forums Logo
image
image
* Register * Upgrade Blogs Library Staff Rules Mark Forums Read
image
image   image
image

Go Back   Physics Forums > Mathematics > Set Theory, Logic, Probability, Statistics


Reply

image Variance-covariance matrix of random vector Share It Thread Tools Search this Thread image
Old Jun16-09, 12:31 AM                  #1
kingwinner

kingwinner is Offline:
Posts: 815
Variance-covariance matrix of random vector

Notation:
Var(Y) is the variance-covariance matrix of a random vector Y
B' is the tranpose of the matrix B.

1) Let A be a m x n matrix of constants, and Y be a n x 1 random vector. Then Var(AY) = A Var(Y) A'

Proof:
Var(AY)
= E[(AY-A E(Y)) (AY-A E(Y))' ]
= E[A(Y-E(Y)) (Y-E(Y))' A' ]
= A E[(Y-E(Y)) (Y-E(Y))'] A'
= A Var(Y) A'

Now, I don't understand the step in red. What theorem is that step using?
I remember a theorem that says if B is a m x n matrix of constants, and X is a n x 1 random vector, then BX is a m x 1 matrix and E(BX) = B E(X), but this theorem doesn't even apply here since it requries X to be a column vector, not a matrix of any dimension.


2) Theorem: Let Y be a n x 1 random vector, and B be a n x 1 vector of constants(nonrandom), then Var(B+Y) = Var(Y).

I don't see why this is true. How can we prove this?
Is it also true that Var(Y+B) = Var(Y) ?


Any help is greatly appreciated!
  Reply With Quote
Old Jun16-09, 08:02 AM                  #2
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Variance-covariance matrix of random vector

For question 1: the matrix LaTeX Code:  A  is constant, so it (and LaTeX Code:  Asingle-quote  ) can be factored outside of the expectation. This is the same type of principal you use with random variables (think LaTeX Code:  E(5x) = 5E(x)  ).

For 2: Again, LaTeX Code:  Y  is a collection of constants, and addition of constants doesn't change the variance of a random variable. In a little more detail:

LaTeX Code: <BR>\\begin{align*}<BR>E(Y + B) & = \\mu_Y + B \\\\<BR>Var(Y+B) & = E[((Y+B) - (\\mu_Y + B))((Y+B) - (\\mu_Y+B))single-quote] \\\\<BR>& = E[(Y-\\mu_Y)(Y-\\mu_Y)single-quote] = Var[Y]<BR>\\end{align*}<BR>
  Reply With Quote
Old Jun16-09, 04:41 PM       Last edited by kingwinner; Jun16-09 at 04:47 PM..            #3
kingwinner

kingwinner is Offline:
Posts: 815
Re: Variance-covariance matrix of random vector

1) But how can we prove it rigorously in the general case of random matrices?
i.e. how can we prove that
E(AZ) = A E(Z)
and E(W A') = E(W) A' ?
where Z and W are any random matrices, and A is any constant matrix such that the product is defined

2) Thanks for the proof! Now I can see more rigorously why that property is true in the multivariate context.
  Reply With Quote
Old Jun16-09, 04:59 PM                  #4
EnumaElish
 
EnumaElish's Avatar

EnumaElish is Offline:
Posts: 2,217
Recognitions:
Homework Helper Homework Helper
Science Advisor Science Advisor
Re: Variance-covariance matrix of random vector

1) You could start with the 2x2 case then generalize; or use induction.
  Reply With Quote
Old Jun16-09, 05:16 PM                  #5
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Variance-covariance matrix of random vector

Originally Posted by kingwinner View Post
1) But how can we prove it rigorously in the general case of random matrices?
i.e. how can we prove that
E(AZ) = A E(Z)
and E(W A') = E(W) A' ?
where Z and W are any random matrices, and A is any constant matrix such that the product is defined

2) Thanks for the proof! Now I can see more rigorously why that property is true in the multivariate context.
Suppose your random matrix is (using the definition of matrix multiplication)

LaTeX Code: <BR>Z = \\begin{pmatrix} z_{11} & z_{12} & \\dots & z_{1k} \\\\<BR>z_{21} & z_{22} & \\hdots & z_{2k} \\\\<BR>\\ddots & \\ddots & \\ddots & \\ddots \\\\<BR>z_{m1} & z_{m2} & \\dots & z_{mk}<BR>\\end{pmatrix}<BR>

and that your constant matrix is LaTeX Code:  A  with similar notation for its entries.
The LaTeX Code: (r,t) entry of the matrix LaTeX Code:  AZ  is the random variable given by

LaTeX Code: <BR>\\sum_{l=1}^m a_{rl} z_{lt}<BR>

so the expected value of the LaTeX Code:  (r,t)  entry is

LaTeX Code: <BR>E\\left(\\sum_{l=1}^m a_{rl}z_{lt}\\right) = \\sum_{l=1}^m E\\left(a_{rl}z_{lt}\\right) = \\sum_{l=1}^m a_{rl} E\\left(z_{lt}\\right)<BR>

The second equality is true since each LaTeX Code:  a  value is a constant number and each LaTeX Code:  z  is a random variable , so the ordinary rules of expectation apply. What does the equation mean?

a) The left side is the expected value of the LaTeX Code:  (r,t)  entry in the matrix LaTeX Code:  AZ

b) The right side is the LaTeX Code:  (r,t) entry in the matrix product of LaTeX Code:  A  and the expected value of LaTeX Code:  Z  (call this LaTeX Code:  E(Z)  )

This shows that corresponding elements of LaTeX Code:  E(AZ)  and LaTeX Code:  A E(Z)  are equal, so

LaTeX Code: <BR>E(AZ) = A E(Z)<BR>


This type of approach works whether you have random variables or random vectors.
  Reply With Quote
Old Jun16-09, 05:34 PM                  #6
kingwinner

kingwinner is Offline:
Posts: 815
Re: Variance-covariance matrix of random vector

1) Once again, thanks for the great proof!

And I suppose the proof of E(W A') = E(W) A', with the constant matrix on the right of a random matrix W, can be done similarly, right?
  Reply With Quote
Old Jun16-09, 05:42 PM                  #7
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Variance-covariance matrix of random vector

Originally Posted by kingwinner View Post
1) Once again, thanks for the great proof!

And I suppose the proof of E(W A') = E(W) A', with the constant matrix on the right of a random matrix W, can be done similarly, right?
Yes, as can the derivations for the case of random and constant vectors.
  Reply With Quote
Old Jun16-09, 05:59 PM                  #8
kingwinner

kingwinner is Offline:
Posts: 815
Re: Variance-covariance matrix of random vector

I am trying to modify your proof to prove that E(ZA) = E(Z) A (assuming ZA is defined), but it doesn't seem to work out...

The LaTeX Code: (r,t) entry of the matrix LaTeX Code:  ZA  is the random variable given by

LaTeX Code: <BR>\\sum_{l=1}^m Z_{rl} a_{lt}<BR>

so the expected value of the LaTeX Code:  (r,t)  entry is

LaTeX Code: <BR>E\\left(\\sum_{l=1}^m Z_{rl}a_{lt}\\right) = \\sum_{l=1}^m E\\left(Z_{rl}a_{lt}\\right) = \\sum_{l=1}^m a_{lt} E\\left(Z_{rl}\\right)  <BR>


?????
  Reply With Quote
Old Jun16-09, 06:09 PM                  #9
statdad

statdad is Offline:
Posts: 703
Recognitions:
Homework Helper Homework Helper
Re: Variance-covariance matrix of random vector

[quote=kingwinner;2239839]I am trying to modify your proof to prove that E(ZA) = E(Z) A (assuming ZA is defined), but it doesn't seem to work out...

The LaTeX Code: (r,t) entry of the matrix LaTeX Code:  ZA  is the random variable given by

LaTeX Code: <BR>\\sum_{l=1}^m Z_{rl} a_{lt}<BR>

so the expected value of the LaTeX Code:  (r,t)  entry is

LaTeX Code: <BR>E\\left(\\sum_{l=1}^m Z_{rl}a_{lt}\\right) = \\sum_{l=1}^m E\\left(Z_{rl}a_{lt}\\right) = \\sum_{l=1}^m a_{lt} E\\left(Z_{rl}\\right)  <BR>

Remember you want the matrix LaTeX Code:  A  to appear on the right, so factor the constants to the right in the sum (it doesn't matter for constants and variables, but it will make reconstructing the matrix product easier). Also make sure you have the matrices' indexes organized correctly.
  Reply With Quote
Old Jun16-09, 06:27 PM                  #10
kingwinner

kingwinner is Offline:
Posts: 815
Re: Variance-covariance matrix of random vector

Thanks a lot, statdad! You are of great help!
  Reply With Quote
image image
Reply
Thread Tools


Similar Threads for: Variance-covariance matrix of random vector
Thread Thread Starter Forum Replies Last Post
Variance-Covariance Matrix cse63146 Calculus & Beyond 3 Apr17-09 11:55 PM
Covariance of Discrete Random Variables Shackman Calculus & Beyond 2 Apr9-09 10:54 AM
multiplying random value by variance + motivation JamesGoh Set Theory, Logic, Probability, Statistics 2 Apr8-09 07:15 PM
Coding Covariance Matrix (differential Riccati matrix eqn) of the Kalman-Bucy Filter nis13mo Engineering, Comp Sci, & Technology 0 Feb28-09 04:33 AM
Covariance of random sum jimmy1 Set Theory, Logic, Probability, Statistics 3 Jan1-08 07:50 PM

Powered by vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd. © 2009 Physics Forums
Sciam | physorgPhysorg.com Science News Partner
image
image   image