



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!




This test is open notes, open books. You have exactly 75 minutes.
(a) What is any subset of a sample space called?
Solution: An event. 2
(b) A box contains 3 red marbles and 2 blues. Two marbles are selected randomly without replacement. What is the probability that both are blue?
Solution: 25 · 14 = 101. 2
(c) TRUE or FALSE? Pr(A ∩ B) = Pr(A|B) Pr(A).
Solution: False. Pr(A ∩ B) = Pr(A|B) Pr(B). 2
(d) The probability that it will rain tomorrow is 0.6. The probability that it will be windy tomorrow is 0.5. Suppose that rain and wind are independent. What’s the probability that it will be both rainy and windy tomorrow?
Solution: By independence, Pr(R ∩ W ) = Pr(R) Pr(W ) = 0.3. 2
(e) In a certain population, 50% of the people jog, 60% play tennis, and 70% swim. Further, 30% jog and play tennis, 40% jog and swim, 50% play tennis and swim, and 20% do all three. What’s the probability that a random person from this population only jogs (and does nothing else)?
Solution: Draw a Venn diagram, and work from the inside out. You’ll even- tually find that Pr(J ∩ T¯ ∩ S¯) = 0. 2
(f) How many ways can you scramble the letters in “STATISTICS”?
Solution: (^) 3! 3! 2! 1! 1!10!. 2
(g) A 4-sided die is thrown 5 times. Find Pr(Each face appears at least once).
Solution: Similar to what we did on an old HW, consider the generic form of a toss meeting the requirement of all faces appearing at least once — AABCD. The number of ways to choose A is 4. The number of ways to place the pair of A’s is
( 5 2
) . The number of ways to scramble BCD is 3!. And the total number of ways to toss 5 dice is 4^5.
Therefore the desired probability is 4
( 5 2
) 3!/ 45. 2
(h) Pick 6 cards from a standard deck. Find the probability of four aces.
Solution:
( 4 4
)( 48 2
) /
( 52 6
)
. 2
(i) Suppose you have 3 people in the room. Assuming all 365 days of the year are equally likely, find the probability that at least two of these people have the same birthday.
Solution: Pr(at least 2) = 1 − Pr(all different) = 1 − 365365364365363365. 2
(j) Kobe Bryant is great free throw shooter. In fact, his shots are independent and all have probability 0.8 of being successful. Suppose he takes 10 shots in the next game. What’s the probability that he makes exactly 8 of them?
Solution: Let X denote the number of successes. Thus, X ∼ Bin(10, 0 .8). This implies that Pr(X = 8) =
( 10 8
) (0.8)^6 (0.2)^2. 2
(k) TRUE or FALSE? If A 1 , A 2 ,... , An form a partition of the sample space, then for any event B, we have Pr(B) =
∑n i=1 Pr(Ai^ ∩^ B).
Solution: True. 2
(l) TRUE or FALSE? Pn,k =
(n k
) k! for all (n, k).
Solution: True. 2
(g) If X has p.d.f. f (x) = x/2, 0 ≤ x ≤ 2, find E[1/X].
Solution:∫ By the Law of the Unconscious Statistician, E[1/X] = R(1/x)f^ (x)^ dx^ =^
∫ (^2) 0 (1/2)^ dx^ = 1.^2
(h) If X ∼ Exp(1), find E[4X + 2].
Solution: 4 E[X] + 2 = 6. 2
(i) If E[X] = 7 and Var(X) = 10, find Var(4X + 2).
Solution: 16 Var(X) = 160. 2
(j) The moment generating function of a random variable X is defined as MX (t) ≡ E[etX^ ]. It can be shown that (^) dtd MX (t)|t=0 = E[X] (you don’t have to prove this). Anyway, suppose X has m.g.f. MX (t) = pet^ + q. Find the expected value of X.
Solution: (^) dtd MX (t)|t=0 = (^) dtd (pet^ + q)|t=0 = pet|t=0 = p. (This is great, since it turns out that X ∼ Bern(p).) 2
(k) If X ∼ Pois(2), find Pr(X ≥ 2).
Solution: Pr(X ≥ 2) = 1 − Pr(X = 0 or 1) = 1 − e − 220 0! −^
e−^221 1! = 1^ −^3 e
(l) The second central moment of a random variable X is more-commonly known as the [fill in the blank].
Solution: variance. 2
Solution: Let C = cancer and P = positive. Then Bayes implies
Pr( C¯|P ) =
Pr(P | C¯) Pr( C¯) Pr(P | C¯) Pr( C¯) + Pr(P |C) Pr(C)
Solution: The c.d.f. of Y is
G(y) = Pr(Y ≤ y) = Pr(eX+2^ ≤ y) = Pr(X ≤ `n(y) − 2)
=
∫ (^) `n(y)− 2
0
f (x) dx = `n(y) − 2.
Thus, the p.d.f. is g(y) = (^) dyd G(y) = (^) y^1 , e^2 ≤ y ≤ e^3. (Make sure you know where the limits come from.) 2
Solution: Similar to what we’ve done a few times in class, consider the generic form of a hand meeting the stated requirement — AAABBCCD. Pick the rank of the 3-of-a-kind A — 13 ways Pick two ranks for the two pairs (B and C) —
( 12 2
) ways.
Pick the suits of the 3-of-a-kind A —
( 4 3
) ways.
Pick the suits of the pair B —
( 4 2
) ways; pick the suits of the pair C —
( 4 2
) ways. Pick the junk card D — 40 ways.
Thus, the desired probability is