Probability
Probability
Rare Event Rule for Inferential Statistics: If under a given assumption, the probability of a
particular observed event is extremely small, we conclude that the assumption is probably
not correct.
Vocabulary -
Eg:
● P denotes a probability.
● A, B, and C denote specific events.
● P(A) denotes the probability of event A occurring.
3 Types of Probability:
Eg:
3. Peyton completed 385 out of his first 528 passes. Find the probability that Peyton
will complete a pass.
5. Cloning people:
Poll: 91 people said cloning is good, 901 people said cloning is bad, and 20 people
had no opinions. Find the probability of Randomly selecting a person who thinks
cloning is a good idea.
Complementary Events - Events that are mutually exclusive (Can’t happen at the same
time). The complement of event A, denoted by 𝐴 consists of all outcomes in which event A
does not occur.
Eg:
The probability of an event plus the probability of the complement must be equal to 1
P(A) + P(𝐴) = 1
Compound event - A compound event is any event combining two or more simple events.
Eg:
Didn’t Do It Did It
Guilty 11 72
Not Guilty 85 9
= 11 + 72 + 9 = 92.
Addition Rule -
where P (A and B) denotes the probability that A and B both occur at the same time as an
outcome in a trial of a procedure.
Eg:
= 13/52 + 13/52 - 0
= 50%
Blond = 0.18
Female = 0.60
Blond Female = 0.12
= 66%
= 0.307 = 30.7%
Complementary events:
P(A) + P( 𝐴) = 1
P(A) = 1 - P( 𝐴)
P( 𝐴) = 1 - P(A)
Eg:
P(Girl) = 0.512
P(A and B) = P(event A occurs in a first trial and event B occurs in a second trial)
Q: Find the probability of Selecting someone guilty and then Someone not guilty
Didn’t Do It Did It
Guilty 11 72
Not Guilty 85 9
And then
P(Not Guilty) = 94/176 = 53.40 % (176 because we already found one guilty)
P(B|A) represents the probability of event B occurring after it is assumed that event A has
already occurred. (We can read (B|A) as “B given A” or as “event B occurring after event A
has already occurred.”)
Independent Events: The occurrence of one event does not depend on the occurrence of
another event or subsequent event. (Non-Independent events are Dependent).
Dependent Events: The occurrence of one event depends on the occurrence of another
event or subsequent event. (Dependent events are independent)
Eg:
1. If we roll a dice:
2. If we draw a card:
Eg:
P(B and B and B) without Replacement = P(B) * P(B|B) * P(B|B) = 2/9 * 1/8 * 0/7 = 0
%
2. Roll a dice
P(A and K and Q and J and 10) = 4/52 * 4/51 * 4/50 * 4/49 * 4/48 =
1024/31,18,75,200
Let’s suppose that we want to find the probability that among 3 children, there is “at least
one” girl. In such cases, the meaning of the language must be clearly understood:
2. The complement of getting at least one item of a particular type is that you get no
items of that type. For example, not getting at least 1 girl among 3 children is
equivalent to getting no girls (or 3 boys).
Eg:
1. Flip a coin 3 times. What is the probability of getting at least one head.
= 1 - P (No Heads)
= 1 - P (All Tails)
=1-½*½*½
=1-⅛
=⅞
2. Flip a coin 20 times. What is the probability of getting at least one head.
= 1 - P (No Heads)
= 1 - P (All Tails)
= 1 - ½ * ½ * ½ …….*½
20
= 1 - 1/2
= 1 - 1/ 1048576
= 0.999
For a sequence of two events in which the first event can occur m ways and the second
event can occur n ways, the events together can occur a total of m * n ways.
2. Security code - 1st digit can’t be 0 or 1 and the last digit cannot be zero -
Factorial:
● 0! = 1
● For any set of ‘n’ di erent items there are n! Di arrangements possible.
Eg:
1. There are 7 cool rides at Disneyland. How many di ways could you ride all of them?
Requirements:
If the preceding requirements are satisfied, the number of permutations (or sequences) of
r items selected from n di erent available items (without replacement) is
Eg:
1. A bet on an exact in a race is won by correctly selecting the horses that finish first and
second, and you must select those two horses in the correct order. The 132nd running of
the Kentucky Derby had a field of 20 horses. If a bettor randomly selects two of those
horses for an exact bet, what is the probability of winning?
There are 380 di erent possible arrangements of 2 horses selected from the 20 that are
available. If one of those arrangements is randomly selected, there is a probability of
1/380 that the winning arrangement is selected.
2. There are 10 people who want to be president, VP, Speaker, VS. We want to select 4
people to lead the country.
Requirements:
1. There are n items available, and some items are identical to others.
n! = Total items
Eg:
10! 10!
3! 2! 5!
= 3! 2! 5!
=
2. How many di erent ways could you arrange the word “Statistics”?
10!
3! 3! 2!
= 50400
3. How many could you plan to have a family with 7 girls and 5 boys?
12!
7! 5!
=
Requirements:
3. We consider rearrangements of the same items to be the same. (The combination ABC
is the same as CBA.)
1. Go on 5 rides out of 25 rides at magic mountain you don’t care about which order
you go on the rides, how many combinations of 5 rides could we select?
25!
25C5 = (25 − 5)! 5!
= 53130 Combinations.
Baye’s Theorem: Bayes' Theorem states that the conditional probability of an event,
based on the occurrence of another event, is equal to the likelihood of the second event
given the first event multiplied by the probability of the first event.