9
$\begingroup$

I'm wondering if someone could help to explain the difference between two covariance matrices. Suppose that ${\bf K}_X$ and ${\bf K}_Y$ are two covariance matrices of real random vectors.

What is the difference between ${\bf K}_X+{\bf K}_Y$ and ${\bf K}_{X+Y}$?

$\endgroup$
6
  • 9
    $\begingroup$ They are different because ${\bf K}_X + {\bf K}_Y$ is the sum of two covariance matrices while ${\bf K}_{X+Y}$ is the covariance matrix of the random variable $X+Y$. To see why the two matrices are different, use the bilinearity of covariance to see that $$ [{\bf K}_{X + Y}]_{ij} = [{\bf K}_{X}]_{ij} + [{\bf K}_{Y}]_{ij} + {\rm cov}(X_i, Y_j) + {\rm cov}(X_j, Y_i) $$ i.e. the cross-covariances are missing from ${\bf K}_X + {\bf K}_Y$ (note I assume $X,Y$ are of equal dimension to ensure that question makes sense). $\endgroup$
    – Macro
    Commented Jan 2, 2013 at 16:53
  • 4
    $\begingroup$ Thanks for the response. Am I right to assume then, that if X and Y are independent random variables, then: ${\bf K}_{X+Y}$ = ${\bf K}_X$ + ${\bf K}_Y$ since the covariance of the independent variables is zero? $\endgroup$
    – nomad2986
    Commented Jan 2, 2013 at 17:13
  • $\begingroup$ Yes, that's correct. $\endgroup$
    – Macro
    Commented Jan 2, 2013 at 19:35
  • 1
    $\begingroup$ @Macro Please consider re-posting your comments as a reply. $\endgroup$
    – whuber
    Commented Jan 2, 2013 at 21:27
  • 2
    $\begingroup$ @Macro Please bear in mind that comments are intended as vehicles to request clarification (and to provide clarification), not as a means to post answers to "simple" questions. No matter how simple the question or the answer, please use the answering mechanism to post your answers. That will help reduce our rate of "unanswered" questions, something that is of concern to the SE team. $\endgroup$
    – whuber
    Commented Jan 3, 2013 at 15:30

1 Answer 1

11
$\begingroup$

While searching through unanswered questions I noticed this one again and decided, in agreement with whuber, that keeping essentially answered questions off of the unanswered tab is higher priority than my own personal preferences about what is "worthy" of answer vs. comment status, so I pasted my comment as an answer.

They are different because ${\bf K}_{X} + {\bf K}_Y$ is the sum of two covariance matrices while ${\bf K}_{X+Y}$ is the covariance matrix of the random variable $X+Y$. To see why the two matrices are different, use the bilinearity of covariance to see that

$$ [{\bf K}_{X+Y}]_{ij}=[{\bf K}_{X}]_{ij} +[{\bf K}_{Y}]_{ij}+ {\rm cov}(X_i,Y_j)+{\rm cov}(X_j,Y_i)$$

i.e. the cross-covariances are missing from ${\bf K}_{X} + {\bf K}_Y$ (note I assume $X,Y$ are of equal dimension to ensure that question makes sense). So, ${\bf K}_{X+Y}$ is the covariance matrix of $X+Y$ and ${\bf K}_{X} + {\bf K}_Y$ represents the special case where ${\rm cov}(X_i,Y_j)=-{\rm cov}(X_j,Y_i)$ for each pair $(i,j)$, the most notable example being when every element of $X$ is uncorrelated with every element of $Y$.

$\endgroup$
2
  • 3
    $\begingroup$ (+1) I'm glad you turned this into an answer. Note that, strictly speaking, the uncorrelated case is a subcase of $\mathbf K_{X+Y} = \mathbf K_X + \mathbf K_Y$. (Counterexamples, e.g., in the bivariate situation, are easy to construct.) $\endgroup$
    – cardinal
    Commented Jan 14, 2013 at 18:12
  • $\begingroup$ @Macro: Please see request for information about CV.SE work here. $\endgroup$
    – Ben
    Commented Aug 27, 2021 at 6:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.