Docsity

Solutions to ECE 413 Problem Set 11 from University of Illinois, Fall 2006, Assignments of Statistics

Toggle sidebar
bg1
University of Illinois Fall 2006
ECE 413: Solutions to Problem Set 11
1. (a) P{demand can be satisfied}=PX ≤ 1
2=Z0.5
0
5(1 −u)4du =−(1 −u)5
0.5
0
=31
32.
(b) We want the minimum value of Csuch that P{X > C} ≤ 10−5. But,
P{X > C}=Z1
C
5(1 −u)4du =−(1 −u)5
1
C
= (1 −C)5≤10−5if C≥0.9.
(c) Y= min{X, C}=X,if X ≤ C,
C, if X> C. .
(d) The weekly gross profit is $640Yand the average weekly gross profit is
E[640Y] = ZC
0
5(1 −u)4(640u)du +Z1
C
5(1 −u)4(640C)du =640
61−(1 −C)6.
As a function of C, this increases from 0 at C= 0 to 640/6 when C= 1. The average net profit
is $E[(640Y − 20C)] = E[(640Y]−20C=640
61−(1 −C)6−20Cwhose maximum can be found
by the usual calculus method to be at C=1
2. Thus, a 500 gallon tank that costs $10 per week
to rent gives an average gross profit of $630/6 and the maximum average net profit of $570/6 per
week. In contrast, a full-sized 1000 gallon tank gives only a slightly larger gross profit of $640/6
per week, but a smaller net profit of $520/6 per week. Of course, there may be intangible losses in
goodwill if the tank is emptied before the week ends. However, the probability of this happening
is only 1
32 when C=1
2.
2. (a) Ican take on values in the range (−I0,∞).
(b) FI(v) = 0 for v < −I0. For any v > −I0,
FI(v) = P{I ≤ v}=P{I0(exp(V)−1) ≤v}=P{V ≤ ln(1 + v/I0)}=FV(ln(1 + v/I0)).
(c) For v > −I0,
fI(v) = fV(ln(1 + v/I0)) 1
1 + v/I0×1
I0
=fV(ln(1 + v/I0))
v+I0
=(I0/2
(v+I0)2, v ≥0,
1
2I0,−I0< v < 0,.
Note that the pdf has constant value 1/(2I0) from v=−I0to v= 0.
3. (a) Ytakes on values in [0,1] and hence FY= 0 for v < 0, and FY(v) = 1 for v > 1.
For 0 ≤v≤1, FY(v) = P{Y ≤ v}=P{X2≤v}=P{−√v≤ X ≤ √v}=√v.
Hence fY(v) = 1
2√vif 0 ≤v≤1, and fY(v) = 0, otherwise.
(b) Ztakes on values in [−1,1] and hence, FZ= 0 for v < −1, and FZ(v) = 1 for v > 1.
For 0 ≤v≤1, FZ(v) = P{Z ≤ v}=P{g(X)≤v}=P{X ≤ √v}=1
2[1 + √v].
For −1≤v≤0, FZ(v) = P{Z ≤ v}=P{g(X)≤v}=P{X ≤ √−v}=1
2[1 −√−v].
Hence, fZ(v) = 1
4√|v|if 0 ≤ |v| ≤ 1, and fZ(v) = 0, otherwise. Note that the pdf is an even
function, and approaches +∞as vapproaches 0 from either side.
4. (a) The pmf of Yis pY(α) = pY(−α) = 1
2.
(b) E[Z] = Z∞
0
(u−α)2φ(u)du +Z0
−∞
(u+α)2φ(u)du =Z∞
−∞
(u2+α2)φ(u)du −4Z∞
0
αuφ(u)du
= 1 + α2−2r2
παwhere we have used the properties of the standard Gaussian pdf φ(u) and
Problem 4(a) of Problem Set 10 in arriving at the result. Now, a quadratic function ax2+ 2bx +c
has extremum c−b2
aat x=−b
a, the average of the roots, and this extremum is a minimum if
a > 0,maximum if a < 0. So we see E[Z] has minimum value 1 −2
πat α=q2
π.
pf2

Partial preview of the text

Download Solutions to ECE 413 Problem Set 11 from University of Illinois, Fall 2006 and more Assignments Statistics in PDF only on Docsity!

University of Illinois Fall 2006

ECE 413: Solutions to Problem Set 11

  1. (a) P {demand can be satisfied} = P

X ≤

0

5(1 − u)^4 du = −(1 − u)^5

  1. 5

0

(b) We want the minimum value of C such that P {X > C} ≤ 10 −^5. But,

P {X > C} =

C

5(1 − u)^4 du = −(1 − u)^5

1

C

= (1 − C)^5 ≤ 10 −^5 if C ≥ 0 .9.

(c) Y = min{X , C} =

X , if X ≤ C, C, if X > C.

(d) The weekly gross profit is $640Y and the average weekly gross profit is

E[640Y] =

∫ C

0

5(1 − u)^4 (640u) du +

C

5(1 − u)^4 (640C) du =

[

1 − (1 − C)^6

]

As a function of C, this increases from 0 at C = 0 to 640/6 when C = 1. The average net profit is $E[(640Y − 20 C)] = E[(640Y] − 20 C = (^6406)

[

1 − (1 − C)^6

]

− 20 C whose maximum can be found by the usual calculus method to be at C = 12. Thus, a 500 gallon tank that costs $10 per week to rent gives an average gross profit of $630/6 and the maximum average net profit of $570/6 per week. In contrast, a full-sized 1000 gallon tank gives only a slightly larger gross profit of $640/ per week, but a smaller net profit of $520/6 per week. Of course, there may be intangible losses in goodwill if the tank is emptied before the week ends. However, the probability of this happening is only 321 when C = 12.

  1. (a) I can take on values in the range (−I 0 , ∞). (b) FI (v) = 0 for v < −I 0. For any v > −I 0 , FI (v) = P {I ≤ v} = P {I 0 (exp(V) − 1) ≤ v} = P {V ≤ ln(1 + v/I 0 )} = FV (ln(1 + v/I 0 )). (c) For v > −I 0 ,

fI (v) = fV (ln(1 + v/I 0 ))

1 + v/I 0

×

I 0

fV (ln(1 + v/I 0 )) v + I 0

I 0 / 2 (v+I 0 )^2 ,^ v^ ≥^0 , 1 2 I 0 ,^ −I^0 < v <^0 ,^

Note that the pdf has constant value 1/(2I 0 ) from v = −I 0 to v = 0.

  1. (a) Y takes on values in [0, 1] and hence FY = 0 for v < 0, and FY (v) = 1 for v > 1. For 0 ≤ v ≤ 1, FY (v) = P {Y ≤ v} = P {X 2 ≤ v} = P {−

v ≤ X ≤

v} =

v. Hence fY (v) = 2 √^1 v if 0 ≤ v ≤ 1, and fY (v) = 0, otherwise.

(b) Z takes on values in [− 1 , 1] and hence, FZ = 0 for v < −1, and FZ (v) = 1 for v > 1. For 0 ≤ v ≤ 1, FZ (v) = P {Z ≤ v} = P {g(X ) ≤ v} = P {X ≤

v} = 12 [1 +

v]. For − 1 ≤ v ≤ 0, FZ (v) = P {Z ≤ v} = P {g(X ) ≤ v} = P {X ≤

−v} = 12 [1 −

−v]. Hence, fZ (v) = 4 √^1 |v| if 0 ≤ |v| ≤ 1, and fZ (v) = 0, otherwise. Note that the pdf is an even function, and approaches +∞ as v approaches 0 from either side.

  1. (a) The pmf of Y is pY (α) = pY (−α) =

(b) E[Z] =

0

(u − α)^2 φ(u) du +

−∞

(u + α)^2 φ(u) du =

−∞

(u^2 + α^2 )φ(u) du − 4

0

αuφ(u) du

= 1 + α^2 − 2

π

α where we have used the properties of the standard Gaussian pdf φ(u) and

Problem 4(a) of Problem Set 10 in arriving at the result. Now, a quadratic function ax^2 + 2bx + c

has extremum c −

b^2 a

at x = −

b a

, the average of the roots, and this extremum is a minimum if

a > 0 , maximum if a < 0. So we see E[Z] has minimum value 1 −

π

at α =

2 π.

(c) pW (3) = pW (−3) = Φ(− 2 .5) = 0.0062. pW (2) = pW (−2) = Φ(2.5) − Φ(1.5) = 0.0606. pW (1) = pW (−1) = Φ(1.5) − Φ(0.5) = 0.2417. pW (0) = Φ(0.5) − Φ(− 0 .5) = 0.3830. (d) Z 2 , Z 1 , Z 0 are Bernoulli random variables with parameters p 2 = P {W < 0 } = 0.3085, p 1 = P {W ∈ {− 2 , − 1 , 2 , 3 }} = 0.3691, and p 0 = P {W ∈ {− 3 , − 1 , 1 , 3 }} = 0.4958 respectively.

  1. As discussed in class, the first arrival time X is an exponential random variable with parameter λ, and its pdf is λ exp(−λt) for t > 0.

(a) Hence, P {X ≤ T } =

∫ T

0

λ exp(−λt) dt = 1 − exp(−λT ) =

λT 1!

(λT )^2 2!

(b) P (A) = P {N (0, T ] = 1} =

λT 1!

exp(−λT ) = λT exp(−λT ).

(c) P (A) in part (b) is not the same as P {X ≤ T } from part (a). In fact, A ⊂ {X ≤ T } since the latter event includes the possibility that the second arrival also occurred during (0, T ]. (d) For 0 < t < T ,

P ({X ≤ t} | A) =

P ({X ≤ t} ∩ A) P (A)

P ({N (0, t] = 1} ∩ {N (t, T ] = 0}) P {N (0, T ] = 1}

=

P {N (0, t] = 1} × P {N (t, T ] = 0} P {N (0, T ] = 1}

by independence of disjoint intervals

(λt) exp(−λt) × exp(−λ(T − t)) λT exp(−λT )

t T

Thus, the conditional pdf of the first arrival time X given that there was exactly one arrival in (0, T ] is a uniform pdf on (0, T ]!!

  1. I’m considering, I’m considering!

(a) The number of arrivals in (0, 4] is N (0, 4], a Poisson random variable with parameter 4λ. Hence, E[N (0, 4]] = 4λ. (b) The event {N (0, 3] = 3} ∩ {N (2, 6] = 0} is exactly the same as {N (0, 2] = 3} ∩ {N (2, 6] = 0} and thus P [{N (0, 3] = 3} ∩ {N (2, 6] = 0}] = P [{N (0, 2] = 3} ∩ {N (2, 6] = 0}]. We get

P [{N (0, 3] = 3} ∩ {N (2, 6] = 0}] =

(2λ)^3 3!

exp(− 2 λ) × exp(− 4 λ) =

4 λ^3 3

exp(− 6 λ)

by independence of Poisson variables on disjoint intervals of time. (c) The number of arrivals in (0, 6] is N (0, 6], a Poisson random variable with parameter 6λ. If it is observed that N (0, 6] = k, then the maximum-likelihood estimate of the Poisson parameter 6λ is k (cf. Problem 3(c) of Problem Set 4), and hence the maximum-likelihood estimate of the arrival rate is k/6 = # of arrivals/length of interval which is exactly what one would expect. (d) P {N (0, t) ≥ 1 } = 1 − P {N (0, t) = 0} = 1 − exp(−λt) = 1 − 2 −t^ when λ = ln 2.