The Covariance matrix is a matrix which contains the covariance for each possible combination of variables.

Let’s say we have a bidimensional dataset, then the covariance matrix will be:

Note that on the diagonal, we always have the covariance of a variable with itself, which is just the variance. In other words: .

Since the covariance has the commutative property (i.e. ), the covariance matrix is symmetric.


statistics resources: