Sources of Variation
WORKSHOP SEPT 20, 2024
1
2
3
Sources of Variation
4
Activity 1: Explaining variation
Student background: understanding of univariate summary statistics and graphs
Activity:
5
6
1. What is a ‘typical’ yearly income for these 4,365 people?
2. Do the yearly incomes of these 4,365 people vary? How do you know?
7
3. What would the values of the standard deviation and IQR be if there was no variability in yearly income for these 4,365 people?
4. What would the values of the mean, median, Q1, Q3, minimum and maximum yearly incomes be if there was no variability?
8
5. What would the histogram of yearly incomes look like if there was no variability in yearly income for these 4,365 people?
9
6. What do you think are some possible causes or reasons or potential sources of the variability in the yearly incomes of these 4,365 people? (type into chat)
10
Here are the same 4,365 yearly incomes categorized by education level
7. Is there a relationship (or association) between yearly income and education level? Provide an explanation of your thinking with numerical support.
11
8. Does it appear that education level is responsible for or explains at least some of the variability we saw in the 4,365 yearly incomes? Explain.
Left-over variation in yearly income is generally less than the overall standard deviation
12
9. If education level was not responsible for any variability (or very little) in the yearly incomes what would be true of the 5 boxplots relative to each other?
13
10. Does education level explain all of the variability in the 4,365 yearly incomes? Explain your thinking.
14
11. What are some potential sources or reasons for the left-over variability in yearly incomes?
Left-over variation in yearly income is generally less than the overall standard deviation
15
Here are the same 4,365 yearly incomes categorized by region of the U.S.:
12. Does region of the U.S. explain at least some of the variability in the 4,365 yearly incomes? Explain.
16
Here are the same 4,365 yearly incomes categorized by region of the U.S.
13. Does region of the U.S. explain all of the variability in the 4,365 yearly incomes? Explain.
17
14. Which variable, education level or region of the U.S. do you think explains more of the variation in the yearly incomes of these 4,365 people? Explain.
18
Left-over
Proportion explained
Activity 2: Memory Study
Motivational Video (4 minutes): https://youtu.be/4caEuNmlaWA
19
Data Collection
20
2 follow-up questions
Memory Scores
21
Memory Score (# of letters correct)
Type of Sequence
Goal: Cause-and-effect?
22
Memory Score (# of letters correct)
Sources of variation in memory score
2. Will each student have the exact same memory score?
Before we look at any data:
If not, what are some potential sources of variation in memory scores? (type into the chat)
23
Memory Score (# of letters correct)
Other Sources of variation in memory score:
Caffeine,
amount of sleep,
how good a person is at memorizing, whether the person was distracted
……. unknown
How would caffeine consumption (yes, no) be a source of variability in memory scores?
How would the amount of sleep be a source of variability in memory scores?
24
Memory Score (# of letters correct)
Other Sources of variation in memory score:
Caffeine,
amount of sleep,
how good a person is at memorizing, whether the person was distracted
……. unknown
What about student age? Is age likely to be responsible for much variation in the memory scores?
What about the conditions of the experiment? Are the conditions under which the data were collected likely to be causing much variation in the memory scores?
Sources of Variation Diagram
25
Observed variation in: | Sources of Explained Variation | Sources of Unexplained Variation |
Inclusion criteria: | | |
Constant by Design: |
Sources of Variation Diagram
26
Observed variation in: memory score | Sources of Explained Variation | Sources of Unexplained Variation |
Inclusion criteria: | | |
Constant by Design: |
Sources of Variation Diagram
27
Observed variation in: memory score | Sources of Explained Variation | Sources of Unexplained Variation |
Inclusion criteria: | Type of sequence (FBI-O, FBIO) | |
Constant by Design: |
Sources of Variation Diagram
28
Observed variation in: memory score | Sources of Explained Variation | Sources of Unexplained Variation |
Inclusion criteria: | Type of sequence (FBI-O, FBIO) | Caffeine Amount of sleep Skill at memorizing Level of effort …….. unknown |
Constant by Design: |
Sources of Variation Diagram
29
Observed variation in: memory score | Sources of Explained Variation | Sources of Unexplained Variation |
Inclusion criteria: Age, major, | Type of sequence (FBI-O, FBIO) | Caffeine Amount of sleep Skill at memorizing Level of effort …….. unknown |
Constant by Design: |
Sources of Variation Diagram
30
Observed variation in: memory score | Sources of Explained Variation | Sources of Unexplained Variation |
Inclusion criteria: Age, major, | Type of sequence (FBI-O, FBIO) | Caffeine Amount of sleep Skill at memorizing Level of effort …….. unknown |
Constant by Design: Data collection (time of day, webpage, determination of memory score, etc.) |
Scope of inference
Limitations of study
Memory Scores
4. Describe the distribution of memory scores. What is a ‘typical’ memory score? How much variability is there in the memory scores? Any unusual memory scores?
31
Memory Scores
5. What differences/similarities are there in the distributions of memory score for the two sequences? Which sequence tended to have higher memory scores? Support your statements with numerical evidence.
32
Memory Scores
33
34
Memory Score (# of letters correct)
Type of Sequence
Other Sources of variation in memory score:
Caffeine
What would need to be true for caffeine to provide an alternative explanation for the observed difference in memory score between the two sequence groups?
1.
2.
What would it look like for caffeine to be related to the type of sequence?
A confounding variable is a variable that provides an alternative explanation for the study outcome. To act as a confounder, the variable must have a relationship with both the response and explanatory variable.
Is caffeine a confounding variable in our study?
35
36
Memory Score (# of letters correct)
Type of Sequence
Other Sources of variation in memory score:
Caffeine
The purpose of random assignment is to reduce the possibility of confounding variables. How?
1.
2.
Purpose of Random Assignment
37
Back to Sequence and Memory Scores
38
Memory Score (# of letters correct)
Type of Sequence
Goal: Cause-and-effect?
Other Sources of variation in memory score:
Caffeine,
amount of sleep,
how good a person is at memorizing, whether the person was distracted
……. unknown
Random Assignment, so hopefully no confounders
Could the results we’ve observed have happened by random chance?
Random Sampling vs. Random Assignment
39
40
To generate a class specific URL for the Memory Study:
Applets: