Calculating Covariance with a Random Vector

ElijahRockers
Gold Member
Messages
260
Reaction score
10

Homework Statement


Let ##X## be a random variable such that ##\mu_X = 0## and ##K_{XX} = I##.
Find ##Cov(a^T X, b^T X)## for ##a = (1, 1, 0, 0)## and ##b = (0, 1, 1, 0)##.

The Attempt at a Solution


I guess I am assuming that ##X## is a 4 element random vector. I can't know values of the random variables, but I know their mean, and I think from ##K_{XX} = I## that
##E[X_i X_j] = 0, i≠ j##
##E[X_i X_j] = 1, i= j##

So..

##a^T X = X_1 + X_2 = A##
##b^T X = X_2 + X_3 = B##
##Cov(A,B) = E[AB]-E[A]E[ B]##

##E[A]## and ##E[ B]## are 0, so

##Cov(A,B) = E[AB] = E[X_1 X_2 + X_1 X_3 + X_2 X_2 + X_2 X_3]##

From ##K_{XX}##, ##E[AB] = E[X_2 X_2] = 1 = Cov(A,B)##

Not sure if this is correct or not.
 
Physics news on Phys.org
ElijahRockers said:

Homework Statement


Let ##X## be a random variable such that ##\mu_X = 0## and ##K_{XX} = I##.
Find ##Cov(a^T X, b^T X)## for ##a = (1, 1, 0, 0)## and ##b = (0, 1, 1, 0)##.

The Attempt at a Solution


I guess I am assuming that ##X## is a 4 element random vector. I can't know values of the random variables, but I know their mean, and I think from ##K_{XX} = I## that
##E[X_i X_j] = 0, i≠ j##
##E[X_i X_j] = 1, i= j##

So..

##a^T X = X_1 + X_2 = A##
##b^T X = X_2 + X_3 = B##
##Cov(A,B) = E[AB]-E[A]E[ B]##

##E[A]## and ##E[ B]## are 0, so

##Cov(A,B) = E[AB] = E[X_1 X_2 + X_1 X_3 + X_2 X_2 + X_2 X_3]##

From ##K_{XX}##, ##E[AB] = E[X_2 X_2] = 1 = Cov(A,B)##

Not sure if this is correct or not.

It is correct if your interpretation of ##K_{XX}## is correct (which I cannot speak to because the notation is unfamiliar to me).
 
Ray Vickson said:
It is correct if your interpretation of ##K_{XX}## is correct (which I cannot speak to because the notation is unfamiliar to me).
##K_{XX}## is the covariance matrix of ##X##, where ##K_{XX_{i,j}} = E[X_i X_j] - E[X_i]E[X_j]## is each element in the matrix... I believe.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...

Similar threads

Back
Top