MIT18 05S14 Prac Exa1 Long-1
MIT18 05S14 Prac Exa1 Long-1
MIT18 05S14 Prac Exa1 Long-1
2. There are 3 arrangements of the word DAD, namely DAD, ADD, and DDA. How
many arrangements are there of the word PROBABILITY?
3. There are six men and seven women in a ballroom dancing class. If four men
and four women are chosen and paired off, how many pairings are possible?
4. Suppose you pick two cards from a deck of 52 playing cards. What is the
probability that they are both queens?
5. Suppose that there are ten students in a classroom. What is the probability that
no two of them have a birthday in the same month?
7. Let A and B be two events. Suppose the probability that neither A or B occurs
is 2/3. What is the probability that one or both occur?
8. Let C and D be two events with P (C) = 0.25, P (D) = 0.45, and P (C ∩D) = 0.1.
What is P (C c ∩ D)?
9. You roll a four-sided die 3 times. For this problem we’ll use the sample space
with 64 equally likely outcomes.
(a) Write down this sample space in set notation.
(b) List all the outcomes in each of the following events.
1
Practice Exam 1: All Questions, Spring 2014 2
12. Suppose you are taking a multiple-choice test with c choices for each question.
In answering a question on this test, the probability that you know the answer is p.
If you don’t know the answer, you choose one at random. What is the probability
that you knew the answer to a question, given that you answered it correctly?
13. Corrupted by their power, the judges running the popular game show America’s
Next Top Mathematician have been taking bribes from many of the contestants. Each
episode, a given contestant is either allowed to stay on the show or is kicked off.
If the contestant has been bribing the judges she will be allowed to stay with proba
bility 1. If the contestant has not been bribing the judges, she will be allowed to stay
with probability 1/3.
Suppose that 1/4 of the contestants have been bribing the judges. The same con
testants bribe the judges in both rounds, i.e., if a contestant bribes them in the first
round, she bribes them in the second round too (and vice versa).
(a) If you pick a random contestant who was allowed to stay during the first episode,
what is the probability that she was bribing the judges?
(b) If you pick a random contestant, what is the probability that she is allowed to
stay during both of the first two episodes?
(c) If you pick random contestant who was allowed to stay during the first episode,
what is the probability that she gets kicked off during the second episode?
14. Consider the Monty Hall problem. Let’s label the door with the car behind it
a and the other two doors b and c. In the game the contestant chooses a door and
Practice Exam 1: All Questions, Spring 2014 3
then Monty chooses a door, so we can label each outcome as ‘contestant followed by
Monty’, e.g ab means the contestant chose a and Monty chose b.
(a) Make a 3 × 3 probability table showing probabilities for all possible outcomes.
(c) Suppose the contestant’s strategy is to switch. List all the outcomes in the event
‘the contestant wins a car’. What is the probability the contestant wins?
16. There is a screening test for prostate cancer that looks at the level of PSA
prostate cancer that a man can have elevated PSA levels. In addition, many types
of prostate cancer develop so slowly that that they are never a problem. Unfortu
nately there is currently no test to distinguish the different types and using the test
is controversial because it is hard to quantify the accuracy rates and the harm done
by false positives.
For this problem we’ll call a positive test a true positive if it catches a dangerous type
of prostate cancer. We’ll assume the following numbers:
Rate of prostate cancer among men over 50 = 0.0005
True positive rate for the test = 0.9
False positive rate for the test = 0.01
Let T be the event a man has a positive test and let D be the event a man has a
dangerous type of the disease. Find P (D|T ) and P (D|T c ).
17. A multiple choice exam has 4 choices for each question. A student has studied
enough so that the probability they will know the answer to a question is 0.5, the
probability that they will be able to eliminate one choice is 0.25, otherwise all 4
choices seem equally plausible. If they know the answer they will get the question
right. If not they have to guess from the 3 or 4 choices.
As the teacher you want the test to measure what the student knows. If the student
answers a question correctly what’s the probability they knew the answer?
18. Suppose you have an urn containing 7 red and 3 blue balls. You draw three
balls at random. On each draw, if the ball is red you set it aside and if the ball is
blue you put it back in the urn. What is the probability that the third draw is blue?
Practice Exam 1: All Questions, Spring 2014 4
(If you get a blue ball it counts as a draw even though you put it back in the urn.)
19. Some games, like tennis or ping pong, reach a state called deuce. This means
that the score is tied and a player wins the game when they get two points ahead of
the other player. Suppose the probability that you win a point is p and this is true
independently for all points. If the game is at deuce what is the probability you win
the game?
This is a tricky problem, but amusing if you like puzzles.
3 Independence
20. Suppose that P (A) = 0.4, P (B) = 0.3 and P ((A ∪ B)C ) = 0.42. Are A and B
independent?
21. Suppose now that events A, B and C are mutually independent with
22. You roll a twenty-sided die. Determine whether the following pairs of events
are independent.
(a) ‘You roll an even number’ and ‘You roll a number less than or equal to 10’.
(b) ‘You roll an even number’ and ‘You roll a prime number’.
23. Suppose A and B are events with 0 < P (A) < 1 and 0 < P (B) < 1.
(a) If A and B are disjoint can they be independent?
(b) If A and B are independent can they be disjoint?
(c) If A ⊂ B can they be independent?
25. Suppose that X takes values between 0 and 1 and has probability density
function 2x. Compute Var(X) and Var(X 2 ).
Practice Exam 1: All Questions, Spring 2014 5
26. The random variable X takes values -1, 0, 1 with probabilities 1/8, 2/8, 5/8
respectively.
(a) Compute E(X).
(b) Give the pmf of Y = X 2 and use it to compute E(Y ).
(c) Instead, compute E(X 2 ) directly from an extended table.
(d) Compute Var(X).
E(X 2 )?
29. Suppose 100 people all toss a hat into a box and then proceed to randomly pick
out a hat. What is the expected number of people to get their own hat back.
Hint: express the number of people who get their own hat as a sum of random
30. Suppose I play a gambling game where I either win or lose k dollars. Suppose
I employ the following strategy to try to guarantee that I win some money.
I bet $1; if I lose, I double my bet to $2, if I lose I double my bet again. I continue
until I win. Eventually I’m sure to win a bet and net $1 (run through the first few
If this really worked casinos would be out of business. Our goal in this problem is to
(a) Let X be the amount of money bet on the last game (the one I win). X takes
values 1, 2, 4, 8, . . . . Determine the probability mass function for X. That is, find
(c) Use your answer in part (b) to explain why the stategy is a bad one.
32. (a) Suppose that X is uniform on [0, 1]. Compute the pdf and cdf of X.
(b) If Y = 2X + 5, compute the pdf and cdf of Y.
33. (a) Suppose that X has probability density function fX (x) = λe−λx for x ≥ 0.
Compute the cdf, FX (x).
Practice Exam 1: All Questions, Spring 2014 6
34. Suppose that X is a random variable that takes on values 0, 2 and 3 with
probabilities 0.3, 0.1, 0.6 respectively. Let Y = 3(X − 1)2 .
(a) What is the expectation of X?
(b) What is the variance of X?
(c) What is the expection of Y ?
(d) Let FY (t) be the cumulative density function of Y . What is FY (7)?
35. Suppose you roll a fair 6-sided die 100 times (independently), and you get $3
every time you roll a 6. Let X1 be the number of dollars you win on rolls 1 through
25.
Let X2 be the number of dollars you win on rolls 26 through 50.
Let X3 be the number of dollars you win on rolls 51 through 75.
Let X4 be the number of dollars you win on rolls 76 throught 100.
Let X = X1 + X2 + X3 + X4 be the total number of dollars you win over all 100 rolls.
(a) What is the probability mass function of X?
(b) What is the expectation and variance of X?
(c) Let Y = 4X1 . (So instead of rolling 100 times, you just roll 25 times and multiply
your winnings by 4.) (i) What are the expectation and variance of Y ?
(ii) How do the expectation and variance of Y compare to those of X? (I.e., are they
bigger, smaller, or equal?) Explain (briefly) why this makes sense.
36. Let R be the rate at which customers are served in a queue. Suppose that R is
exponential with pdf f (r) = 2e−2r on [0, ∞).
Find the pdf of the waiting time per customer T = 1/R.
x −2 −1 0 1 2
p(x) 1/15 2/15 3/15 4/15 5/15
⎨
1
for 0 ≤ a < 2
F (a) =
52
for 2 ≤ a < 4
⎩
5
⎪
⎪
1 for a ≥ 4.
41. For each of the following say whether it can be the graph of a cdf. If it can be,
say whether the variable is discrete or continuous.
(i) (ii) (iii)
F (x) F (x) F (x)
1 1 1
0.5 0.5 0.5
x x x
(iv)
(v)
(vi)
(vii)
(viii)
F (x) F (x)
1 1
0.5 0.5
x x
F (x) = x
2 for 0 ≤ x ≤ 1.
Compute P (
12 < X <
34 ).
F (X) = 2x
2 − x4 for 0 ≤ x ≤ 1.
(a) Compute P (
14 ≤ X ≤
34 ).
45. Normal Distribution: Throughout these problems, let φ and Φ be the pdf
and cdf, respectively, of the standard normal distribution Suppose Z is a standard
normal random variable and let X = 3Z + 1.
(a) Express P (X ≤ x) in terms of Φ
(b) Differentiate the expression from (a) with respect to x to get the pdf of X, f (x).
Remember that Φ/ (z) = φ(z) and don’t forget the chain rule
(c) Find P (−1 ≤ X ≤ 1)
(d) Recall that the probability that Z is within one standard deviation of its mean is
approximately 68%. What is the probability that X is within one standard deviation
of its mean?
(b) It is known that the sum of independent normal distributions is normal. Compute
P (W ≤ 6).
the first n trials and Tm the number of successes in the last m trials.
52. Compute the median for the exponential distribution with parameter λ. (The
exponential distribution is defined on page 62 of the text.)
In general, many phenomena follow the power law described by f (x). You can look
up ’Pareto principle’ in Wikipedia to read more about this.
S =X +Y and T = X − Y.
55. Data is taken on the height and shoe size of a sample of MIT students. Height
is coded by 3 values: 1 (short), 2 (average), 3 (tall) and shoe size is coded by 3 values
1 (small), 2 (average), 3 (large). The joint counts are given in the following table.
Shoe \ Height
1 2 3
1
234 225 84
2
180 453 161
3
39 192 157
Let X be the coded shoe size and Y the height of a random person in the sample.
(a) Find the joint and marginal pmf of X and Y .
(b) Are X and Y independent?
56. Let X and Y be two continuous random variables with joint pdf
57. Let X and Y be two random variables and let r, s, t, and u be real numbers.
(a) Show that Cov(X + s, Y + u) = Cov(X, Y ).
Practice Exam 1: All Questions, Spring 2014 11
58. Derive the formula for the covariance: Cov(X, Y ) = E(XY ) − E(X)E(Y ).
59. (Arithmetic Puzzle) The joint and marginal pmf’s of X and Y are partly
given in the following table.
Y
X\ 1 2 3
1 1/6 0 . . . 1/3
2 . . . 1/4 . . . 1/3
3 . . . . . . 1/4 . . .
1/6 1/3 . . . 1
(a) Complete the table.
(b) Are X and Y independent?
60. (Simple Joint Probability) Let X and Y each have range {1,2,3,4}. The
following formula gives their joint pmf
i+j
P (X = i, Y = j) =
80
Compute each of the following:
(a) P (X = Y ).
(b) P (XY = 6).
(c) P (1 ≤ X ≤ 2, 2 < Y ≤ 4).
61. Toss a fair coin 3 times. Let X = the number of heads on the first toss, Y the
total number of heads on the last two tosses, and F the number of heads on the first
two tosses.
(a) Give the joint probability table for X and Y . Compute Cov(X, Y ).
(b) Give the joint probability table for X and F . Compute Cov(X, F ).
this can happen is that correlation only measures the linear dependence between the
two variables. In this case, X and Y are not at all linearly related.
66. (Central Limit Theorem) Let X1 , X2 , . . . , X81 be i.i.d., each with expected
is normalized so this is the case). What is the probability that a randomly selected
group of 100 people has an average IQ above 115?
9 R Problems
R will not be on the exam. However, these problems will help you understand the
concepts we’ve been studying.
69. R simulation
Consider X1 , X2 , . . . all independent and with distribution N(0, 1). Let X m be the
average of X1 , . . . Xn .
(a) Give E(X n ) and σX n exactly.
(b) Use a R simulation to estimate E(X n ) and Var(X n ) for n = 1, 9, 100. (You
should use the rnorm function to simulate 1000 samples of each Xj .)
70. R Exercise
Let X1 , X2 , X3 , X4 , X5 be independent U (0, 1) random variables.
Let X = X1 + X2 + X3 and Y = X3 + X4 + X5 .
Use the runif() function to simulate 1000 trials of each of these variables. Use these
to estimate Cov(X, Y ).
Extra Credit
Compute this covariance exactly.
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.