TheoremBase

Rules for Expectations, Variances and Covariances

Expectation is linear and monotone, gives probabilities of events and fixes constants, and commutes with affine functions of random vectors; variance and covariance obey the usual second-moment formulas, and covariance matrices are symmetric positive semidefinite and transform as A Cov(X) Aᵀ under affine functions.

Statement

In the setting of Probability Spaces: Notation, let m,n,r,s∈Nm,n,r,s\in\mathbb{N}.

Events. For every event BB,

E 1B=P(B).\mathbb{E}\,\mathbf{1}_{B}=P(B).

Constants. For every c∈Rc\in\mathbb{R}, the constant random variable cc is integrable and E c=c\mathbb{E}\,c=c.

Linearity. Let X,Y∈L1(P)X,Y\in\mathcal{L}^{1}(P) and a,b∈Ra,b\in\mathbb{R}. Then aX+bY∈L1(P)aX+bY\in\mathcal{L}^{1}(P) and

E(aX+bY)=a EX+b EY.\mathbb{E}(aX+bY)=a\,\mathbb{E}X+b\,\mathbb{E}Y.

Monotonicity. Let X,Y∈L1(P)X,Y\in\mathcal{L}^{1}(P) with X≤YX\le Y. Then EX≤EY\mathbb{E}X\le\mathbb{E}Y.

Absolute value. Let X∈L1(P)X\in\mathcal{L}^{1}(P). Then ∣X∣∈L1(P)|X|\in\mathcal{L}^{1}(P) and

∣EX∣≤E∣X∣.|\mathbb{E}X|\le\mathbb{E}|X|.

Affine functions of random vectors. Let XX be an integrable random vector in Rn\mathbb{R}^{n}, A∈Rm×nA\in\mathbb{R}^{m\times n} and b∈Rmb\in\mathbb{R}^{m}. Then AX+bAX+b is integrable and

E(AX+b)=A EX+b.\mathbb{E}(AX+b)=A\,\mathbb{E}X+b.

Covariance and variance formulas. Let X,Y∈L2(P)X,Y\in\mathcal{L}^{2}(P). Then XY∈L1(P)XY\in\mathcal{L}^{1}(P) and

Cov⁡(X,Y)=E[XY]−EX EY,Var⁡X=E[X2]−(EX)2.\operatorname{Cov}(X,Y)=\mathbb{E}[XY]-\mathbb{E}X\,\mathbb{E}Y,\qquad\operatorname{Var}X=\mathbb{E}[X^{2}]-(\mathbb{E}X)^{2}.

Variances are nonnegative. Let X∈L2(P)X\in\mathcal{L}^{2}(P). Then Var⁡X≥0\operatorname{Var}X\ge0.

Variance of an affine function. Let X∈L2(P)X\in\mathcal{L}^{2}(P) and a,b∈Ra,b\in\mathbb{R}. Then aX+b∈L2(P)aX+b\in\mathcal{L}^{2}(P) and

Var⁡(aX+b)=a2Var⁡X.\operatorname{Var}(aX+b)=a^{2}\operatorname{Var}X.

Covariance is symmetric and bilinear. Let X,Y,Z∈L2(P)X,Y,Z\in\mathcal{L}^{2}(P) and a,b,c∈Ra,b,c\in\mathbb{R}. Then, for the constant random variable cc,

Cov⁡(X,Y)=Cov⁡(Y,X),Cov⁡(aX+bY,Z)=aCov⁡(X,Z)+bCov⁡(Y,Z),Cov⁡(X,c)=0.\operatorname{Cov}(X,Y)=\operatorname{Cov}(Y,X),\qquad\operatorname{Cov}(aX+bY,Z)=a\operatorname{Cov}(X,Z)+b\operatorname{Cov}(Y,Z),\qquad\operatorname{Cov}(X,c)=0.

Covariance matrices as expectations. Let X∈L2(P;Rn)X\in\mathcal{L}^{2}(P;\mathbb{R}^{n}) and Y∈L2(P;Rr)Y\in\mathcal{L}^{2}(P;\mathbb{R}^{r}). Then XX and YY are integrable, (X−EX)(Y−EY)⊤(X-\mathbb{E}X)(Y-\mathbb{E}Y)^{\top} is integrable, and

Cov⁡(X,Y)=E[(X−EX)(Y−EY)⊤],Cov⁡(X)=Cov⁡(X,X).\operatorname{Cov}(X,Y)=\mathbb{E}\bigl[(X-\mathbb{E}X)(Y-\mathbb{E}Y)^{\top}\bigr],\qquad\operatorname{Cov}(X)=\operatorname{Cov}(X,X).

Covariance matrices are positive semidefinite. Let X∈L2(P;Rn)X\in\mathcal{L}^{2}(P;\mathbb{R}^{n}). Then Cov⁡(X)\operatorname{Cov}(X) is symmetric and positive semidefinite.

Covariance of affine functions. Let X∈L2(P;Rn)X\in\mathcal{L}^{2}(P;\mathbb{R}^{n}), Y∈L2(P;Rr)Y\in\mathcal{L}^{2}(P;\mathbb{R}^{r}), A∈Rm×nA\in\mathbb{R}^{m\times n}, b∈Rmb\in\mathbb{R}^{m}, C∈Rs×rC\in\mathbb{R}^{s\times r} and d∈Rsd\in\mathbb{R}^{s}. Then AX+b∈L2(P;Rm)AX+b\in\mathcal{L}^{2}(P;\mathbb{R}^{m}), CY+d∈L2(P;Rs)CY+d\in\mathcal{L}^{2}(P;\mathbb{R}^{s}), and

Cov⁡(AX+b, CY+d)=ACov⁡(X,Y) C⊤,Cov⁡(AX+b)=ACov⁡(X) A⊤.\operatorname{Cov}(AX+b,\,CY+d)=A\operatorname{Cov}(X,Y)\,C^{\top},\qquad\operatorname{Cov}(AX+b)=A\operatorname{Cov}(X)\,A^{\top}.

Second-moment matrix. Let X∈L2(P;Rn)X\in\mathcal{L}^{2}(P;\mathbb{R}^{n}). Then XX⊤XX^{\top} is integrable and

Cov⁡(X)=E[XX⊤]−(EX)(EX)⊤.\operatorname{Cov}(X)=\mathbb{E}[XX^{\top}]-(\mathbb{E}X)(\mathbb{E}X)^{\top}.

Proofs

Log in to submit a proof.

Loading...

Citations

Loading…

Dependencies

Loading…

Related

0 relations

Curated associations between results. These are editable and subjective — they do not replace the dependency graph, which is derived from the references in the text.

No relations recorded yet.

Comments

Log in to comment.

Loading…