Causal inference · Sensitivity analysis · Case 2 of 2
On 2 October 2016 Colombians voted on the peace agreement between President Juan Manuel Santos’s government and the FARC guerrillas, after five decades of war. “No” won with 50.2%. Using the results for 1,123 towns, Hazlett and Parente asked two questions. Did towns that had suffered more FARC violence vote more for peace? And did towns that had backed Santos?
Assumes you have done the Darfur case: partial R², the robustness value, benchmarking and contour plots. This page gives fewer hints.
| Variable | What it is (one row per town) |
|---|---|
yes_vote | Outcome: % voting Yes to the peace deal |
fat_2011to2015_gtd | Deaths caused by the FARC in the town, 2011–15 (only 102 of the 1,123 towns had any) |
fat_2001to2005_gtd, fat_2006to2010_gtd | The same, in earlier periods |
fat_2010to2013 | The same, 2010–13 |
santos10, santos14 | % voting for Santos in the 2010 and 2014 presidential elections |
gdppc, pop13, elev, total_eligible | GDP per capita, population in 2013, mean elevation, number of eligible voters |
Model V (violence): yes_vote on recent FARC deaths (2011–15), controlling for deaths in 2001–05 and 2006–10, eligible voters, the 2010 Santos vote and GDP per capita.
Model S (Santos): yes_vote on the 2014 Santos vote, controlling for FARC deaths 2010–13, elevation, GDP per capita and population.
Your prediction. Which model’s main estimate will be harder for an unobserved confounder to explain away?
Fit both models on steps 2 and 3 and find out.
Treatment: fat_2011to2015_gtd, the number of deaths caused by the FARC in the town in 2011–15.
Outcome: yes_vote, the % of the town voting Yes to the peace deal.
The starter fits the bivariate version: the Yes vote on recent FARC deaths alone. Add Model V’s five controls to the formula:
fat_2001to2005_gtd and fat_2006to2010_gtd: FARC deaths in the two earlier periodstotal_eligible: the number of eligible voterssantos10: the 2010 Santos votegdppc: GDP per capita+: yes_vote ~ fat_2011to2015_gtd + fat_2001to2005_gtd + …Run sensemakr on Model V with the 2010 Santos vote as the benchmark, at 1× its strength. Store the result as s_violence. As in Darfur, the numbers are in two tables inside it:
s_violence$sensitivity_stats: the robustness value (column rv_q) and the robustness value for significance (column rv_qa). Printing s_violence shows both.s_violence$bounds: the bound, i.e. the adjusted estimate if a confounder were as strong as santos10 (column adjusted_estimate). Printing s_violence leaves it out, so the last line of the cell prints it.sensemakr(model = …, treatment = "…", benchmark_covariates = "…", kd = …), with three changes: the model is m_violence (from exercise 1), the treatment is the recent-deaths variable, and the benchmark is the 2010 Santos vote at 1× its strength. Variable names go in quotes.s_violence <- sensemakr(model = m_violence, treatment = "fat_2011to2015_gtd", benchmark_covariates = "santos10", kd = 1), keeping the two lines below it that print the result and its bound. If R says Variables not found in model: santos10, exercise 1 is missing that control: fix it and run exercise 1 again first.rv_q is 0.061. What does that mean?
rv_qa is 0.0043. What does that mean?
$bounds shows an adjusted_estimate of −0.24 for “1x santos10”. What does that mean?
Treatment: santos14, the % of the town voting for Santos in the 2014 presidential election.
Outcome: yes_vote, the % of the town voting Yes to the peace deal.
The starter fits the Yes vote on santos14 alone. Add Model S’s four controls to the formula, each with a +:
fat_2010to2013: FARC deaths in 2010–13elev: the town’s mean elevationgdppc: GDP per capitapop13: population in 2013outcome ~ treatment + control + control + …. Here the treatment is santos14.m_santos <- lm(yes_vote ~ santos14 + fat_2010to2013 + elev + gdppc + pop13, data = colombia). Keep the second line: it prints the result for santos14 (about 0.667).This time the call is written out for you, with two blanks. Delete the # at the start of each of the four sensemakr lines, then fill in:
treatment: Model S’s treatment variable, in quotes;kd: how many times as strong as each benchmark the imagined confounder is. Use 3.The benchmarks are GDP per capita and elevation. The last two lines print the robustness values (from $sensitivity_stats) and the two bounds (from $bounds).
# and the space after it at the start of the four sensemakr lines, so s_santos <- sensemakr(…) runs. The first line, s_santos <- NULL, can stay or go: it’s only there so the starter runs before you fill it in, and the sensemakr line replaces it. Then replace ______ with the treatment’s name and __ with a number.s_santos <- sensemakr(model = m_santos, treatment = "santos14", benchmark_covariates = c("gdppc", "elev"), kd = 3). If R says could not find function or object 'm_santos' not found, run exercise 3 first.Compare the two contour plots. Model S needs lim = 0.9 to show its zero line at all.
Switch between the models. For each, find the equal strength that reaches the zero line, then show the benchmarks. Which benchmark would overturn which finding? The lower chart uses the same dials for the t-statistic: there the dashed line is where the estimate stops being significant. Check the axes: each model has its own scale.
Model V’s robustness value is 6.1%, but its robustness value for significance is only 0.4%. Why are they so far apart?
Three times elevation would explain 77% of the leftover variation in Santos support, yet it moves Model S’s estimate only from 0.667 to 0.638. Why?
A confounder as strong as the 2010 Santos vote turns Model V’s estimate to −0.24. A critic says: “So the violence effect is spurious.” Which reply is best?
Name one plausible unobserved confounder of Model V (something that affects both FARC violence in a town and its Yes vote). Is it likely to be as strong as 2010 Santos support? One or two sentences.
First, put the two robustness values side by side. Unlike the benchmark bounds, they don’t depend on which covariates were picked as yardsticks, so they compare the two findings like for like.
| How strong a hidden confounder would need to be (share of the leftover variation in both the treatment and the outcome) | Model V: recent FARC deaths | Model S: 2014 Santos vote |
|---|---|---|
To be able to bring the estimate to zero (rv_q) | 6.1% | 67.8% |
To be able to make it no longer significant at 5% (rv_qa) | 0.43% | 66.0% |
| For comparison: the t-statistic | 2.11 | 37.5 |
As a group: which summary is best supported?
The second summary matches the numbers in the table: a hidden confounder would need about two-thirds of the leftover variation to threaten Model S, but only 6.1% (0.43% for significance) to threaten Model V. One more thing to discuss: being robust to confounding doesn’t make Model S’s estimate a clean causal effect. What would it even mean to “assign” a town more Santos support? It may measure political alignment more than a cause of the vote. Sensitivity analysis answers “could confounding explain this?”, not “is this the quantity we care about?”
Exit question: compared with Darfur, why is the violence estimate here so much more fragile? Use the robustness value and the benchmark in your answer. Two or three sentences.
As a group: pick a claim from your own studies or life that rests on comparing places or people (towns that got a new bus line, say, but find your own). Is its margin more like Model V’s (barely past 1.96) or Model S’s, and which factor you can observe would you use as the yardstick for a hidden one? What would you check before putting it in a brief?
You should now be able to:
rv_q and rv_qa, which don’t depend on the benchmark chosen (steps 2, 3 and 6);Data: Hazlett, C., & Parente, F. (2020). Who supports peace with the FARC? A sensitivity-based approach under imperfect identification. Distributed as colombia in the R package sensemakr (Cinelli, Ferwerda & Hazlett); Models V and S follow the package’s examples. Method: Cinelli, C., & Hazlett, C. (2020). Making sense of sensitivity: Extending omitted variable bias. Journal of the Royal Statistical Society, Series B, 82(1), 39–67.
Share of the leftover variation in that Z explains, after the controls.
Share of the leftover variation in that Z explains, after treatment and controls.
| Adjusted estimate | |
| Bias Z would cause | |
| Adjusted standard error | |
| Adjusted t-statistic |
You can also click or drag on the chart.