Isye 6739 - Test 2 Solutions - Summer 2012
Isye 6739 - Test 2 Solutions - Summer 2012
1. A box contains 2 red, 3 black, and 5 blue sox. Suppose 6 sox are selected one
at-a-time with replacement. Let X denote the number of blue sox drawn.
(c) Now suppose that you had instead sampled 6 sox without replacement, and
let Y denote the number of blues you get. Find the probability that Y = 4
(you do not need to simplify your solution).
d
2. TRUE or FALSE? In ISyE 6739, we have dt
E[etX ]|t=0 = E[X].
Solution: TRUE (at least in this class), since E[etX ] is the moment generating
function. ♦
G(w) ≡ P(W ≤ w)
= P(|X − 1| ≤ w)
= P(−w ≤ X − 1 ≤ w)
= P(1 − w ≤ X ≤ 1 + w)
Z 1+w
= f (x) dx
1−w
Z 1+w
= (1/4) dx
1−w
= w/2 if 0 ≤ w ≤ 2.
d
Thus, the p.d.f. of W is g(w) = dw G(w) = 1/2 for 0 ≤ w ≤ 2; and so
W ∼ Unif(0, 2). You probably could’ve also gotten this answer via an
intuitive argument. ♦
Solution: From class notes (on the Inverse Transform Theorem), Y ∼ Exp(4).
Thus, the desired p.d.f. is fY (y) = 4e−4y for y > 0. ♦
6. Suppose X and Y are discrete random variables with the following joint p.m.f.,
where any letters denote probabilities that you might need to figure out.
3
f (x, y) X = −3 X = 0 X = 5 P(Y = y)
Y = 1.6 0.1 0.1 a 0.3
Y = 27 b c 0.3 d
P(X = x) e 0.2 f g
Solution: e = 0.4. ♦
Solution:
Z 1/2 Z y
P(X < 1/2 and Y < 1/2) = f (x, y) dx dy
0 0
Z 1/2 Z y
= 6x dx dy
0 0
= 1/8. ♦
8. Suppose that the marginal p.d.f. of X is fX (x) = 6x(1 − x), for 0 ≤ x ≤ 1, and the
1
conditional p.d.f. of Y given X = x is f (y|x) = 1−x , for 0 ≤ x ≤ y ≤ 1.
Solution:
Z 1 Z 1
y 1+x
E[Y |X = x] = yf (y|x) dy = dy = , 0 ≤ x ≤ 1. ♦
x x 1−x 2
4
h i
(b) Find E E[Y |X] .
Note that f (x, y) = fX (x)f (y|x) = 6x, for 0 ≤ x ≤ y ≤ 1. This his simplyi
the joint p.d.f. from Question 7! Now we can check our answer for E E[Y |X]
(because we have so much free time on our hands). First of all, the marginal
p.d.f. of Y is
Z y Z y
fy (y) = f (x, y) dx = 6x dx = 3y 2 , for 0 ≤ y ≤ 1.
0 0
R1 R1
Then E[Y ] = 0 yfY (y) dy = 0 3y 3 dy = 3/4.
h i
Finally, by double expectation, E E[Y |X] = E[Y ] = 3/4, so the check works!
♦
Solution: FALSE. ♦
Solution: TRUE, since you can factor f (x, y) = a(x)b(y) for all x, y.
5
10. Suppose buses show up at the bus stop randomly according to a Poisson process
with a rate of 3 per hour. Let’s suppose that I also show up at the stop randomly.
What is my expected waiting time?
12. Suppose that the number of typographical errors in a book is Poisson with a rate
of 0.75 per page. Find the probability that there will be a total of exactly 1 typo
on Pages 221–222 of the book.
14. Drivers arrive at a parking lot according to a Poisson process at the rate of
10/hour. What is the probability that the time between the 18th and 19th arrivals
will be less than 5 minutes?
Solution: Let X be the time between the 18th and 19th arrivals. Then by remarks
in class, we know that the times between consecutive arrivals are i.i.d. Exp(10/hr),
6
so that P(X < 5 minutes) = P(X < (1/12) hour) = 1 − e−λt = 1 − e−10/12 = 0.565.
♦
15. The failure rate of a positive random variable X can be regarded as the instanta-
neous rate of death — that is, the rate of death, given that the person (or light
bulb) has survived until time x. It’s formally defined as f (x)/(1 − F (x)), where
f (x) and F (x) are the p.d.f. and c.d.f. of X. What is the failure rate if X ∼ Exp(λ)?
Solution: λ (constant). ♦
16. Suppose X1 and X2 are i.i.d. Bernoulli(p) random variables, which represent the
functionality of two network components. Think of a signal passing through
a network, where Xi = 1 if the signal can successfully get through compo-
nent i, for i = 1, 2 (and Xi = 0 if the signal is unsuccessful). Let’s consider
two set-ups: (A) X1 and X2 have p = 0.8 and are hooked up in a series so
that a signal getting through the network has to pass through components
1 AND 2. (B) X1 and X2 have p = 0.5 and are hooked up in parallel so
that a signal getting through the network has to pass through components 1 OR
2. Which series is more reliable, i.e., more likely to permit a signal to pass through?
Meanwhile,
17. TRUE or FALSE? If X is any normal distribution, then about 99.7% of all
observations from X will fall within three standard deviations of the mean.
Solution: TRUE. ♦
18. TRUE or FALSE? The normal quantile value Φ−1 (0.975) = 1.96.
7
Solution: TRUE. ♦
X−µ
19. Suppose X ∼ Nor(µ, σ 2 ). Find P(−1 ≤ σ
≤ 1).
20. Suppose X and Y are the scores that an incoming UGA student will receive, re-
spectively, on the verbal and math portions of the SAT test. Further suppose that
X and Y are both Nor(400, 4000) and that Cov(X, Y ) = 1000. Find the probability
that the total score, X +Y , will exceed 900. (You can assume that X +Y is normal.)
21. If X1 , . . . , X200 are i.i.d. from some distribution with mean 2 and variance 200,
find the approximate probability that the sample mean X̄ is between 1 and 3.
Solution: 11.07. ♦.
Solution: Because of the high d.f., P(T < 1.645) ≈ P(Z < 1.645) = 0.95. ♦
8
z P(Z ≤ z)
1 0.8413
1.28 0.9000
1.5 0.9332
1.645 0.9500
1.96 0.9750
2 0.9773
m\n 3 4 5
3 15.44 15.10 14.88
4 9.98 9.60 9.36
5 7.76 7.39 7.15