Chapter 1

Vectors of Random Variables

[18/89%]
Show
LaTeX
Problem 1.1

If XX and YY are random variables, prove that

Var⁡[X]=EY[Var⁡[X∣Y]]+Var⁡Y[E[X∣Y]] \operatorname {Var}\left[X\right] = \mathbb {E}_{Y}\left[\operatorname {Var}\left[X \mid Y\right]\right]+\operatorname {Var}_{Y}\left[\mathbb {E}\left[X \mid Y\right]\right]

Generalize this result to vectors X\mathbf{X} and Y\mathbf{Y} of random variables.

?
Problem 1.2

Let X=(X1,X2,X3)T\mathbf{X} = \left(X_{1}, X_{2}, X_{3}\right)^{T} with

Var⁡[X]=[523230303] \operatorname {Var}\left[\mathbf{X}\right] =\left[\begin{smallmatrix} 5 & 2 & 3 \\ 2 & 3 & 0 \\ 3 & 0 & 3 \end{smallmatrix}\right]
?
(a)

Find the variance of X1−2X2+X3X_{1}-2 X_{2}+X_{3}.

(b)

Find the variance matrix of Y=(Y1,Y2)T\mathbf{Y} = \left(Y_{1}, Y_{2}\right)^{T}, where Y1=X1+X2Y_{1} = X_{1}+X_{2} and Y2=X1+X2+X3Y_{2} = X_{1}+X_{2}+X_{3}.

Problem 1.3

Let X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} be random variables with a common mean μ\mu. Suppose that Cov⁡[Xi,Xj]=0\operatorname {Cov}\left[ X_{i}, X_{j} \right] = 0 for all ii and jj such that j>i+1j > i+1. If

Qi=∑i=1n(Xi−Xˉ)2 Q_{\mathrm{i}} = \sum _{i = 1}^{n}\left(X_{i}-\bar{X}\right)^{2}

and

Q2=(X1−X2)2+(X2−X3)2+⋯+(Xn−1−Xn)2+(Xn−X1)2 Q_{2} = \left(X_{1}-X_{2}\right)^{2}+\left(X_{2}-X_{3}\right)^{2}+\cdots +\left(X_{n-1}-X_{n}\right)^{2}+\left(X_{n}-X_{1}\right)^{2}

prove that

E[3Q1−Q2n(n−3)]=Var⁡[Xˉ] E\left[\frac{3 Q_{1}-Q_{2}}{n(n-3)}\right] = \operatorname {Var}\left[\bar{X}\right]
?
Problem 1.4

Given a random sample X1,X2,X3X_{1}, X_{2}, X_{3} from the distribution with density function

f(x)=12(−1≤x≤1) f(x) = \frac{1}{2} \quad (-1 \leq x \leq 1)

find the variance of (X1−X2)2+(X2−X3)2+(X3−X1)2\left(X_{1}-X_{2}\right)^{2}+\left(X_{2}-X_{3}\right)^{2}+\left(X_{3}-X_{1}\right)^{2}.

?
Problem 1.5

If X1,…,XnX_{1}, \ldots , X_{n} are independently and identically distributed as N(0,σ2)N\left(0, \sigma^{2}\right), and A\mathbf{A} and B\mathbf{B} are any n×nn \times n symmetric matrices, prove that

Cov⁡[XTAX,XTBX]=2σ4tr⁡(AB) \operatorname {Cov}\left[ \mathbf{X}^{T} \mathbf{A X}, \mathbf{X}^{T} \mathbf{B} \mathbf{X} \right] = 2 \sigma ^{4} \operatorname {tr}(\mathbf{A B})
?
Problem 1a.1

Prove that if a is a vector of constants with the same dimension as the random vector X\mathbf{X}, then

E[(X−a)(X−a)T]=Var⁡[X]+(E[X]−a)(E[X]−a)T \mathbb {E}\left[(\mathbf{X}-\mathbf{a})(\mathbf{X}-\mathbf{a})^{T}\right] = \operatorname {Var}\left[\mathbf{X}\right]+(\mathbb {E}\left[\mathbf{X}\right]-\mathbf{a})(\mathbb {E}\left[\mathbf{X}\right]-\mathbf{a})^{T}

If Var⁡[X]=Σ=(σij)\operatorname {Var}\left[\mathbf{X}\right] = \mathbf{\Sigma } = \left(\sigma_{i j}\right), deduce that

E[∥X−a∥2]=∑iσii+∥E[X]−a∥2 \mathbb {E}\left[\left\| \mathbf{X}-\mathbf{a}\right\| ^{2}\right] = \sum _{i} \sigma _{i i}+\left\| \mathbb {E}\left[\mathbf{X}\right]-\mathbf{a}\right\| ^{2}
?
Problem 1a.2

If X\mathbf{X} and Y\mathbf{Y} are m×1m \times 1 and n×1n \times 1 vectors of random variables, and a\mathbf{a} and b are m×1m \times 1 and n×1n \times 1 vectors of constants, prove that

Cov⁡[X−a,Y−b]=Cov⁡[X,Y] \operatorname {Cov}\left[ \mathbf{X}-\mathbf{a}, \mathbf{Y}-\mathbf{b} \right] = \operatorname {Cov}\left[ \mathbf{X}, \mathbf{Y} \right]
?
Problem 1a.3

Let X=(X1,X2,…,Xn)T\mathbf{X} = \left(X_{1}, X_{2}, \ldots , X_{n}\right)^{T} be a vector of random variables, and let Y1=X1,Yi=Xi−Xi−1(i=2,3,…,n)Y_{1} = X_{1}, Y_{i} = X_{i}-X_{i-1}(i = 2,3, \ldots , n). If the YiY_{i} are mutually independent random variables, each with unit variance, find Var⁡[X]\operatorname {Var}\left[\mathbf{X}\right].

?
Problem 1a.4

If X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} are random variables satisfying Xi+1=ρXi(i=1,2,…,n−1X_{i+1} = \rho X_{i} \quad (i = 1,2, \ldots , n-1), where ρ\rho is a constant, and Var⁡[X1]=σ2\operatorname {Var}\left[X_{1}\right] = \sigma^{2}, find Var⁡[X]\operatorname {Var}\left[\mathbf{X}\right].

?
Problem 1b.1

Suppose that X1,X2X_{1}, X_{2}, and X3X_{3} are random variables with common mean μ\mu and variance matrix

Var⁡[X]=σ2[10001140141] \operatorname {Var}\left[\mathbf{X}\right] = \sigma ^{2}\left[\begin{smallmatrix} 1 & 0 & 0 \\ 0 & 1 & \frac{1}{4} \\ 0 & \frac{1}{4} & 1 \end{smallmatrix}\right]

Find E[X12+2X1X2−4X2X3+X32]\mathbb {E}\left[X_{1}^{2}+2 X_{1} X_{2}-4 X_{2} X_{3}+X_{3}^{2}\right].

?
Problem 1b.2

If X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} are independent random variables with common mean μ\mu and variances σ12,σ22,…,σn2\sigma_{1}^{2}, \sigma_{2}^{2}, \ldots , \sigma_{n}^{2}, prove that ∑i(Xi−Xˉ)2/[n(n−1)]\sum_{i}\left(X_{i}-\bar{X}\right)^{2} /[n(n-1)] is an unbiased estimate of Var⁡[Xˉ]\operatorname {Var}\left[\bar{X}\right].

?
Problem 1b.3

Suppose that in Exercise 2 the variances are known. Let Xˉw=∑iwiXi\bar{X}_{w} = \sum_{i} w_{i} X_{i} be an unbiased estimate of μ\mu (i.e., ∑iwi=1\sum_{i} w_{i} = 1).

?
(a)

Prove that Var⁡[Xˉw]\operatorname {Var}\left[\bar{X}_{w}\right] is minimized when wi∝1/σi2w_{i} \propto 1 / \sigma_{i}^{2}. Find this minimum variance vmin v_{\text{min }}.

(b)

Let Sw2=∑iwi(Xi−Xˉw)2/(n−1)S_{w}^{2} = \sum_{i} w_{i}\left(X_{i}-\bar{X}_{w}\right)^{2} /(n-1). If wiσi2=a(i=1,2,…,n)w_{i} \sigma_{i}^{2} = a(i = 1,2, \ldots , n), prove that E[Sw2]\mathbb {E}\left[S_{w}^{2}\right] is an unbiased estimate of vmin v_{\text{min }}.

Problem 1b.4

The random variables X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} have a common nonzero mean μ\mu, a common variance σ2\sigma^{2}, and the correlation between any pair of random variables is ρ\rho.

?
(a)

Find Var⁡[Xˉ]\operatorname {Var}\left[\bar{X}\right] and hence prove that −1/(n−1)≤ρ≤1-1 /(n-1) \leq \rho \leq 1.

(b)

If

Q=a∑i=1nXi2+b(∑i=1nXi)2 Q = a \sum _{i = 1}^{n} X_{i}^{2}+b\left(\sum _{i = 1}^{n} X_{i}\right)^{2}

is an unbiased estimate of σ2\sigma^{2}, find aa and bb. Hence show that, in this case,

Q=∑i=1n(Xi−Xˉ)2(1−ρ)(n−1) Q = \sum _{i = 1}^{n} \frac{\left(X_{i}-\bar{X}\right)^{2}}{(1-\rho )(n-1)}
Problem 1b.5

Let X1,X2,…,XnX_{1}, X_{2}, \ldots , X_{n} be independently distributed as N(μ,σ2)N\left(\mu , \sigma^{2}\right). Define

S2=1n−1∑i=1n(Xi−Xˉ)2 S^{2} = \frac{1}{n-1} \sum _{i = 1}^{n}\left(X_{i}-\bar{X}\right)^{2}

and

Q=12(n−1)∑i=1n−1(Xi+1−Xi)2 Q = \frac{1}{2(n-1)} \sum _{i = 1}^{n-1}\left(X_{i+1}-X_{i}\right)^{2}
?
(a)

Prove that Var⁡[S2]=2σ4/(n−1)\operatorname {Var}\left[S^{2}\right] = 2 \sigma^{4} /(n-1).

(b)

Show that QQ is an unbiased estimate of σ2\sigma^{2}.

(c)

Find the variance of QQ and hence show that as n→∞n \rightarrow \infty, the efficiency of QQ relative to S2S^{2} is 23\frac{2}{3}.

Problem 1c.1

If XX and YY are random variables with the same variance, prove that Cov⁡[X+Y,X−Y]=0\operatorname {Cov}\left[ X+Y, X-Y \right] = 0. Give a counterexample which shows that zero covariance does not necessarily imply independence.

?
Problem 1c.2

Let XX and YY be discrete random variables taking values 0 or 1 only, and let pr⁡(X=i,Y=j)=pij(i=1,0;j=1,0)\operatorname {pr}(X = i, Y = j) = p_{i j}(i = 1,0 ; j = 1,0). Prove that XX and YY are independent if and only if Cov⁡[X,Y]=0\operatorname {Cov}\left[ X, Y \right] = 0.

?
Problem 1c.3

If XX is a random variable with a density function symmetric about zero and having zero mean, prove that Cov⁡[X,X2]=0\operatorname {Cov}\left[ X, X^{2} \right] = 0.

?
Problem 1c.4

If X,YX, Y and ZZ have joint density function

f(x,y,z)=18(1+xyz)(−1≤x,y,z≤1) f(x, y, z) = \frac{1}{8}(1+x y z) \quad (-1 \leq x, y, z \leq 1)

prove that they are pairwise independent but not mutually independent.

?