Solved Problem Set 5 - Probability and Random Processes | EECS 501, Assignments of Electrical and Electronics Engineering

Material Type: Assignment; Class: Prb&Rand Proc; Subject: Electrical Engineering And Computer Science; University: University of Michigan - Ann Arbor; Term: Fall 2001;

Typology: Assignments

Pre 2010

Uploaded on 09/02/2009

koofers-user-kg2-1
koofers-user-kg2-1 🇺🇸

5

(1)

10 documents

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
EECS 501 SOLUTIONS TO PROBLEM SET #5 Fall 2001
1. We are given that fy|θ(Y|Θ) N, σ2)E[y|θ= Θ] = Θ.
Then E[y] = Eθ[Ey[y|θ= Θ]] = RE[y|θ= Θ]fθ(Θ)dΘ = R2π
0Θ1
2πdΘ = π.
2. From pp. 138-139, we know that fz(Z) = Z
σ2eZ2/(2σ2), Z 0 (Rayleigh pdf).
E[z] = R
0Z2eZ2/2dZ =ZeZ2/2|
0+R
0eZ2/2dZ = 0 + pπ/2 = pπ/2
using integration by parts: Ru dv =uv Rv du where u=Zand v=eZ2/2
and R
−∞
1
2πeX2/2dX = 1 R
0eX2/2dX =1
22π=pπ/2 by symmetry.
E[z2] = R
0Z3eZ2/2dZ =R
02UeUdU = 2 where U=Z2/2.
So σ2
z=E[z2](E[z])2= 2 π/2 = 0.4292.
3a. Ey[Ex[g(x, y)|y]] = RdY fy(Y)(Rg(X, Y )fx|y(X|Y)dX)
=RdY RdX g(X, Y )fy(Y)fx|y(X|Y) = RdY RdX g(x, y)fx,y(X , Y ) = E[g(x, y)].
3b. g(x, y) = xand g(x, y) = x2σ2
x=E[x2](E[x])2=Ey[E[x2|y]] (Ey[E[x|y]])2.
Ey[σ2
x|y] = Ey[E[x2|y]]Ey[(E[x|y])2] and V ary[E[x|y]] = Ey[(E[x|y])2](Ey[E[x|y]])2.
Adding, we get σ2
x=Ey[σ2
x|y] + V ary[E[x|y]] Q.E.D. What does this mean? See #4.
4a. E[y] = En[E[y|n]] = En[nE[x]] = E[n]E[x] since y=x1+x2+. . . +xn.
σ2
y=En[σ2
y|n] + V arn[E[y|n]] = En[2
x] + V arn[nE[x]] = E[n]σ2
x+ (E[x])2σ2
n.
nconstantσ2
y=2
x. But xconstantσ2
y=x2σ2
n. Makes sense since y=xn.
4b. Total number rof items sold=sum of random number (k) of random variables (n).
σ2
r=E[k]σ2
n+ (E[n])2σ2
k=µ1µ2+µ1µ2
2where E[k] = σ2
k=µ1and E[n] = σ2
n=µ2.
Increasing µ1, as opposed to µ2, leads to a smaller increase in σ2
r.
5. See overleaf.
6. Let An={ω:x(ω)>1
n}.A1A2 ··· {ω:x(ω)>0}. Continuity of probability
P r[x > 0] = P r[{ω:x(ω)>0}] = P r [LIM
n→∞An] = LIM
n→∞P r[An] = LIM
n→∞P r[x > 1
n]
LIM
n→∞nE[x] = 0 P r[x= 0] = 1 using the Markov inequality and E[x] = 0.
pf2

Partial preview of the text

Download Solved Problem Set 5 - Probability and Random Processes | EECS 501 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity!

EECS 501 SOLUTIONS TO PROBLEM SET #5 Fall 2001

  1. We are given that fy|θ(Y |Θ) ∼ N (Θ, σ^2 ) → E[y|θ = Θ] = Θ.

Then E[y] = Eθ[Ey [y|θ = Θ]] =

E[y|θ = Θ]fθ(Θ)dΘ =

∫ (^2) π 0 Θ^

1 2 π dΘ =^ π.

  1. From pp. 138-139, we know that fz (Z) = Z σ^2 e

−Z^2 /(2σ^2 ), Z ≥ 0 (Rayleigh pdf).

E[z] =

0 Z

(^2) e−Z^2 / (^2) dZ = −Ze−Z^2 / (^2) |∞ 0 +^

0 e

−Z^2 / (^2) dZ = 0 +

π/2 =

π/ 2

using integration by parts:

u dv = uv −

v du where u = Z and v = −e −Z^2 / 2

and

−∞

√^1 2 π e −X^2 / 2 dX = 1 →

0 e

−X^2 / 2 dX = 1 2

2 π =

π/2 by symmetry.

E[z 2 ] =

0 Z

3 e −Z^2 / 2 dZ =

0 2 U e

−U dU = 2 where U = Z 2 /2.

So σ z^2 = E[z^2 ] − (E[z])^2 = 2 − π/2 = 0.4292.

3a. Ey [Ex[g(x, y)|y]] =

dY fy (Y )(

g(X, Y )fx|y (X|Y )dX)

dY

dX g(X, Y )fy (Y )fx|y (X|Y ) =

dY

dX g(x, y)fx,y (X, Y ) = E[g(x, y)].

3b. g(x, y) = x and g(x, y) = x^2 → σ x^2 = E[x^2 ] − (E[x])^2 = Ey [E[x^2 |y]] − (Ey [E[x|y]])^2.

Ey [σ^2 x|y ] = Ey [E[x^2 |y]]−Ey [(E[x|y])^2 ] and V ary [E[x|y]] = Ey [(E[x|y])^2 ]−(Ey [E[x|y]])^2.

Adding, we get σ^2 x = Ey [σ x^2 |y ] + V ary [E[x|y]] Q.E.D. What does this mean? See #4.

4a. E[y] = En[E[y|n]] = En[nE[x]] = E[n]E[x] since y = x 1 + x 2 +... + xn.

σ^2 y = En[σ^2 y|n] + V arn[E[y|n]] = En[nσ x^2 ] + V arn[nE[x]] = E[n]σ x^2 + (E[x])^2 σ n^2.

n constant→ σ 2 y =^ nσ

2 x. But^ x^ constant→^ σ

2 y =^ x

2 σ 2 n. Makes sense since^ y^ =^ xn.

4b. Total number r of items sold=sum of random number (k) of random variables (n).

σ 2 r =^ E[k]σ

2 n + (E[n])

2 σ 2 k =^ μ^1 μ^2 +^ μ^1 μ

2 2 where^ E[k] =^ σ

2 k =^ μ^1 and^ E[n] =^ σ

2 n =^ μ^2.

Increasing μ 1 , as opposed to μ 2 , leads to a smaller increase in σ^2 r.

  1. See overleaf.
  2. Let An = {ω : x(ω) > 1 n }.^ A^1 ⊂^ A^2 ⊂ · · · ⊂ {ω^ :^ x(ω)^ >^0 }. Continuity of probability

→ P r[x > 0] = P r[{ω : x(ω) > 0 }] = P r[ LIM n→∞ An] =^

LIM n→∞ P r[An] =^

LIM n→∞ P r[x >^

1 n ]

LIM n→∞ nE[x] = 0^ →^ P r[x^ = 0] = 1 using the Markov inequality and^ E[x] = 0.