Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

Working with the generalized covariance formula for vector, $x$, I have: $E[(x-\mu)(x-\mu)^T)] = E(xx^t) - \mu E(x^T)$

But the term $E(x^T)$ doesn't make much sense to me. Does anyone have an idea why I'm getting this term with my matrix algebra?

share|improve this question

1 Answer

The short answer is "yes", $E(x^T) = E(x)^T=\mu^T$. Your full expression will be:

$E[(x−μ)(x−μ)^T)]=E(xx^T)−μE(x^T)-E(x)\mu^T+\mu\mu^T = E(xx^T)-\mu\mu^T$

The expectation operator doesn't care about the shape of the vector or matrix it operates on.

share|improve this answer
Thanks, can you give me a direction for the long answer or a reference? I'm very curious about the fundamental reason. – Swiss Army Man Jan 10 '12 at 18:21
1  
Looking at the simplest non-trivial example can help. For instance, when $\mathbf{x}$ is a row vector of length 2, say with components $x_1$ and $x_2$, then $\mathbf{x}^t$ is a column vector of length 2 with components $x_1$ and $x_2$. The expectations are $E[x_1]$ and $E[x_2]$: these are the components of $E[\mathbf{x}]$ and $E[\mathbf{x}^t]$; the only difference is that in the first case they are arranged side-by-side in the row vector and in the second they are arranged top-to-bottom in the column vector. – whuber Jan 10 '12 at 18:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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