Home page for accesible maths 7 Linear transformations

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

7.3 Expectations of Linear Transformations

We are interested in a linear combination of the components of a multivariate random variable 𝑿=(X1,…,Xn). That is

Y=𝒂′⁢𝑿=a1⁢X1+a2⁢X2+…+an⁢Xn

where 𝒂′=(a1,…,an) is a vector of known constants.

Since expectation is linear the expectation of Y is given by

𝖤⁡[Y]=a1⁢𝖤⁡[X1]+a2⁢𝖤⁡[X2]+…+an⁢𝖤⁡[Xn]=𝒂′⁢𝖤⁡[𝑿].

This holds whatever the dependence structure between the variables is.

An important special case is the formula for the expectation of the mean X¯=1n⁢∑i=1nXi

𝖤⁡[X¯]=𝖤⁡[1n⁢∑i=1nXi]=1n⁢∑i=1n𝖤⁡[Xi].

The expectation of the mean is the mean of the expectations.

In vector notation X¯=1n⁢𝟏′⁢𝑿 and 𝖤⁡[X¯]=1n⁢𝟏′⁢𝖤⁡[𝑿] where 𝟏′ is a vector of ones.

Example 7.3.1.

X1,…,Xn are independent and for i=1,…,n, Xi∼N⁢(1/i,1/i); what is 𝖤⁡[∑i=1ni⁢Xi]? Do the Xi need to be independent for this result to always hold?

Solution. 

𝖤⁡[∑i=1ni⁢Xi]=∑i=1ni⁢𝖤⁡[Xi]=∑i=1ni/i=n.

Independence is not required.

Several linear transformations Now consider the product of a fixed m×n matrix A and an n×t random matrix W. By the definition of matrix expectation, matrix multiplication and then the linearity of expectation,

𝖤[AW]i⁢j=𝖤[(AW)i⁢j]=𝖤[∑k=1nAi⁢kWk⁢j]=∑k=1nAi⁢k𝖤[Wk⁢j]=∑k=1nAi⁢k𝖤[W]k⁢j=[A𝖤[W]]i⁢j.

i.e. 𝖤⁡[A⁢W]=A⁢𝖤⁡[W], as might be expected. Similarly 𝖤⁡[W′⁢A′]=𝖤⁡[W′]⁢𝖤⁡[A′].

Now suppose that we are interested in Y1=𝒂1′⁢𝑿, Y2=𝒂2′⁢𝑿, …, Ym=𝒂m′⁢𝑿. In other words, 𝒀=A⁢𝑨 where

A=[𝒂1′𝒂2′…𝒂m′].

Since a random vector is a random matrix, 𝖤⁡[A⁢𝑿]=A⁢𝖤⁡[𝑿].