

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


SOLUTIONS TO Midterm II — ECE 313 – FALL 2007
(iv) False (X is a mixed random variable). (v) True. (vi) True. (vii) False (It is equal to 12 ).
(viii) False (X is a mixed random variable). (ix) True. (x) True.
(vi) a. (vii) a. (viii) d. (ix) b. (x) b.
θ−μ+ σ
(ii) P (Y < θ|X = 1) = Φ
θ−μ− 1 σ
(iii)
Pe = pP (Y > θ|X = −1) + (1 − p)P (Y < θ|X = 1)
= p
( (^) θ − μ + 1
σ
( (^) θ − μ − 1
σ
(iv) The best decision rule is the MAP decision rule, which picks X = 1 if Y = y is such that
fY |X=1(y)/fY |X=− 1 (y) > p/(1 − p) and picks X = −1 otherwise. The optimum value of θ is that value
of y for which the inequality is an equality. Thus,
p fY |X=− 1 (θ) = (1 − p) fY |X=1(θ)
p e
− θ− 2 μσ+1 2 = (1 − p) e
− θ− 2 μσ− 21
θ = μ +
σ^2
2
ln
p
1 − p
The result can also be obtained by differentiating the expression in (iii) with respect to θ, setting it
equal to zero, and solving for θ.
FZ (c) = P (Z ≤ c|W = 1)P (W = 1) + P (Z ≤ c|W = 0)P (W = 0)
P (X ≤ c) +
P (−Y ≤ c)
1 2 P^ (Y^ ≥ −c),^ c <^0 1 2 P^ (X^ ≤^ c) +^
1 2 ,^ c^ ≥^0
1 2 e
λc, c < 0
1 − 12 e−λc, c ≥ 0
which is the cdf for a general λ. Differentiating this separately for c > 0 and c < 0, and letting c = z,
leads to the pdf:
fZ (z) =
λ
2
e
−λ|z| − ∞ < z < ∞
(ii)
z
fZ ( z )
λ/
(iii) (a) P (V = 0) = P (g(Z) = 0) = P (Z < −1 or Z > 3) = 12 e−λ^ + 12 e−^3 λ
(iii) (b) For 0 < a < 1,
P (V ≤ a) = P (g(Z) ≤ v)
= P
Z ≤ −(1 − a)
Z ≥ 3(1 − a)
−(1 − a)
3(1 − a)
e
−λ(1−a) −
e
− 3 λ(1−a)
Therefore, we have
FV (a) =
0 , a < 0 1 2 e
−λ(1−a) (^) − 1 2 e
− 3 λ(1−a), 0 ≤ a ≤ 1
1 , a > 1