Docsity

Solutions to Problem Set 13 - Probability with Engineering Application | ECE 313, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois Spring 2007
ECE 413: Solutions to Problem Set 13
1. A linear minimum mean square error estimator
(a) Note that Cov(Y, X ) = Var(Y) and Var(X) = Var(Y) + Var(N). By the formulas for linear
MMSE estimation,
L=E[Y] + Cov(Y,X)
Var(X)(X−E[X]) = 1
λ+1/λ2
1/λ2+σ2(X−1
λ) = 1
λ+1
1+λ2σ2(X−1
λ) = X+λσ2
1+λ2σ2
E[e2] = Var(Y)−Cov(Y, X )2/Var(X) = 1
λ2−(1/λ4)/(1
λ2+σ2) = σ2
1+λ2σ2
(b) Observe that Yis nonnegative, but the estimator Lcan be negative. An estimator with smaller
MSE is b
Y= max{0, L}, because (Y−b
Y)2≤(Y−L)2with probability one, and the inequality is
strict whenever L < 0.
2. Working with joint Gaussians
Let Z=X+ 2Y. Then Zis a linear combination of jointly Gaussian random variables, and so Z
itself is a Gaussian random variable. Also, E[Z] = E[X]+2E[Y] = 0 and
σ2
Z= Cov(X+ 2Y, X + 2Y) = Cov(X, X) + Cov(X, 2Y) + Cov(2Y , X) + Cov(2Y, 2Y)
=σ2
X+ 4Cov(X, Y )+4σ2
Y= 5 −4 + 8 = 9.
Then, P{X+ 2Y≥1}=P{Z≥1}=P{Z
3≥1
3}=Q(1
3) = 1 −Φ(1
3)≈0.3693
3. Simulating joint Gaussians
(a) Set A=p−ln(U) cos(2πV ) and B=p−ln(U) sin(2πV ).This is basically the representation
of two independent unit normals in polar coordinates. The random variable −ln(U) is exponentially
distributed with parameter one, and p−ln(U) has the Rayleigh density with parameter one. Also,
2πV is uniformly distributed over the interval [0,2π]. For more information, see your notes from
class, or lecture 37 on the course powerpoint slides
http://courses.ece.uiuc.edu/ece413/spring07/Slides.html
(b) The random variables Xand Ydefined in part (b) have mean zero, as required. So it is
only necessary to match the variances and covariance given in the previous problem, yielding the
conditions:
a2+b2= 5 c2+d2= 2 ac +bd =−1
There is a one-dimensional family of solutions, basically because there are four unknowns but only
three equations to be solved. One solution is (a, b, c, d) = (1,2,1,−1).
4. Estimating the square of a joint Gaussian
Recall the fact that E[Z2] = E[Z]2+ Var(Z) for any second order random variable Z. The idea
is to apply the fact to the conditional distribution of Ygiven X. Given X=x, the conditional
distribution of Xis Gaussian with mean ρx and variance 1−ρ2. Thus, E[Y2|X=x]=(ρx)2+1−ρ2.
Therefore, E[Y2|X]=(ρX)2+ 1 −ρ2.
1
pf3

Partial preview of the text

Download Solutions to Problem Set 13 - Probability with Engineering Application | ECE 313 and more Assignments Statistics in PDF only on Docsity!

University of Illinois Spring 2007 ECE 413: Solutions to Problem Set 13

  1. A linear minimum mean square error estimator (a) Note that Cov(Y, X) = Var(Y ) and Var(X) = Var(Y ) + Var(N ). By the formulas for linear MMSE estimation,

L = E[Y ] + Cov Var(Y,X(X) )(X − E[X]) = (^1) λ + 1 /λ

2 1 /λ^2 +σ^2 (X^ −^

1 λ ) =^

1 λ +^

1 1+λ^2 σ^2 (X^ −^

1 λ ) =^

X+λσ^2 1+λ^2 σ^2 E[e^2 ] = Var(Y ) − Cov(Y, X)^2 /Var(X) = (^) λ^12 − (1/λ^4 )/( (^) λ^12 + σ^2 ) = σ 2 1+λ^2 σ^2 (b) Observe that Y is nonnegative, but the estimator L can be negative. An estimator with smaller MSE is Ŷ = max{ 0 , L}, because (Y − Ŷ )^2 ≤ (Y − L)^2 with probability one, and the inequality is strict whenever L < 0.

  1. Working with joint Gaussians Let Z = X + 2Y. Then Z is a linear combination of jointly Gaussian random variables, and so Z itself is a Gaussian random variable. Also, E[Z] = E[X] + 2E[Y ] = 0 and

σ^2 Z = Cov(X + 2Y, X + 2Y ) = Cov(X, X) + Cov(X, 2 Y ) + Cov(2Y, X) + Cov(2Y, 2 Y ) = σ^2 X + 4Cov(X, Y ) + 4σ Y^2 = 5 − 4 + 8 = 9.

Then, P {X + 2Y ≥ 1 } = P {Z ≥ 1 } = P { Z 3 ≥ 13 } = Q( 13 ) = 1 − Φ( 13 ) ≈ 0. 3693

  1. Simulating joint Gaussians (a) Set A =

− ln(U ) cos(2πV ) and B =

− ln(U ) sin(2πV ). This is basically the representation of two independent unit normals in polar coordinates. The random variable − ln(U ) is exponentially distributed with parameter one, and

− ln(U ) has the Rayleigh density with parameter one. Also, 2 πV is uniformly distributed over the interval [0, 2 π]. For more information, see your notes from class, or lecture 37 on the course powerpoint slides http://courses.ece.uiuc.edu/ece413/spring07/Slides.html (b) The random variables X and Y defined in part (b) have mean zero, as required. So it is only necessary to match the variances and covariance given in the previous problem, yielding the conditions: a^2 + b^2 = 5 c^2 + d^2 = 2 ac + bd = − 1

There is a one-dimensional family of solutions, basically because there are four unknowns but only three equations to be solved. One solution is (a, b, c, d) = (1, 2 , 1 , −1).

  1. Estimating the square of a joint Gaussian Recall the fact that E[Z^2 ] = E[Z]^2 + Var(Z) for any second order random variable Z. The idea is to apply the fact to the conditional distribution of Y given X. Given X = x, the conditional distribution of X is Gaussian with mean ρx and variance 1−ρ^2. Thus, E[Y 2 |X = x] = (ρx)^2 +1−ρ^2. Therefore, E[Y 2 |X] = (ρX)^2 + 1 − ρ^2.
  1. Weak law of large numbers for slightly correlated variables (a) For any n,

Var(Sn) = Cov(X 1 + · · · + Xn, X 1 + · · · + Xn)

=

∑^ n

i=

∑^ n

j=

Cov(Xi, Xj )

n∑− 1

i=

Cov(Xi, Xi+1) +

∑^ n

i=

Cov(Xi, Xi) +

∑^ n

i=

Cov(Xi, Xi− 1 )

≤ (n − 1)(0.1) + n + (n − 1)(0.1) < (1.2)n

(b) Therefore, Var( S 100100 ) = (^) (100)^12 Var(S 100 ) ≤ 0. 012. Also, E[ S 100100 ] = μ = 5. Thus, by Chebychev’s

inequality, P (| S 100100 − 5 | ≥ 0 .5) ≤ (^) (0^0 ..^012 5) 2 = 0. 048.

  1. Normal approximation for quantization error The mean of each roundoff error is zero and the variance is

− 0. 5 u

(^2) du = 1 12.^ Thus,^ E[S] = 0 and V ar(S) = 10012 = 8.333. Thus, P [|S| ≥ 5] = P [| √ 8 S. 333 | ≥ √ 85. 333 ] ≈ 2 Q( √ 85. 333 ) = 2Q(1.73) =

2(1 − Φ(1.732)) = 0.083.

  1. A comparison of bounds and the normal approximation (a) E[X 1 ] = 1+2+3+4+5+6 6 = 3.5 so by Markov’s inequality, P [S 100 ≥ 400] ≤ 100(3 400. 5)= 78. (Not at all a strong bound.) (b) E[X 12 ] = 1 (^2) +2 (^2) +3 (^2) +4 (^2) +5 (^2) +6 2 6 = 15 so that^ V ar(Xi) = 15^ −^3.^5

(^2) = 2.75 Therefore by Chebyshev’s

inequality P [S 100 ≥ 400] = P [S 100 − 350 ≥ 50] ≤ P [|S 100 − 350 | ≥ 50] ≤ 100(2 502 .75) = 0. 11 Or, we could use the one-side Chebyshev inequality found in Section 8.5 of Ross. That yields the somewhat tighter bound: P [S 100 ≥ 400] = P [S 100 − 350 ≥ 50] ≤ (^) 275+2500^275 = 0.0991. (Either answer is acceptable.) (c) The normal approximation based on the central limit theorem yields

P [S 100 ≥ 400] = P [

S 100 − 350

] ≈ Q(

) = Q(3.015) = 1−Φ(3.015) ≈ 0. 0009