Covariance Matrix

The covariance matrix for a random vector is the matrix defined as:

The covariance matrix captures the variance of each random variable and the covariance between different random variables. The diagonal entries of the covariance matrix represent the variance of each random variable, while the off-diagonal entries represent the covariance between pairs of random variables.