Solutions Exam 1 - Random Processes | ECE 534, Exams of Electrical and Electronics Engineering

Material Type: Exam; Class: Random Processes; Subject: Electrical and Computer Engr; University: University of Illinois - Urbana-Champaign; Term: Unknown 1989;

Typology: Exams

Pre 2010

Uploaded on 02/24/2010

koofers-user-rbw
koofers-user-rbw 🇺🇸

9 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Solutions to Exam 1
Problem 1 (12 points) Let A1, A2, . . . be a sequence of independent random variables, with
P[Ai= 1] = P[Ai=1
2] = 1
2for all i. Let Bk=A1· · · Ak.
(a) Does limk→∞ Bkexist in the m.s. sense? Justify your anwswer.
(b) Does limk→∞ Bkexist in the a.s. sense? Justify your anwswer.
(c) Let Sn=B1+. . .+Bn. You can use without proof (time is short!) the fact that limm,n→∞ E[SmSn] =
35
3,which implies that limn→∞ Snexists in the m.s. sense. Find the mean and variance of the limit
random variable.
(d) Does limn→∞ a.s. Snexist? Justify your anwswer.
(a) E[(Bk0)2] = E[A2
1]k= ( 5
8)k0 as k . Thus, limk→∞ m.s. Bk= 0.
(b) Each sample path of the sequence Bkis monotone nonincreasing and bounded below by zero, and is hence conver-
gent. Thus, limk→∞ a.s. Bkexists. (The limit has to b e the same as the m.s. limit, so Bkconverges to zero almost surely.)
(c) Mean square convergence implies convergence of the mean. Thus, the mean of the limit is limn→∞ E[Sn] = limn→∞ Pn
k=1 E[Bk] =
P
k=1(3
4)k= 3. By the property given in the problem statement, the second moment of the limit is 35
3, so the variance of
the limit is 35
332=8
3.
(d) Each sample path of the sequence Snis monotone nondecreasing and is hence convergent. Thus, limk→∞ a.s. Bk
exists. (The limit has to be the same as the m.s. limit.)
Here is a proof of the claim given in part (c) of the problem statement, although the proof was not asked for on the exam.
If jk, then E[BjBk] = E[A2
1···A2
jAj+1 ···Ak] = ( 5
8)j(3
4)kj, and a similar expression holds for jk. Therefore,
E[SnSm] = E[
n
X
j=1
Bj
n
X
k=1
Bk] =
n
X
j=1
n
X
k=1
E[BjBk]
X
j=1
X
k=1
E[BjBk]
= 2
X
j=1
X
k=j+1 5
8«j3
4«kj
+
X
j=1 5
8«j
= 2
X
j=1
X
l=1 5
8«j3
4«l
+
X
j=1 5
8«j
= (
X
j=1 5
8«j
)(2
X
l=1 3
4«l
+ 1)
=5
3(2 ·3 + 1) = 35
3
Problem 2 (12 points) Let X, Y , and Zbe random variables with finite second moments and suppose
Xis to be estimated. For each of the following, if true, give a brief explanation. If false, give a counter
example.
(a) TRUE or FALSE: E[|XE[X|Y]|2]E[|X
b
E[X|Y, Y 2]|2].
(b) TRUE or FALSE: E[|XE[X|Y]|2] = E[|X
b
E[X|Y, Y 2]|2] if Xand Yare jointly Gaussian.
(c) TRUE or FALSE? E[|XE[E[X|Z]|Y]|2]E[|XE[X|Y]|2].
(d) TRUE or FALSE? If E[|XE[X|Y]|2] = Var(X) then Xand Yare independent.
(a) TRUE. The estimator E[X|Y] yields a smaller MSE than any other function of Y, including b
E[X|Y, Y 2].
(b) TRUE. Equality holds because the unconstrained estimator with the smallest mean squre error, E[X|Y], is linear,
and the MSE for b
E[X|Y, Y 2] is less than or equal to the MSE of any linear estimator.
(c) FALSE. For example if Xis a nonconstant random variable, Y=X, and Z0, then, on one hand, E[X|Z] =
E[X], so E[E[X|Z]|Y] = E[X], and thus E[|XE[E[X|Z]|Y]|2] = Var(X).On the other hand, E[X|Y] = Xso that
E[|XE[X|Y]|2] = 0.
(d) FALSE. For example, suppose X=Y W , where Wis a random variable independent of Ywith mean zero and variance
one. Then given Y, the conditional distribution of Xhas mean zero and variance Y2. In particular, E[X|Y] = 0, so that
E[|XE[X|Y]|2] = Var(X), but Xand Yare not independent.
1
pf2

Partial preview of the text

Download Solutions Exam 1 - Random Processes | ECE 534 and more Exams Electrical and Electronics Engineering in PDF only on Docsity!

Solutions to Exam 1

Problem 1 (12 points) Let A 1 , A 2 ,... be a sequence of independent random variables, with

P [Ai = 1] = P [Ai = 12 ] = 12 for all i. Let Bk = A 1 · · · Ak.

(a) Does limk→∞ Bk exist in the m.s. sense? Justify your anwswer.

(b) Does limk→∞ Bk exist in the a.s. sense? Justify your anwswer.

(c) Let Sn = B 1 +.. .+Bn. You can use without proof (time is short!) the fact that limm,n→∞ E[SmSn] =

35

3 ,^ which implies that limn→∞^ Sn^ exists in the m.s. sense. Find the mean and variance of the limit

random variable.

(d) Does limn→∞ a.s. Sn exist? Justify your anwswer.

(a) E[(Bk − 0)^2 ] = E[A^21 ]k^ = ( 58 )k^ → 0 as k → ∞. Thus, limk→∞ m.s. Bk = 0. (b) Each sample path of the sequence Bk is monotone nonincreasing and bounded below by zero, and is hence conver- gent. Thus, limk→∞ a.s. Bk exists. (The limit has to be the same as the m.s. limit, so Bk converges to zero almost surely.) (c) Mean square convergence implies convergence of the mean. Thus, the mean of the limit is limn→∞ E[Sn] = limn→∞

Pn P∞ k=1^ E[Bk^ ] = k=1(^

3 4 )

k (^) = 3. By the property given in the problem statement, the second moment of the limit is 35 3 , so the variance of the limit is 353 − 32 = 83. (d) Each sample path of the sequence Sn is monotone nondecreasing and is hence convergent. Thus, limk→∞ a.s. Bk exists. (The limit has to be the same as the m.s. limit.)

Here is a proof of the claim given in part (c) of the problem statement, although the proof was not asked for on the exam. If j ≤ k, then E[Bj Bk ] = E[A^21 · · · A^2 j Aj+1 · · · Ak ] = ( 58 )j^ ( 34 )k−j^ , and a similar expression holds for j ≥ k. Therefore,

E[SnSm] = E[

X^ n

j=

Bj

Xn

k=

Bk ] =

X^ n

j=

X^ n

k=

E[Bj Bk ]

X^ ∞

j=

X^ ∞

k=

E[Bj Bk ]

X^ ∞

j=

X^ ∞

k=j+

«j „ 3 4

«k−j

X^ ∞

j=

«j

X^ ∞

j=

X^ ∞

l=

«j „ 3 4

«l

X^ ∞

j=

«j

X^ ∞

j=

«j )(

X^ ∞

l=

«l

Problem 2 (12 points) Let X, Y, and Z be random variables with finite second moments and suppose

X is to be estimated. For each of the following, if true, give a brief explanation. If false, give a counter

example.

(a) TRUE or FALSE: E[|X − E[X|Y ]|^2 ] ≤ E[|X − Ê [X|Y, Y 2 ]|^2 ].

(b) TRUE or FALSE: E[|X − E[X|Y ]|^2 ] = E[|X − Ê [X|Y, Y 2 ]|^2 ] if X and Y are jointly Gaussian.

(c) TRUE or FALSE? E[ |X − E[E[X|Z] |Y ]|^2 ] ≤ E[|X − E[X|Y ]|^2 ].

(d) TRUE or FALSE? If E[|X − E[X|Y ]|^2 ] = Var(X) then X and Y are independent.

(a) TRUE. The estimator E[X|Y ] yields a smaller MSE than any other function of Y , including Eb[X|Y, Y 2 ].

(b) TRUE. Equality holds because the unconstrained estimator with the smallest mean squre error, E[X|Y ], is linear, and the MSE for Eb[X|Y, Y 2 ] is less than or equal to the MSE of any linear estimator.

(c) FALSE. For example if X is a nonconstant random variable, Y = X, and Z ≡ 0, then, on one hand, E[X|Z] = E[X], so E[E[X|Z]|Y ] = E[X], and thus E[|X − E[E[X|Z]|Y ]|^2 ] = Var(X). On the other hand, E[X|Y ] = X so that

E[|X − E[X|Y ]|^2 ] = 0. (d) FALSE. For example, suppose X = Y W , where W is a random variable independent of Y with mean zero and variance

one. Then given Y , the conditional distribution of X has mean zero and variance Y 2. In particular, E[X|Y ] = 0, so that E[|X − E[X|Y ]|^2 ] = Var(X), but X and Y are not independent.

Problem 3 (6 points) Recall from a homework problem that if 0 < f < 1 and if Sn is the sum of n

independent random variables, such that a fraction f of the random variables have a CDF FY and a

fraction 1 − f have a CDF FZ , then the large deviations exponent for S nn is given by:

l(a) = max

θ

{θa − f MY (θ) − (1 − f )MZ (θ)}

where MY (θ) and MZ (θ) are the log moment generating functions for FY and FZ respectively.

Consider the following variation. Let X 1 , X 2 ,... , Xn be independent, and identically distributed, each

with CDF given by FX (c) = f FY (c) + (1 − f )FZ (c). Equivalently, each Xi can be generated by flipping

a biased coin with probability of heads equal to f , and generating Xi using CDF FY if heads shows

and generating Xi with CDF FZ if tails shows. Let S˜n = X 1 + · · · + Xn, and let ˜l denote the large

deviations exponent for

Sen

n.

(a) Express the function ˜l in terms of f , MY , and MZ.

(b) Determine which is true and give a proof: ˜l(a) ≤ l(a) for all a, or ˜l(a) ≥ l(a) for all a.

(a) el(a) = maxθ {θa − MX (θ)} where

MX (θ) = log E[exp(θX)] = log{f E[exp(θY )] + (1 − f )E[exp(θZ)]} = log{f exp(MY (θ)) + (1 − f ) exp(MZ (θ))}

(b) View f exp(MY (θ)) + (1 − f ) exp(MZ (θ)) as an average of exp(MY (θ)) and exp(MZ (θ)). The definition of con- cavity (or Jensen’s inequality) applied to the concave function log u implies that log(average) ≥ average(log), so that log{f exp(MY (θ))+(1−f ) exp(MZ (θ)) ≥ f MY (θ)+(1−f )MZ (θ), where we also used the fact that log exp MY (θ) = MY (θ). Therefore, el(a) ≤ l(a) for all a.

Remark: This means that Se nn is more likely to have large deviations than S nn. That is reasonable, because Se nn has

randomness due not only to FY and FZ , but also due to the random coin flips. This point is particularly clear in case the Y ’s and Z’s are constant, or nearly constant, random variables.