These slides are based on slides developed by Mine Çetinkaya-Rundel
The probability of an outcome is the proportion of times the outcome would occur if we observed the random process an infinite number of times
Which of the following events would you be most surprised by?
Which of the following events would you be most surprised by?
Law of large numbers states that as more observations are collected, the proportion of occurrences with a particular outcome, p
, converges to the probability of that outcome, p
.
When tossing a fair coin, if heads comes up on each of the first 10 tosses, what do you think the chance is that another head will come up on the next toss?
The probability is still 0.5, or there is still a 50% chance that another head will come up on the next toss.
P(H on 11th toss) = P(T on 11th toss) = 0.5
The coin is not “due” for a tail
The common misunderstanding of the law of large numbers is that random processes are supposed to compensate for whatever happened in the past; this is just not true and is also called law of averages.
Disjoint (mutually exclusive) outcomes: Cannot happen at the same time.
Non-disjoint outcomes: Can happen at the same time
What is the probability of drawing a jack or a red card from a well shuffled full deck?
What is the probability of drawing a jack or a red card from a well shuffled full deck?
P(A ∪ B) = P(A) + P(B) - P(A ∩ B)
What is the probability that a randomly sampled student thinks marijuana should be legalized or they agree with their parents’ political views?
Shares Parent’s View | Doesn’t share | Total | |
---|---|---|---|
NO legalize | 40 | 11 | 51 |
YES legalize | 78 | 36 | 114 |
Total | 118 | 47 | 165 |
What is the probability that a randomly sampled student thinks marijuana should be legalized or they agree with their parents’ political views?
P(A ∪ B) = P(A) + P(B) - P(A ∩ B)
P(YES legalize or agree with parents) = P(YES legalize) + P(agree with parents) - P(YES legalize and agree with parents)
What is the probability that a randomly sampled student thinks marijuana should be legalized or they agree with their parents’ political views?
What is the probability that a randomly sampled student thinks marijuana should be legalized or they agree with their parents’ political views?
General rule:
P(A or B) = P(A) + P(B) - P(A and B)
Go to gradescope and answer the questions about the union of non-disjoint events
A probability distribution lists all possible events and the probabilities with which they occur.
The probability distribution a coin toss:
Head | Tail | |
---|---|---|
Probability | 0.50 | 0.50 |
Rules for probability distributions:
Rules for probability distributions:
The probability distribution two coin tossess:
Head Head | Head Tail | Tail Head | Tail Tail | |
---|---|---|---|---|
Prob. | 0.25 | 0.25 | 0.25 | 0.25 |
Sample space is the collection of all possible outcomes of an experiment
S = {H, T}
Sample space is the collection of all possible outcomes of an experiment
S = {H, T}
S = {HH, HT, TT, TH}
Sample space is the collection of all possible outcomes of an experiment
S = {H, T}
S = {HH, HT, TT, TH}
S = {HHH, HHT, HTH, HTT, THH, TTH, TTH, TTT}
In a survey, 52% of respondents said they are Democrats. What is the probability that a randomly selected respondent from this sample is a Republican?
In a survey, 52% of respondents said they are Democrats. What is the probability that a randomly selected respondent from this sample is a Republican?
If the only two political parties were Republican and Democrat, then 1
would be possible. However it is also possible that some people do not affiliate with a political party or affiliate with a party other than these two. Then 3
is also possible. However 2
is definitely not possible since it would result in the total probability for the sample space being above 1.
Complementary events are two mutually exclusive events where one event consists of all outcomes that are not in the other event (the two probabilities add to 1).
Example: Rolling a Six-Sided Die
The sample space for rolling a standard six-sided die is: S = {1, 2, 3, 4, 5, 6}
{1, 3, 5}
0.7
3/4
1/2
15/40
, 3/8
Two processes are independent if knowing the outcome of one provides no useful information about the outcome of the other.
If probability that A occurs given that B is true equals the probability of A, then A and B are independent:
P(A occurs, given that B is true) = P(A | B) = P(A)
Between January 9-12, 2013, SurveyUSA interviewed a random sample of 500 NC residents asking them whether they think widespread gun ownership protects law abiding citizens from crime, or makes society more dangerous. 58% of all respondents said it protects citizens. 67% of White respondents, 28% of Black respondents, and 64% of Hispanic respondents shared this view.
http://www.surveyusa.com/client/PollReport.aspx?g=a5f460ef-bba9-484b-8579-1101ea26421b
P(protects citizens) = 0.58
P(protects citizens | White) = 0.67
P(protects citizens | Black) = 0.28
P(protects citizens | Hispanic) = 0.64
P(protects citizens) = 0.58
P(protects citizens | White) = 0.67 ≠ P(protects citizens)
P(protects citizens | Black) = 0.28 ≠ P(protects citizens)
P(protects citizens | Hispanic) = 0.64 ≠ P(protects citizens)
P(protects citizens) varies by race/ethnicity, therefore opinion on gun ownership and race ethnicity are most likely dependent
The Product Rule for Independent Events states that if two events A and B are independent, then the probability of both events occurring (their intersection) is equal to the product of their individual probabilities.
P(A and B) = P(A) x P(B)
P(A ∩ B) = P(A) × P(B)
P(A ∩ B) = P(A) x P(B)
You toss a coin twice, what is the probability of getting two tails in a row?
P(T₁ ∩ T₂) = P(T₁) × P(T₂) = 1/2 × 1/2 = 1/4
The product rule is fundamental in probability theory and is used extensively in applications ranging from genetics to quality control in manufacturing.
A recent Gallup poll suggests that 25.5% of Texans do not have health insurance as of June 2012. Assuming that the uninsured rate stayed constant, what is the probability that two randomly selected Texans are both uninsured?
A recent Gallup poll suggests that 25.5% of Texans do not have health insurance as of June 2012. Assuming that the uninsured rate stayed constant, what is the probability that two randomly selected Texans are both uninsured?
\(0.255^2\)
Do the sum of probabilities of two disjoint events always add up to 1? Not necessarily, there may be more than 2 events in the sample space, e.g. party affiliation.
Do the sum of probabilities of two complementary events always add up to 1? Yes, that’s the definition of complementary, e.g. heads and tails