

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!


Homework 3
STAT 3704
1. A student buys cereal once a week. When she does, she always chooses either Raisin Bran or
Cheerios. Suppose that for the first week back on campus, she flips a fair coin to decide whether to buy
Raisin Bran or Cheerios. Also, for each purchase after the first, she will stick with the same brand next
week with probability 1/5 or she will switch to the other brand with probability 4/5. What is the
probability that her cereal purchases for the next four weeks will be Cheerios, Raisin Bran, Raisin Bran,
and Cheerios, in that order? Give your answer either in fraction form or to four decimal places.
Answer: Noting that
P ( switch ) =
, P ( stick )=
, we get that
2. A couple wants to have a child. To check whether they have successfully conceived or not, they buy a
pregnancy test from the local drugstore. The label on the box states that the test has a sensitivity of
95% and a specificity of 90%. The couple uses the test, and the results come back positive. Assuming
that they had a 70% chance of conceiving in the first place, what is the probability that given the positive
test result, the woman really is pregnant? Give your answer to four decimal places.
Answer: Let R denote the event âthe woman is pregnantâ and let T denote the event âthe test comes
back positiveâ. We are given that P ( R )=0.7, P ( T ⨠R )=0.95 (the sensitivity!), and P
'
(the specificity!) in the problem statement, we can use the complement rule on the conditional
probabilities to get P
'
| R
and P
| R
'
, respectively. Since the question is asking for
P ( R ⨠T ), we use Bayesâ Rule as follows:
So there is about a 96% chance the woman really is pregnant.
3. For each situation, define the random variable in question, and identify the appropriate distribution
and all relevant parameters for that variable.
Example: You flip a fair coin 10 times and count the number of times the coin comes up heads.
Example Answer: Let X = # of heads. Then X is binomial with parameters n = 10 and p =
.
a) A physicist counts the number of particles striking a sensor. He knows from theory that in a given
hour, an average of 20 particles should hit the sensor.
Answer: Let X be the number of particles hitting the sensor in an hour, then X is Poisson with Îť = 20
particles/hour.
b) An engineer tests the lifetime of a new laptop battery. She expects it to last 3 hours before
completely draining.
Answer: Let X be the lifetime of the battery, in hours. Then X is exponential with parameter
Îť =
(since the expectation is 3 hours and
Îť
).
c) A gambler runs simulations on his computer to model playing roulette when betting $1 on red (the
probability of winning such a bet is
). The gambler wants to know how many plays it will take to win
10 times.
Answer: Let X be the number of plays it takes to win a game (including the final winning play!). Then X
is Negative Binomial with
r =10, p =
.
d) A fishery technician knows that there are 100 fish in a tank, with 40 males and 60 females. The
technician takes a sample of 10 fish and counts the number of females.
Answer: Let
be the number of female fish in the sample. Then
is Hypergeometric with
N =100, n =10, G = 60.
e) A student parks his car illegally so that he can make it to his class in time. He is gone for 60 minutes,
all told. Upon returning, he finds that the VT police have written him a parking ticket. The student
wants to know how long the car had been parked there before the ticket was written (no cynical
answers, please!).
Answer: Let X be the time in minutes at which the ticket was written, using 0 as the time the student
left the car. Then X is uniform on the interval
.
f) A basketball player playing in tonightâs game has a 30% 3-pointer history over the season. How many
3-point shots will he take before he makes one this game?
Answer: Let X be the number of shots he takes to make the 3-pointer (including the one that goes in!)
Then X is Geometric with p =0.3. If you want the number of misses before he makes the first one,
then this number will just be X â 1.