Docsity

Solutions to ECE 313 Homework 10, University of Illinois, Urbana–Champaign, Fall 2007, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois, Urbana–Champaign Fall 2007
ECE 313: Solutions to Homework 10
60. (a) According to the law of total probability, we have
Z1
0
c(1 −x)dx =cx −cx2
2
1
0=c
2= 1
Then, we get c= 2.
(b)
FY(b) = P(Y≤b) = P((1 −X)2≤b) = P(1 −√b≤X≤1)for 0 ≤b≤1
=R1
1−√b2(1 −x)dx =b b ≥0
0b < 0
(c) Take a derivative of FY(b), we obtain the pdf, whibh is
fY(b) = F0
Y(b) = 1 0 ≤b≤1
0otherwise
Yis then uniformly distributed over [0,1].
61. (a)
E[X] = Z∞
0
x2
σ2e
−x2
2σ2dx =Z∞
0−xde
−x2
2σ2=−xe
−x2
2σ2
∞
0+Z∞
0
e
−x2
2σ2dx =Z∞
0
e
−x2
2σ2dx
We know from Gaussian (0, σ2) distribution that R∞
−∞ e
−x2
2σ2=√2πσ. The symmetry
property gives that E[X] = R∞
0e
−x2
2σ2dx =pπ
2σ.
(b) Then, Y= min(X, E [X]) = min(X, pπ
2σ).
FY(c) = P(Y≤c) =
0c < 0
1c≥pπ
2σ
Rc
0
x
σ2e
−x2
2σ2dx =−e
−x2
2σ2
c
0= 1 −e
−c2
2σ2otherwise
Yis a mixed random variable since FY(pπ
2σ−) = 1 −e−π/46=FY(pπ
2σ+) = 1.
(c)
E[Y] = Z√π
2σ
0
(1 −FY(c))dc =Z√π
2σ
0
e
−c2
2σ2dc
=√2πσ Z√π
2
0
1
√2πec2
2dc
=√2πσ(Φ(rπ
2)−1
2)≈0.99σ
62. Let X∼Binom(150,0.05) be the number of unacceptable cell phones. Using the DeMoivre-
Laplace limit theorem to approximate Binomial distribution by Gaussian, we have µ=np =
150×0.05 = 7.5, σ =pnp(1 −p) = 2.6693. Then the approximated probability with continuity
correction that at most 10 cell phones will not be acceptable is
P(−0.5≤X≤10.5) = P(−0.5−µ
σ≤X−µ
σ≤10.5−µ
σ) = Φ(1.1239)−Φ(−2.9970) = 0.8681
pf3
pf4

Partial preview of the text

Download Solutions to ECE 313 Homework 10, University of Illinois, Urbana–Champaign, Fall 2007 and more Assignments Statistics in PDF only on Docsity!

University of Illinois, Urbana–Champaign Fall 2007

ECE 313: Solutions to Homework 10

  1. (a) According to the law of total probability, we have

∫ (^1)

0

c(1 − x)dx = cx −

cx^2 2

1

0

c 2

Then, we get c = 2.

(b)

FY (b) = P (Y ≤ b) = P ((1 − X)^2 ≤ b) = P (1 −

b ≤ X ≤ 1)for 0 ≤ b ≤ 1

1 −

√ b 2(1^ −^ x)dx^ =^ b^ b^ ≥^0 0 b < 0

(c) Take a derivative of FY (b), we obtain the pdf, whibh is

fY (b) = F (^) Y′ (b) =

1 0 ≤ b ≤ 1 0 otherwise

Y is then uniformly distributed over [0, 1].

  1. (a)

E[X] =

0

x^2 σ^2

e

−x^2 2 σ^2 dx =

0

−xde

−x^2 2 σ^2 = −xe

−x^2 2 σ^2

0

e

−x^2 2 σ^2 dx =

0

e

−x^2 2 σ^2 dx

We know from Gaussian (0, σ^2 ) distribution that

−∞ e^

−x^2 2 σ^2 =

2 πσ. The symmetry

property gives that E[X] =

0 e^

−x^2 2 σ^2 dx =

√ (^) π 2 σ. (b) Then, Y = min(X, E[X]) = min(X,

√ (^) π 2 σ).

FY (c) = P (Y ≤ c) =

0 c < 0 1 c ≥

√ (^) π 2 σ ∫ (^) c 0

x σ^2 e^

−x^2 2 σ^2 dx = −e

−x^2 2 σ^2

∣c 0 = 1^ −^ e^

−c^2 2 σ^2 otherwise

Y is a mixed random variable since FY (

√ (^) π 2 σ

−) = 1 − e−π/ (^4 6) = F Y (

√ (^) π 2 σ

(c)

E[Y ] =

∫ √^ π 2 σ

0

(1 − FY (c))dc =

∫ √^ π 2 σ

0

e

−c^2 2 σ^2 dc

2 πσ

∫ √^ π 2

0

2 π

e

c^2 (^2) dc

2 πσ(Φ(

π 2

) ≈ 0. 99 σ

  1. Let X ∼ Binom(150, 0 .05) be the number of unacceptable cell phones. Using the DeMoivre- Laplace limit theorem to approximate Binomial distribution by Gaussian, we have μ = np = 150 × 0 .05 = 7. 5 , σ =

np(1 − p) = 2.6693. Then the approximated probability with continuity correction that at most 10 cell phones will not be acceptable is

P (− 0. 5 ≤ X ≤ 10 .5) = P (

− 0. 5 − μ

σ

X − μ

σ

  1. 5 − μ

σ

  1. From the hazard rate function, we obtain the CDF for the age of a male smoker, X, is

FX (t) = 1 − exp{−

∫ (^) t

40

λ(u)du}

= 1 − exp{−

∫ (^) t

40

0 .027 + 0.00025(u − 40)^2 du}

= 1 − exp{− 0. 000083 t^3 + 0. 01 t^2 − 0. 427 t − 6. 392 }

(a) The probability that a 40 years old male smoker lives over age 50 is

P (X > 50 |X > 40) =

1 − FX (50)

1 − FX (40)

(b) Similarly, we have

P (X > 60 |X > 40) =

1 − FX (60)

1 − FX (40)

  1. The CDF of X given its hazard rate λ(t) is FX (t) = 1−exp{−

∫ (^) x 0 λ(t)dt}. The CDF of^ Y^ =^ aX is

FY (t) = P (Y ≤ t) = P (aX ≤ t) = P (X ≤

t a

= 1 − exp{−

∫ t a

0

λ(u)du}

= 1 − exp{−

∫ (^) t

0

λ(

u a

)d

u a

= 1 − exp{−

∫ (^) t

0

a

λ(

u

a

)du}

Therefore, the hazard rate for Y is (^1) a λ( (^) at ). To verify the relationship we compute the hazard rate for X and Y of uniform distribution. For X ∼ Unif(0, 1), the CDF is

FX (c) =

0 c < 0 c 0 ≤ c < 1 1 c ≥ 1

The pdf is

fX (c) =

1 0 ≤ c < 1 0 otherwise

Then, the hazard rate could be computed by λ(t) =

fX (t) 1 −FX (t) =^

1 1 −t. For^ Y^ =^ aX, the CDF is

FY (c) =

0 c < 0 c a 0 ≤^ c < a 1 c ≥ a

The pdf is

fY (c) =

0 otherwise 1 a 0 ≤^ c < a

Then, the hazard rate could be computed by

fY (t) 1 −FY (t) =^

1 a

1 1 − t a^ =^

1 a λ(^

t a ). Our solution is hereby verified.

P (Xi = 0) = 1 − P (Xi = 1). The pmf is thus given by,

P (X 1 = 0, X 2 = 0) =

P (X 1 = 0, X 2 = 1) =

P (X 1 = 1, X 2 = 0) =

P (X 1 = 1, X 2 = 1) =

To verify the answer, sum up 14+10+10+5 39 = 1 so it is a valid pmf.

(b) Similarly, the pmf for X 1 , X 2 , X 3 is

P (X 1 = 0, X 2 = 0, X 3 = 0) =

P (X 1 = 0, X 2 = 1, X 3 = 0) =

P (X 1 = 1, X 2 = 0, X 3 = 0) =

P (X 1 = 1, X 2 = 1, X 3 = 0) =

P (X 1 = 0, X 2 = 0, X 3 = 1) =

P (X 1 = 0, X 2 = 1, X 3 = 1) =

P (X 1 = 1, X 2 = 0, X 3 = 1) =

P (X 1 = 1, X 2 = 1, X 3 = 1) =

Again, one can verify the answer by summing them up to see if it equals one.

(c)

E[Y ] = E[X 1 X 2 ] = 1

E[Z] = E[X 1 X 2 X 3 ] =

E[Z^2 ] = 0. 0350

var[Z] = E[Z^2 ] − E[Z]^2 = 0. 0338

(d)

P (X 3 = 1|X 1 = 1, X 2 = 0) =

P (X 1 = 1, X 2 = 0, X 3 = 1)

P (X 1 = 1, X 2 = 0)

(e)

P (X 1 = 1, X 2 = 0|X 3 = 1) =

P (X 1 = 1, X 2 = 0, X 3 = 1)

X 1 ,X 2 ∈{ 0 , 1 } P^ (X^1 =^ i, X^2 =^ j, X^3 = 1)