variancecovariance
The variance-covariance matrix, commonly called the covariance matrix, is a key object in multivariate statistics that summarizes how a set of random variables vary together. For a k-dimensional random vector X = (X1, ..., Xk) with mean μ, the covariance matrix is Σ = Cov(X) with elements Σ_ij = Cov(X_i, X_j) = E[(X_i − μ_i)(X_j − μ_j)]. The diagonal entries Σ_ii are the variances Var(X_i).
Properties of Σ include that it is symmetric and positive semidefinite. If the variables are independent, the
Transformations and estimation: For a linear transformation Y = AX + b, Cov(Y) = A Σ A^T. The sample covariance
Relation to correlation: The correlation matrix R is obtained by standardizing Σ: R_ij = Σ_ij / sqrt(Σ_ii Σ_jj). R
Applications: The variance-covariance matrix underpins multivariate normal modeling, portfolio optimization in finance, principal component analysis, and