Covariance of partitioned linear combination

In summary: The top two elements are zero because there is no covariance between a scalar and a vector. The bottom left element is the covariance between two scalars. The bottom right element is the covariance between two vectors.
  • #1
showzen
34
0

Homework Statement


Given random vector ##X'=[X_1,X_2,X_3,X_4]## with mean vector ##\mu '_X=[4,3,2,1]## and covariance matrix
$$\Sigma_X=\begin{bmatrix}
3&0&2&2\\
0&1&1&0\\
2&1&9&-2\\
2&0&-2&4
\end{bmatrix}.$$
Partition ##X## as
$$X=\begin{bmatrix}
X_1\\X_2\\\hline X_3\\X_4\end{bmatrix}
=\begin{bmatrix}
X^{(1)}\\\hline X^{(2)}\end{bmatrix}.$$
Let ##A=[1,2]## and ##B=\begin{bmatrix}1&-2\\2&-1\end{bmatrix}##. Find Cov##(AX^{(1)},BX^{(2)})##.

Homework Equations


Cov##(CX)=C\Sigma_X C'##
Cov##(X^{(1)},X^{(2)})=\Sigma_{12}##

The Attempt at a Solution


Cov(##AX^{(1)},BX^{(2)})=A\Sigma_{12}B'=[1,2]\begin{bmatrix}2&2\\1&0\end{bmatrix}\begin{bmatrix}1&2\\-2&-1\end{bmatrix}=[0,6]##

Although I have arrived at an answer, I do not know how to interpret it. We have scalar ##AX^{(1)}## and vector ##BX^{(2)}##, and we arrive at row vector covariance?
 
Physics news on Phys.org
  • #2
in general, nice use of latex here. One nitpick: ##\text{Cov}(C \mathbf X)=C\Sigma_X C^T## is wrong. It should read ##\text{Cov}(C \mathbf X, C \mathbf X)=C\Sigma_X C^T## -- the idea of covariance with one argument only doesn't make much sense. The idea more generally here is that ##\text{Cov}(C \mathbf X, D \mathbf X)=C\Sigma_X D^T##. In general a non-symmetric covariance matrix can irk me a bit so I get your question on how it can be a (row) vector result.

The idea here is suppose you have a scalar random variable ##Y_1## and a vector of

##
\mathbf Y = \begin{bmatrix}
Y_2\\
Y_3
\end{bmatrix}##

so the covariance of ##\text{cov}(Y_1, \mathbf Y)## is just covariance of ##Y_1, Y_2## and also covariance of ##Y_1, Y_3##. Collect these results in a vector -- that's it.

- - - -

Another way to approach this problem, would be to use

##A := \left[\begin{matrix}1 & 2 & 0 & 0\\0 & 0 & 0 & 0\\0 & 0 & 0 & 0\\0 & 0 & 0 & 0\end{matrix}\right]##

and

## B := \left[\begin{matrix}0 & 0 & 0 & 0\\0 & 0 & 0 & 0\\0 & 0 & 1 & -2\\0 & 0 & 2 & -1\end{matrix}\right]##

now apply

##\text{Cov}(A \mathbf X, B \mathbf X) = A \text{Cov}( \mathbf X, \mathbf X) B^T = A \Sigma_X B^T=
\left[\begin{matrix}0 & 0 & 0 & 6\\0 & 0 & 0 & 0\\0 & 0 & 0 & 0\\0 & 0 & 0 & 0\end{matrix}\right]
##

and you can just read off the result. E.g. the covariance of the scalar ##\big(A \mathbf X\big)_1## with scalar ##\big(B \mathbf X\big)_4## is given in the top right corner of the resulting matrix. At the end of the day you're interested in that and ##\big( A\mathbf X\big)_1## with scalar ##\big(B \mathbf X\big)_3## which is given in row 1, column 3, and of course is zero.
 
  • #3
I would interpret it this way: ##U = AX^{(1)}## is a linear combination of the elements of ##X^{(1)}##, which results in a scalar. ##V = BX^{(2)}## is a a pair of linear combinations of the elements of ##X^{(2)}##, which results in a column vector, ##V = \begin{bmatrix}
V_1 \\
V_2
\end{bmatrix}##. Then $$Cov(AX^{(1)}, BX^{(21)}) = Cov(U, V) =
\begin{bmatrix}
Cov(U, V_1) &
Cov(U, V_2)
\end{bmatrix}
$$.
 
Last edited:
  • #4
Thanks everyone for your help. I see now that the answer is a matrix with elements that are the covariance between ##AX^{(1)}## and the elements of ##BX^{(2)}##.
 

FAQ: Covariance of partitioned linear combination

What is the definition of covariance of partitioned linear combination?

The covariance of partitioned linear combination is a measure of how two sets of variables change together. It measures the extent to which the values of one set of variables increase or decrease in relation to the values of the other set of variables.

How is covariance of partitioned linear combination calculated?

The covariance of partitioned linear combination is calculated by multiplying the differences between each pair of corresponding values in the two sets of variables and then dividing by the total number of observations.

What does a positive covariance of partitioned linear combination indicate?

A positive covariance of partitioned linear combination indicates that the two sets of variables have a positive relationship, meaning that as one set of variables increases, the other set tends to increase as well.

What does a negative covariance of partitioned linear combination indicate?

A negative covariance of partitioned linear combination indicates that the two sets of variables have a negative relationship, meaning that as one set of variables increases, the other set tends to decrease.

How is covariance of partitioned linear combination used in statistical analysis?

The covariance of partitioned linear combination is used in statistical analysis to determine the strength and direction of the relationship between two sets of variables. It is also used to calculate other measures such as correlation coefficients and regression equations.

Similar threads

Replies
2
Views
1K
Replies
10
Views
2K
Replies
12
Views
2K
Replies
12
Views
2K
Replies
5
Views
2K
Replies
5
Views
2K
Replies
3
Views
1K
Back
Top