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=𝒂𝑿=a1X1+a2X2++anXn

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¯=1ni=1nXi

𝖤[X¯]=𝖤[1ni=1nXi]=1ni=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, XiN(1/i,1/i); what is 𝖤[i=1niXi]? Do the Xi need to be independent for this result to always hold?

Solution. 

𝖤[i=1niXi]=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]ij=𝖤[(AW)ij]=𝖤[k=1nAikWkj]=k=1nAik𝖤[Wkj]=k=1nAik𝖤[W]kj=[A𝖤[W]]ij.

i.e. 𝖤[AW]=A𝖤[W], as might be expected. Similarly 𝖤[WA]=𝖤[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𝖤[𝑿].