Multivariable Thinking
Todd Swanson
Hope College
swansont@hope.edu
My Tasks
Association and Confounding
Do COVID vaccines work?
3
Introduction
Introduction
https://assets.publishing.service.gov.uk/media/610d031f8fa8f506aab17866/Technical_Briefing_20.pdf
Observational Units and Variables
Explanatory and Response Variables
The vaccination status is the explanatory variable and if the person died or survived is the response.
The Data
No, a larger proportion of the vaccinated patients died (481/117,114 = 0.004107) than unvaccinated (253/151,052 = 0.001675).
| Unvaccinated | Vaccinated | Total |
Died | 253 | 481 | 734 |
Survived | 150,799 | 116,633 | 267,432 |
Total | 151,052 | 117,114 | 268,166 |
Table 1: The mortality and vaccination status for all COVID-19 cases in England involving the Delta variant from Feb to Aug 2021
Relative Risk
The relative risk is 0.0004107/0.001675 = 2.45. This means that someone that was vaccinated was 2.45 times as likely to die as someone not vaccinated. This seems like a large difference and noteworthy.
Association
Definition: Two variables are associated or related if the value of one variable gives you information about the value of the other variable. When comparing two groups, association can be seen when the proportions or means take different values in the two groups.
Yes, because the two proportions we found are quite different.
Causation or not
There are two possible explanations for this odd finding that those that were vaccinated were more likely to die than those that were unvaccinated:
(Of course, another explanation is random chance though we can safely rule this out.)
Plausible Alternative Variables
The vaccinated group could have tended to be older, more likely to have chronic illnesses or other diseases, less active, less able to get medical help.
Sources of Variation Diagram
Observed Variation in: Death from COVID-19 | Sources of explained variation | Sources of unexplained variation |
Vaccination status (at least one dose or not) | | |
Inclusion criteria and Design: All reported cases of COVID-19 from the Delta variant in England from Feb 1 to Aug 2, 2021 where the vaccination status was known |
Age as a possible alternative variable
| Unvaccinated | Vaccinated | Total |
Older (> 50) | 3,440 | 27,307 | 30,747 |
Younger (<50) | 147,612 | 89,807 | 237,419 |
Total | 151,052 | 117,114 | 268,166 |
Table 2: The age category and vaccination status for all COVID-19 cases in
England involving the Delta variant from Feb to Aug 2021
The vaccinated group had a larger proportion of older patients
(27,307/117,114 = 0.2332) than unvaccinated group (3,440/151,052 = 0.0228).
Mosaic Plot
Confounding Variable
Confounding Variable
Confounding?
Are age and mortality associated?
Table 3: The mortality and age category for all COVID-19 cases in England involving the Delta variant from Feb to Aug 2021
| Younger | Older | Total |
Died | 69 | 665 | 734 |
Survived | 237,350 | 30,082 | 267,432 |
Total | 237,419 | 30,747 | 268,166 |
The older group were much more likely to die (665/30,747 = 0.0216) than the younger group (69/237,419 = 0.0003).
Cause and Effect?
Because there appears to be an association between age and vaccination status as well as between age and mortality, age is a confounding variable. So, from the data we can’t determine if being vaccinated is causing more deaths or age is. It could also be neither and some other confounding variable is the cause.
Digging Deeper
Just Younger Group
Younger Group | |||
| Unvaccinated | Vaccinated | Total |
Died | 48 | 21 | 69 |
Survived | 147,564 | 89,786 | 237,350 |
Total | 147,612 | 89,807 | 237,419 |
11a. In just the younger patients, which group, unvaccinated or vaccinated, had a smaller proportion deaths? .
Table 4a: The mortality and vaccination status for all COVID-19 cases in England involving the Delta variant from Feb to Aug 2021 for just the younger group
A smaller proportion of the vaccinated patients died (21/89,807 = 0.0002338) than unvaccinated (48/147,612 = 0.0003252).
Just Older Group
Older Group | |||
| Unvaccinated | Vaccinated | Total |
Died | 205 | 460 | 665 |
Survived | 3,235 | 26,847 | 30,082 |
Total | 3,440 | 27,307 | 30,747 |
11b. In just the older patients, which group, unvaccinated or vaccinated, had a smaller proportion deaths? .
Table 4b: The mortality and vaccination status for all COVID-19 cases in England involving the Delta variant from Feb to Aug 2021 for just the older group
A smaller proportion of the vaccinated patients died (460/27,307 = 0.01685) than unvaccinated (205/3,440 = 0.05959)
Simpson’s Paradox
No, the opposite occurred. In both groups the larger proportion of deaths came from the unvaccinated groups.
Definition: An association or comparison that holds for all of several groups that reverse direction when the data are merged to form a single group is called Simpson’s Paradox. |
Relative Risk Revisited (1)
Younger: 0.0003252/0.0002338 = 1.39
Older: 0.05959/0.01685 = 3.54
Relative Risk Revisited (2)
b. Explain what these relative risks mean in context.
Relative Risk Revisited (3)
c. Which group does the vaccine seem to have the largest benefit?
The vaccine seems to have the largest benefit for the older group because the relative risk of death is higher when comparing unvaccinated to vaccinated than that of the younger group.
Causation?
While it certainly is an indication that vaccination will help reduce deaths, we still can’t conclude that it is causing the reduction because there still could be confounding variables present.
When can we conclude causation?
Mosaic Plots with Multiple Variables
30
Results from National Occupant Protection Use Survey
31
Do State Laws have an Impact?
32
Adding a Third Variable (enforcement) to our Plot
33
Two Quantitative Variables (plus a categorical variable)
34
Martin-Silverstone E, Vincze O, McCann R, Jonsson CHW, Palmer C, Kaiser G, et al. (2015) Exploring the Relationship between Skeletal Mass and Total Body Mass in Birds. PLoS ONE 10(10): e0141794. https://doi.org/10.1371/journal.pone.0141794
Just look at response variable first
35
Total Mass
Using Skeletal Mass to predict Total Mass
36
Flight type
37
Using type of flight to help explain variation in total mass
17.2% of the variation in total mass is explained by flight type
38
Using type of flight and skeletal mass to predict total mass
Now 81.3% of the variation in total mass is explained by skeletal mass and flight type.
39
Bird Data in Multivariable applet