Moments of Random Variables
Also Mean and Variance · Mean and Covariance · Momente
Expected value, variance, covariance, correlation and covariance matrix as summaries of random variables and vectors, how they transform under linear maps, and how independence simplifies them.
Concepts#
- Expected Valuethe linear operator behind all moments start here
- Variancethe spread of one variable
- Covariancethe joint spread of two variables
- Correlationcovariance normalized to
- Covariance Matrixall variances and covariances of a random vector
- Multivariate Normal Distributionthe distribution that is fully described by mean and covariance matrix
How it fits together#
One operator, three levels. All moments are expectations of products of centred variables:
| Level | Second moment | Shortcut formula |
|---|---|---|
| one variable | ||
| two variables | ||
| random vector |
Each row contains the one above it: , and has the variances on its diagonal and the covariances off it. All three shortcut formulas come from the same step: expand the product and pull the constant means out of by linearity.
Linear maps transform the moments predictably, nonlinear maps don’t.
- , , and in vector form , .
- For nonlinear , . The gap is the variance: . This one identity explains why the least squares and simple approach estimators in MSI are biased (a appears where the noise enters squared), see Resistance Estimation Example.
Independence ⇒ uncorrelated ⇒ products factorize. Independent variables have , hence zero covariance and correlation. This is the workhorse in computations with many measurements: in , the squares contribute each and the cross terms only , which gives the variance of the Sample Mean. The converse fails: zero correlation only rules out linear dependence (except for jointly Gaussian variables).
Units and normalization. The covariance carries the product of the units, so its size is not comparable across pairs of variables. The Correlation divides by both standard deviations and lands in , with for exact linear relations.
Why matrices. For a parameter vector the uncertainty of an estimate is not one number: errors in different components can be correlated. The covariance matrix is symmetric positive semidefinite, and “smaller uncertainty” becomes the matrix inequality (Point Estimation).
Key Formulas#
Lectures#
- No write-up yet. MSI covers this material in script §2.2.1, §2.2.4 and §2.3 (MSI Slides 02 (not published)), planned for the lectures of 2026-10-21 and 2026-10-28.
Related Topics#
- Random Variables and Distributions — the densities these moments summarize
- Point Estimation — bias is a statement about the mean of an estimate, performance about its covariance