pivot_wider()
and kable()
One goal of statistics is to answer a research question, by making inferences about a population based on data in one or more samples.
One goal of statistics is to answer a research question, by making inferences about a population based on data in one or more samples.
Q - What is a research question?
One goal of statistics is to answer a research question, by making inferences about a population based on data in one or more samples.
Q - What is a research question?
What we want to learn and what we are curious about. For example:
Q - What is a "population"?
Q - What is a "population"?
Q - What is a "sample"?
Q - What is a "population"?
Q - What is a "sample"?
Q - What is a good sample and why is it important?
Q - Identify the population and potential samples to answer the following questions.
How likely is it for patients with early Parkinson's disease to experience a serious movement disorder within 5 years after the first diagnosis?
Q - Identify the population and potential samples to answer the following questions.
How likely is it for patients with early Parkinson's disease to experience a serious movement disorder within 5 years after the first diagnosis?
Q - Identify the population and potential samples to answer the following questions.
Does the average amount of caffeine vary by vendor in 12 oz. cups of coffee at Duke coffee shops?
Q - Identify the population and potential samples to answer the following questions.
Does the average amount of caffeine vary by vendor in 12 oz. cups of coffee at Duke coffee shops?
Q - Identify the population and potential samples to answer the following questions.
How popular is the president among college students?
Q - Identify the population and potential samples to answer the following questions.
How popular is the president among college students?
In order to draw principled conclusions from data, we rely on a formal probabilistic framework that allows us to quantify uncertainty.
Q - In probability theory, what is a term indicating the result of an observation or experiment?
In order to draw principled conclusions from data, we rely on a formal probabilistic framework that allows us to quantify uncertainty.
Q - In probability theory, what is a term indicating the result of an observation or experiment?
Q - What is a "sample space"?
Q - Say in words the following math expressions.
A is the event that a student in STA199 is a sophomore. B is the event that a student in STA199 is a senior.
Q - Say in words the following math expressions.
A is the event that a student in STA199 is a sophomore. B is the event that a student in STA199 is a senior.
Union: A∪B
Intersection: A∩B
Q - Say in words the following math expressions.
A is the event that a student in STA199 is a sophomore. B is the event that a student in STA199 is a senior.
Union: A∪B
Intersection: A∩B
Q - Say in words the following math expressions.
A is the event that a student in STA199 is a sophomore. B is the event that a student in STA199 is a senior.
Union: A∪B
Intersection: A∩B
Complement: Bc
Q - What is the "probability" of an event?
Interpretations (1) vs. (2)
Q - Probability Rules?
[0, 1]
The probability of the entire sample space is 1; P(Ω)=1
Q - Probability Rules?
[0, 1]
The probability of the entire sample space is 1; P(Ω)=1
Complement rule: P(A)+P(Ac)=1
Q - Probability Rules?
[0, 1]
The probability of the entire sample space is 1; P(Ω)=1
Complement rule: P(A)+P(Ac)=1
Additive rule: P(A∪B)=P(A)+P(B)−P(A∩B)
For 64,821 men enrolled in the European Prospective Investigation into Cancer and Nutrition after a mean follow-up of 16.4 years
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Source: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5788283/
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Let A be the event that a man died and B be the event that a man was a non-coffee drinker. Calculate the following probabilities for a randomly selected person in the cohort:
Did not die | Died | |
---|---|---|
Does not drink coffee | 5438 | 1039 |
Drinks coffee occasionally | 25369 | 4440 |
Drinks coffee regularly | 24934 | 3601 |
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |