Docsity

Midterm Exam II Solutions - Probability with Engineering Application | ECE 313, Exams of Statistics

Toggle sidebar
bg1
SOLUTIONS TO Midterm II — ECE 313 – FALL 2007
1. (i) False (P(X= 0) = 0). (ii) True. (iii) True.
(iv) False (Xis a mixed random variable). (v) True. (vi) True. (vii) False (It is equal to 1
2).
(viii) False (Xis a mixed random variable). (ix) True. (x) True.
2. (i) c. (ii) d. (iii) c. (iv) b. (v) c.
(vi) a. (vii) a. (viii) d. (ix) b. (x) b.
3. (i) P(Y > θ|X=−1) = 1 −Φθ−µ+1
σ
(ii) P(Y < θ|X= 1) = Φθ−µ−1
σ
(iii)
Pe=pP (Y > θ|X=−1) + (1 −p)P(Y < θ|X= 1)
=ph1−Φθ−µ+ 1
σi+ (1 −p)Φθ−µ−1
σ
(iv) The best decision rule is the MAP decision rule, which picks X= 1 if Y=yis 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 yfor which the inequality is an equality. Thus,
p fY|X=−1(θ) = (1 −p)fY|X=1(θ)
p e−θ−µ+1
2σ2= (1 −p)e−θ−µ−1
2σ2
θ=µ+σ2
2ln 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 θ.
4. (i)
FZ(c) = P(Z≤c|W= 1)P(W= 1) + P(Z≤c|W= 0)P(W= 0)
=1
2P(X≤c) + 1
2P(−Y≤c)
=(1
2P(Y≥ −c), c < 0
1
2P(X≤c) + 1
2, c ≥0
=(1
2eλc, c < 0
1−1
2e−λ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) = λ
2e−λ|z|− ∞ < z < ∞
(ii)
1
pf2

Partial preview of the text

Download Midterm Exam II Solutions - Probability with Engineering Application | ECE 313 and more Exams Statistics in PDF only on Docsity!

SOLUTIONS TO Midterm II — ECE 313 – FALL 2007

  1. (i) False (P (X = 0) = 0). (ii) True. (iii) True.

(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.

  1. (i) c. (ii) d. (iii) c. (iv) b. (v) c.

(vi) a. (vii) a. (viii) d. (ix) b. (x) b.

  1. (i) P (Y > θ|X = −1) = 1 − Φ

θ−μ+ σ

(ii) P (Y < θ|X = 1) = Φ

θ−μ− 1 σ

(iii)

Pe = pP (Y > θ|X = −1) + (1 − p)P (Y < θ|X = 1)

= p

[

( (^) θ − μ + 1

σ

)]

  • (1 − p)Φ

( (^) θ − μ − 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 θ.

  1. (i)

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)

+ P

Z ≥ 3(1 − a)

= FZ

−(1 − a)

− FZ

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