Docsity

6 Problems with Solutions on Random Processes - Midterm Exam 1 | ECE 534, Exams of Electrical and Electronics Engineering

Toggle sidebar
bg1
ECE 534 Random Processes Instructor: R. Srikant
Midterm Exam I
Each problem is worth 20 points. There are five problems. 7:00-8:30 pm
One sheet (two pages) of notes are allowed.
No calculators or other electronic devices are allowed.
1. Consider the joint p.d.f.
fXY (x, y) = 1
2if x, y ≥0 and x+y≤2,
0 else
(a) Find the optimal MMSE estimator of Xgiven Y.
The optimal MMSE estimator of Xgiven Yis E[X|Y]. However, conditioned on Y=y,Xis uniform over
[0,2−y]. Therefore, E[X|Y] = 2−Y
2is the optimal MMSE estimator.
(b) Find the optimal linear MMSE estimator of Xgiven Y.
Since the optimal estimator found above is affine in Y, it is also the optimal linear MMSE estimator.
(c) Find the optimal purely linear estimator of Xgiven Y. In other words, find an estimator ˆ
Xof the form
ˆ
X=aY such that EX−ˆ
X2is minimized.
Using the orthogonality principle, we know that we have find an asuch that E[(X−aY )Y] = 0. Therefore,
the optimal estimator is ˆ
X=aY , where
a=E[XY ]
E[Y2].
Now,
E[XY ] = Z2
0Z2−y
0
1
2xydxdy
=1
3and
E[Y2] = Z2
0Z2−y
0
1
2y2dxdy
=2
3.
Therefore, the optimal estimator is ˆ
X=1
2Y.
1
pf3
pf4
pf5

Partial preview of the text

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

ECE 534 Random Processes Instructor: R. Srikant

Midterm Exam I

Each problem is worth 20 points. There are five problems. 7:00-8:30 pm

One sheet (two pages) of notes are allowed.

No calculators or other electronic devices are allowed.

  1. Consider the joint p.d.f.

fXY (x, y) =

2 if^ x, y^ ≥^0 and^ x^ +^ y^ ≤^2 , 0 else

(a) Find the optimal MMSE estimator of X given Y.

The optimal MMSE estimator of X given Y is E[X|Y ]. However, conditioned on Y = y, X is uniform over [0, 2 − y]. Therefore, E[X|Y ] = 2 − 2 Y is the optimal MMSE estimator.

(b) Find the optimal linear MMSE estimator of X given Y.

Since the optimal estimator found above is affine in Y , it is also the optimal linear MMSE estimator.

(c) Find the optimal purely linear estimator of X given Y. In other words, find an estimator Xˆ of the form

Xˆ = aY such that E

[(

X − Xˆ

) 2 ]

is minimized.

Using the orthogonality principle, we know that we have find an a such that E[(X − aY )Y ] = 0. Therefore, the optimal estimator is Xˆ = aY , where

a =

E[XY ]

E[Y 2 ]

Now,

E[XY ] =

0

∫ (^2) −y

0

xydxdy

and

E[Y 2 ] =

0

∫ (^2) −y

0

y^2 dxdy

Therefore, the optimal estimator is Xˆ = 12 Y.

  1. Let X 1 , X 2 ,... be a sequence of i.i.d. Poisson random variables with mean λ.

(a) Let Yn = X 1 X 2... Xn. Does Yn converge almost surely in the limit as n → ∞? If so, what is the limiting random variable Y = lim n→∞ Yn a.s.?

Yes, Yn converges almost surely to 0 in the limit as n → ∞. Note that

P [ lim n→∞ Yn 6 = 0] = P [ lim n→∞ Sn],

where Sn = {ω : none of X 1 (ω), X 2 (ω),... , Xn(ω) are 0}. Now, Sn is a decreasing sequence of events, and therefore P [lim n Sn] = lim n P [Sn].

Also, since P [X 1 = 0] = e−λ^ > 0 and Xi are i.i.d., we have

P [Sn] = (1 − e−λ)n^ → 0 as n → ∞.

(b) Let Zn = αnX 1 X 2... Xn. For what values of α does Zn converge in the mean square sense as n → ∞? When it does converge, specify the limiting random variable

Z = lim n→∞ Zn m.s.

Note that by the same proof as for part (a), for any α, Zna.s. → 0. Thus, the only possible m.s. limit is also

  1. Further,

E[Z n^2 ] = E[α^2 nX 12 X 22... X n^2 ] = α^2 n^

E[X 12 ]

)n

= α^2 n^

λ + λ^2

)n .

Therefore, the mean-square limit exists if

α^2 <

λ + λ^2

and the limiting random variable is 0.

  1. (a) Suppose Xn →d. X and Yn p. → c, where c is a constant. Show that

Xn Yn

d. →

X

c

if c 6 = 0.

Assume that c > 0. Then for x ≥ 0 and  > 0, we have that

P

[

Xn Yn

x c

]

= P

[

Xn Yn

x c

, |Yn − c| > 

]

+ P

[

Xn Yn

x c

, |Yn − c| ≤ 

]

≤ P [|Yn − c| > ] + P

[

Xn ≤ x c

(c + )

]

Therefore (using the fact that Yn p. → c, so that limn P [|Yn − c| > ] = 0) we have that for any x that is a continuity point of FX ,

lim n→∞

P

[

Xn Yn

x c

]

≤ FX (x). (1)

Similarly,

P

[

Xn Yn

x c

]

≤ P

[

Xn >

x c

(c − )

]

  • P [|Yn − c| ≥ ] ,

so that for any continuity point x of FX ,

lim n→∞

P

[

Xn Yn

x c

]

≤ 1 − FX (x),

in other words,

lim n→∞

P

[

Xn Yn

x c

]

≥ FX (x).

We assumed x ≥ 0 and c > 0. The other cases are similar, and we have

lim n→∞

P

[

Xn Yn

x c

]

= FX (x) = P

[

X

c

x c

]

(b) Let Zn be a Poisson random variable with mean n. Show that

Zn − n √ Zn

→d. N (0, 1).

Hint: Use part (a) and characteristic functions. If you need it, you may also use the fact that convergence in distribution implies convergence in probability if the limit is a constant.

We can write

Zn − n √ Zn

Zn√−n n √ Zn n

We show that Zn√−nn d. → N (0, 1) and Z nn d. → 1, (and therefore

Zn n

d. → 1) from which the result follows.

First, note that the characteristic function of Zn ∼ Poisson(n) is

ΦZn (u) = E[ejuZn^ ]

=

∑^ ∞

k=

ejuk^

e−nnk k!

= e−n

∑^ ∞

k=

ejun

)k

k!

= exp

n

eju^ − 1

Thus

Φ Zn−n n (u) = e−ju

√n exp

n

eju/

√n − 1

= exp

n

eju/

√n − 1 − ju/

n

Now, for g(x) = exp{ex^ − 1 − x}, we have g(0) = 1, g′(0) = 0 and g′′(0) = 1. Therefore, by Taylor’s theorem, for any fixed u

Φ Zn−n n (u) =

1 − g′′(un)

u^2 2 n

)n ,

where un is between 0 and √un. Taking the limit as n → ∞, and using g′′(un) → 1, we have that

Φ Zn−n n (u) → e−^

u 22 .

Therefore, Z√n−nn →d. N (0, 1).

Also, Z nn has characteristic function

Φ Zn n (u) = E[exp

j

u n

Zn

]

= exp

n

ej^

un − 1

exp

ej^

un − 1

)})n

. (3)

Now, h(x) = exp {ex^ − 1 } satisfies h(0) = 1 and h′(0) = 1. Therefore, using Taylor’s theorem in (3)

Φ Zn n (u) =

1 + h′(un)j u n

)n ,

for some un between 0 and un. Therefore, h′(un) → 1 and Φ Zn n (u) → eju^ as n → ∞. Therefore, Z nn d. → 1.

This completes the proof.

Another (equivalent) solution is the following:

In an earlier quiz problem, we saw that Zn can be written as

Zn =

∑^ n

i=

Zi,

where Zi are i.i.d. Poisson random variables, each with mean 1. Therefore, from the central limit theorem, we know that Zn − n √ n

∑n i=1 (^) √(Zi^ −^ 1) n

→^ d. N (0, 1).

  1. (a) Let X ∼ N (0, 1) and Y = X^2. (i) Are X and Y uncorrelated? (ii) Are X and Y independent? Clearly justify your answers.

(i) Yes. Since E[X] = 0, we have

Cov(X, Y ) = E[(X − E[X]) (Y − E[Y ])] = E[X (Y − E[Y ])] = E[XY ] − E[XE[Y ]] = E[XY ] − E[X]E[Y ] = E[XY ].

Further, E[XY ] = E[X^3 ] = 0 since X is symmetric about 0. (ii) No. For example, conditioned on Y = y > 0, either X =

y or X = −

y, each with equal probability. This is not the same as the unconditional distribution of X.

(b) Let X and Y be jointly Gaussian with X ∼ N (μX , σ^2 X ) and Y ∼ N (μY , σ^2 Y ), and let ρXY be their correlation coefficient. Find E[Y |X = x] and fY |X (y|x).

Since X and Y are jointly Gaussian, the distribution of Y conditioned on X is Gaussian, and it suffices to find the conditional mean and variance of Y given X = x.

Also, the optimal linear MMSE estimator of Y given X is the same as E[Y |X] (the optimal MMSE estimator). Therefore,

E[Y |X = x] = E[Y ] + Cov(Y, X)Var(X)−^1 (X − E[X])

= μY + ρσX σY

σ^2 X

(X − μX )

= μY + ρ

σY σX

(X − μX )

= μ˜Y (say)

and

Var(Y |X = x) = Var(Y ) − Cov(Y, X)Var(X)−^1 Cov(X, Y ) = σ^2 Y (1 − ρ^2 ) = σ˜^2 Y (say).

Finally,

fY |X (y|x) =

2 π(1 − ρ^2 )σ Y^2

exp

(y − μ˜Y )^2 2˜σ^2 Y