ST 371 Note Outline 2: Probability: Sample Space, Events, and Probability
ST 371 Note Outline 2: Probability: Sample Space, Events, and Probability
Note:
Page 2 of 13
Notation:
Ex: Consider an experiment where we flip a single, fair coin one time.
Recall that for such an experiment, S = {H, T} (where H=Heads and
T=Tails). What is the probability of getting a headsi.e. what is P(H)?
Suppose now that I actually carry out the experiment. After one flip,
what percentage of the time did I get heads?
What other possibility was there?
What possibilities are there after two flips?
What possibilities are there after three flips?
Note:
Page 3 of 13
Number of coin
flips
_______________________________ to occur.
Events with a low probability (_______________________________) could
still happen, but they are _______________________________ to occur.
Page 4 of 13
Page 5 of 13
Conditional Probability
Page 6 of 13
Consider two events A and B. What is the probability that A will occur given
that we know B has occurred? Or, what is the probability of A conditioned on
B?
Ex: Consider an experiment where three names are drawn from a hat.
Let A = your name is first and B = your name is one of the three.
Notation:
Page 7 of 13
Drug
No
Drug
Test 0.01
0.96
P( A B)
probability equation for
gives
Ex: Suppose that when you play a video game for the first time, you
have a 0.3 probability of winning. Your probability of winning is higher
when you play for a second time, but how much higher depends on
your first result. If you win on the first game, then your probability of
winning on the second game increases to 0.8. But if you lose on the
first game, then your probability of winning on the second game
increases only to 0.4.
What is the probability that you win on both of your first two plays?
What is the probability that you win on your second play of the game, regardless of
whether or not you won on your first play?
Page 8 of 13
P ( B ) P( B | A1 ) P( A1 ) L P ( B | Ak ) P ( Ak )
k
P ( B | Ai ) P ( Ai )
i 1
P( Aj B )
P( B)
P( B | Aj ) P( Aj )
k
P( B | A ) P( A )
i 1
j=1,...,k
Ex: (Video Games) Given that you won on your second play of the game, what is the
probability that you won on your first play?
Page 9 of 13
Given that you lost on your second play of the game, what is the probability that you won
on your first play?
Ex: (Drug test) Drug tests are designed with a known sensitivity. However, those
interested in such tests want to know the probability that the person tested actually used
the drug given that the test was positive. Using appropriate notation, write out and solve
for the probability of interest. (Assume the sensitivity and specificity are both 99% and
0.5% of the population uses the drug.)
Page 10 of 13
Independence
Lose 2nd
Turn
Total
0.24
0.06
0.3
0.28
0.42
0.7
Total
0.52
0.48
1.00
Page 11 of 13
Lose 2nd
Turn
Total
This proposition extents to more than two events: Events A1, , An are
mutually independent if, for every k (k=2,3,n) and every subset of indices
i1,i2,ik,
Ex: A multiple choice test has 20 questions, each with four possibilities.
If a student has an 80% chance of getting each question correct, and
the questions are independent, what is the probability that student will
get a perfect score?
Let Aj = students answer is correct on question j.
Page 12 of 13
Page 13 of 13