Elamur Research

A Selection Bias Approach to Sensitivity Analysis for Causal Effects

Paper · 2013 · Matthew Blackwell

Summary

When an observational study finds that treated people do better, a critic can ask whether they would have done better anyway. The same question applies to a job-training program, a court panel, or a campaign that goes negative. Researchers can adjust for differences they recorded, but the credibility of the causal estimate still depends on how the groups compare on outcomes they would have had under the same treatment. Matthew Blackwell develops a sensitivity analysis that translates an account of those hidden differences into a revised estimate. It shows how the answer changes as the proposed selection bias grows, and which direction of bias makes the original conclusion more or less convincing.

The method starts with a confounding function. For each treatment condition, it describes how the groups would differ on average if both received that condition, after accounting for measured characteristics. One possibility is that the treated group has better prospects under either condition. Another is that each group tends to get better outcomes under the condition it actually received. For each proposed difference, Blackwell uses the estimated probability of treatment to adjust the observed outcomes, then reruns the original regression, matching, or weighting analysis. He also expresses the proposed bias as a share of the variation in untreated outcomes left unexplained by measured characteristics. This gives readers a way to judge its size against the contributions of recorded variables.

The applications show how much depends on the proposed explanation and the effect being estimated. In the job-training analysis, selection favoring trainees that accounted for less than 0.05% of the unexplained variation in untreated earnings could make the positive effect statistically insignificant. In the appellate-court analysis, under the same general kind of bias, confounding accounting for 0.5% of the unexplained variation was enough to remove statistical significance for the population average effect. The corresponding threshold for the effect among treated judges was 10%. When the observed panel assignments instead favored liberal votes relative to reversed assignments, the two estimates moved in opposite directions. For Democratic incumbents, the estimated turnout benefit of late negative advertising survived until the proposed confounding accounted for close to half of the unexplained variation on the paper’s scale. Each result describes what follows from a specified account of selection. Its evidential value depends on whether that account captures the concern a reader has about the study.

Deep dive: A Selection Bias Approach to Sensitivity Analysis for Causal Effects

Blackwell’s selection bias approach shows how hidden differences between treatment groups can strengthen or weaken an estimated causal effect. · about 35 minutes to read

The problem and its context

The comparison a causal claim needs

A job-training study can compare the earnings of people who attended a program with the earnings of people who did not. The causal question asks what earnings would have been for the same people under each alternative. Someone who attended may have earned more because the program helped. The same person might also have earned more without the program than the people who did not attend. An earnings comparison across the observed groups can combine these differences.

Potential outcomes make this distinction explicit. A person has an outcome associated with attending and an outcome associated with staying out of the program. The observed outcome supplies one of them. To recover the missing average for a group, the analyst needs a reason to use information from people who received the other condition. Random assignment supplies that reason through the assignment procedure. In an observational study, analysts typically try to make the comparison credible by accounting for characteristics recorded for both groups.

The assumption Blackwell examines is ignorability. Given the measured characteristics, assignment should convey no further information about either potential outcome. For the average effects in the paper, the relevant implication is that the groups have the same conditional mean for each potential outcome. If training participants have higher expected earnings even without training, among people with the same recorded characteristics, the comparison fails that test. Collecting more relevant information can make ignorability more credible. The outcomes the study actually observes still leave the decisive comparison partly unobserved.

The missing comparison also depends on whose effect the study asks about. A population average compares the mean outcome if everyone received treatment with the mean outcome if everyone received control. An average among the treated compares those same alternatives for the people who actually received treatment. To estimate the population average, the analyst needs information about how nonparticipants would fare if they participated and how participants would fare if they stayed out. To estimate the effect among participants, their observed earnings already supply the treated side. Only their earnings without training must be inferred. This distinction becomes important as soon as a critique assigns different hidden differences to the two potential outcomes.

Turning an alternative explanation into a calculation

A verbal critique frequently gives the direction of the suspected bias more clearly than its size. A reader might suspect that job trainees have greater motivation or that an unusually competitive race encourages both negative advertising and voting. Such a story can explain why a particular estimate seems vulnerable. It leaves open how large the hidden differences would have to be, whether a plausible amount would change the substantive conclusion, and whether the effect among the treated would respond in the same way as a population average.

Changing the list of measured covariates is a different exercise. A researcher might check whether the estimate moves when a recorded variable is removed or adjusted for differently. That reveals something about the use of recorded information. A formal sensitivity analysis gives the analyst a way to specify differences that persist after the chosen measured adjustment and to follow their consequences through to the treatment estimate. A stable estimate across several regressions can coexist with sensitivity to such a difference, because all the regressions may lack the information needed to account for it.

Blackwell places the paper in a tradition that goes back at least to Cornfield and colleagues’ work on smoking and lung cancer. The paper also describes identification strategies that proceed without ignorability by starting from bounds and adding assumptions to obtain tighter bounds, point estimates, or tests. Its own question is conditional. Given an analysis that uses observed characteristics to make treatment groups comparable, what effect would the same analysis imply if the remaining selection took a particular form?

In the approach associated with Rosenbaum, the analyst fixes how far treatment assignment probabilities might differ because of hidden information. The procedure then asks how extreme the resulting inference could be if the hidden differences were arranged to have the strongest relationship with the outcome. Blackwell describes the approach as valuable for gauging general vulnerability. A critique with a specific direction and a specific account of how outcomes differ calls for a different input. Knowing how far a significance level could move under the most unfavorable arrangement gives less information about what happens under that particular account.

Imbens supplies another part of the background. His approach posits an unobserved variable and varies its relationship with treatment assignment and with the outcome. The two relationships are separate inputs, so the analysis can consider strong selection with a weak outcome relationship or the reverse. It also uses explained variation to give those relationships a scale. Blackwell takes up the idea of calibration by explained variation while using a different description of the hidden information. The input is the mean outcome gap that selection produces between the groups under a common treatment. Several unmeasured characteristics could contribute to the same gap.

The direct description of selection draws on work by Heckman and colleagues, Robins, and Brumback and colleagues. Blackwell extends the use of outcome adjustments to analyses that use regression and matching, as well as those that use weighting. The paper also describes work by Imai and colleagues that asks a related sensitivity question for the average causal mediation effect, a quantity concerned with effects that operate through an intermediate variable. In Blackwell’s applications, the focus is on the size and direction of an estimated treatment effect under an explicit departure from ignorability. A threshold can be part of that answer, but the curve leading to it also shows which departures would increase the estimated effect.

The method, step by step

Describe the gap before choosing how large it is

The basic calculation starts with a comparison the analyst would like to make inside groups with the same recorded characteristics. Imagine comparing negative and positive campaigns. First ask how the observed negative campaigns and the observed positive campaigns would differ in turnout if both went negative. Then ask how those same groups would differ if both stayed positive. In each comparison the campaign tone is held fixed. Any remaining mean difference describes selection into the observed tone rather than an effect of changing the tone.

A confounding function records those differences. The researcher chooses its shape to express a concrete concern and varies a parameter to express the strength of that concern. A value of zero gives the usual analysis. At other values, the method adjusts each outcome by the proposed difference multiplied by the estimated probability of receiving the opposite treatment. The original analysis is then applied to the adjusted outcome. A calibration based on explained variation can put the proposed differences on a scale shared with measured covariates.

Sensitivity analysis using a confounding function

The steps in order.

Sensitivity analysis using a confounding functionStep 1: Define the causal effect of interest1. Define the causal effect of interestStep 2: Specify the direction of hidden selection2. Specify the direction of hidden selectionStep 3: Estimate treatment probabilities from observed covariates3. Estimate treatment probabilities from observed covariatesStep 4: Adjust outcomes under each proposed bias4. Adjust outcomes under each proposed biasStep 5: Reestimate the effect and its uncertainty5. Reestimate the effect and its uncertaintyStep 6: Calibrate bias against unexplained outcome variation6. Calibrate bias against unexplained outcome variation

The paper describes the method as available in the open-source R package causalsens. Its empirical examples also have a replication archive. The applications differ in how they construct the underlying comparison. The common procedure is to estimate the treatment probabilities needed for the correction, preserve the comparison design across bias scenarios, and recalculate the parts of the analysis that use the outcome.

Define the effect the comparison should recover

Consider a binary treatment. Each unit has a potential outcome under treatment and a potential outcome under control. The individual effect is the difference between them.

τᵢ = Yᵢ(1) − Yᵢ(0)

Here, i indexes the unit and τᵢ is its individual causal effect. Yᵢ(1) is the outcome that unit i would have under treatment, coded 1. Yᵢ(0) is its outcome under control, coded 0. The minus sign gives the effect of treatment relative to control.

The average treatment effect, or ATE, averages this difference over the population of interest. Equivalently, it compares the two population mean potential outcomes.

τ = E[Yᵢ(1) − Yᵢ(0)] = E[Yᵢ(1)] − E[Yᵢ(0)]

Here, τ is the ATE and E denotes an average over units in the target population. Yᵢ(1) and Yᵢ(0) are the two potential outcomes for unit i. The equality on the right follows because an average difference equals the difference of the averages taken over the same population.

The average treatment effect among the treated, or ATT, takes the same kind of difference over the people who received treatment.

τₐₜₜ = E[Yᵢ(1) − Yᵢ(0) | Aᵢ = 1] = E[Yᵢ(1) | Aᵢ = 1] − E[Yᵢ(0) | Aᵢ = 1]

In this expression, τₐₜₜ is the ATT, Aᵢ is the actual treatment assignment of unit i, and Aᵢ = 1 selects the treated group. The vertical bar means that the average E is taken conditional on the expression to its right. Yᵢ(1) and Yᵢ(0) still describe the two possible outcomes, now averaged over the same treated group.

The first assumption linking these quantities to the data is consistency. For a unit assigned to condition a, its observed outcome is its potential outcome under a.

Yᵢ(a) = Yᵢ  when Aᵢ = a

Here, a is a treatment value, either 0 or 1. Aᵢ is the unit’s actual assignment, Yᵢ(a) is its potential outcome under a, and Yᵢ is its recorded outcome. In the paper’s setup, a unit’s treatment determines which potential outcome is observed. Spillovers, in which other units’ assignments also change that outcome, fall outside that setup.

The second assumption is conditional ignorability.

Yᵢ(a) ⟂ Aᵢ | Xᵢ

The symbol ⟂ denotes independence. Yᵢ(a) is the potential outcome under the particular condition a, Aᵢ is actual assignment, and Xᵢ is the set of observed covariates for unit i. The bar means independence conditional on those covariates. An implication is that among units with the same covariates, learning their assignment leaves the average potential outcome under a unchanged.

Specify the selection story

The confounding function compares conditional averages for groups distinguished by actual assignment. Both averages concern the same potential outcome.

q(a, x) = E[Yᵢ(a) | Aᵢ = a, Xᵢ = x] − E[Yᵢ(a) | Aᵢ = 1 − a, Xᵢ = x]

Here, q is the confounding function, a is the treatment condition being evaluated, and x is a particular combination of covariate values. E is the conditional mean, Yᵢ(a) is the potential outcome of unit i under a, and the conditions following each bar specify the group. Aᵢ = a selects people who actually received a, while Aᵢ = 1 − a selects those who received the opposite condition. Xᵢ = x holds observed characteristics fixed on both sides.

A positive value always favors the group that actually received the condition named in the function. Positive confounding for the treated potential outcome means the observed treated group would have higher outcomes than the observed controls if both received treatment. Positive confounding for the control potential outcome means the observed controls would have higher outcomes than the observed treated group if both received control. The ordering is easy to lose when reading the formula. In each case, the first average belongs to the group actually observed under the condition in question.

Blackwell uses a constant function to express what he calls alignment bias.

q(a, x; α) = α

In this formula, q is the proposed mean gap for condition a and covariate values x, and α is the sensitivity parameter in outcome units. The semicolon in the notation separates the parameter from the treatment and covariate arguments. This choice makes the gap the same for both conditions and all values of the recorded characteristics.

When α is positive, the people who received treatment would do better under treatment than the controls would, and the people who received control would do better under control than the treated would. A targeting decision can produce that configuration. Campaigns might direct outreach towards voters they expect to respond especially strongly. If α is negative, each group has lower expected outcomes under the condition it actually received than the other group would have under that condition. In both cases, potential-outcome differences across the groups depend on which treatment is being considered.

The other main specification describes one-sided bias. It allows the same group to have the advantage under either treatment condition.

q(a, x; α) = α(2a − 1)

Here, q is the conditional gap, a is the condition whose potential outcome is being compared, x represents measured covariate values, and α sets the size and direction of the gap. The factor 2a − 1 is positive when a = 1 and negative when a = 0. The symbols 2 and 1 implement that sign change for the binary treatment coding.

With positive α, the treated group has higher mean potential outcomes under either condition. The value of the function for control is negative because the function starts from the observed controls when it compares untreated outcomes. With negative α, the controls have the advantage under both conditions. In the job-training example, greater motivation or ability among trainees could give the positive direction a substantive interpretation. The working assumption is that the resulting earnings advantage would remain even if both groups received the same training condition.

Both specifications yield zero mean gaps when α is zero. That is the point at which the adjustment leaves the outcomes unchanged. Generally, equality of conditional means is the information provided by a zero confounding function. Full conditional independence is stronger because it also concerns the rest of each outcome distribution. The mean comparisons used for the causal effects here explain why the function can be useful without specifying how every part of those distributions changes.

Convert the proposed gap into an outcome adjustment

A propensity score is the probability of receiving treatment given the measured covariates. For a unit that actually received treatment, the relevant multiplier in the adjustment is the estimated probability of control. For a unit that received control, it is the estimated probability of treatment. Blackwell writes the correction for both groups together.

Yqᵢ = Yᵢ − q(Aᵢ, Xᵢ) Pr(A = 1 − Aᵢ | X = Xᵢ)

Here, Yqᵢ is the adjusted outcome of unit i and Yᵢ is its observed outcome. q(Aᵢ, Xᵢ) selects the posited confounding gap for the unit’s actual assignment Aᵢ and covariates Xᵢ. Pr denotes probability. Inside that probability, A and X denote assignment and covariates in the treatment probability calculation. The event A = 1 − Aᵢ selects the opposite assignment and X = Xᵢ fixes the unit’s observed covariates. Multiplication turns the full group gap into the correction appropriate for the share of units in the opposite group.

The intuition is easiest to see for untreated outcomes with no covariates. The population mean under control combines the mean untreated outcome for actual controls and the mean untreated outcome for actual treated units, weighted by their group proportions. The observed control mean supplies the first quantity. The second is the first shifted by the confounding gap. Substituting that relationship gives the adjustment.

E[Yᵢ(0)] = E[Yᵢ(0) | Aᵢ = 0] Pr(Aᵢ = 0) + E[Yᵢ(0) | Aᵢ = 1] Pr(Aᵢ = 1)
         = E[Yᵢ | Aᵢ = 0] − q(0) Pr(Aᵢ = 1)
         = E[Yqᵢ | Aᵢ = 0]

In this chain, E denotes a mean and Pr denotes the fraction assigned to each condition in the population. Yᵢ(0) is the untreated potential outcome, Yᵢ is the observed outcome, and Aᵢ = 0 and Aᵢ = 1 indicate actual control and treatment. q(0) is the gap in untreated potential outcomes between controls and treated units in the absence of covariates. Yqᵢ is the adjusted outcome. The replacement of the control group’s potential outcome with its observed outcome follows from consistency.

The same logic applies within covariate values and for either potential outcome. If the proposed gap is the true gap, the adjusted mean in the group observed under a recovers the conditional population mean potential outcome under a.

E[Yᵢ(a) | Xᵢ = x] = E[Yqᵢ | Aᵢ = a, Xᵢ = x]

Here, E is a conditional mean, Yᵢ(a) is the potential outcome under condition a, and Yqᵢ is the outcome adjusted with the matching confounding function. Xᵢ = x fixes the covariates, and Aᵢ = a restricts the right-hand average to units observed under that condition. This is a statement about means under the specified correction.

An estimator that would consistently recover the desired average under mean ignorability can use these adjusted means, provided its own conditions still hold. In a regression analysis, the researcher fits the outcome regression again. In matching, the outcomes change within a comparison already organized around observed characteristics. In weighting, the analysis uses the adjusted outcome with the weights calculated for the original treatment assignments. This is why the paper emphasizes that changing the sensitivity parameter need not entail rebuilding the matches or estimating different treatment probabilities for each scenario.

For an ATT analysis, the paper prints a correction applied only to controls.

Yqᵢ = Yᵢ − (1 − Aᵢ) q(0, Xᵢ) Pr(A = 1 | X = Xᵢ)

Here, Yqᵢ is the adjusted outcome and Yᵢ is the recorded outcome. Aᵢ is actual assignment, so 1 − Aᵢ switches on the correction for controls. q(0, Xᵢ) is the proposed gap in untreated potential outcomes at the unit’s observed covariates. Pr(A = 1 | X = Xᵢ) is the propensity score for those covariates, with A denoting assignment and X denoting covariates in the probability calculation.

The reason to focus on controls is clear from the target. Treated outcomes for the people who received treatment are observed, and the missing quantity is the mean untreated outcome for those same people. There is a distinction between that target and the mixture mean derived above. With the paper’s definition of q, the untreated mean for treated units at fixed covariates is the observed control mean minus the full untreated gap. Multiplying the gap by the treatment probability instead reaches the untreated mean for the mixture of treated units and controls at those covariates. This distinction matters when reading the printed ATT formula. The paper’s derivation establishes the mixture correction, and a direct correction for the treated group’s missing mean uses the full gap.

Put the assumed bias on a comparison scale

An earnings gap expressed in dollars is easy to interpret as a mean difference. It can still be hard to judge whether its size is credible. Blackwell follows Imbens in using explained variation as a benchmark. The comparison concerns the potential outcome under control, so assignment can help predict it through selection without changing which potential outcome is being described.

The first quantity is the share of variation in untreated potential outcomes explained jointly by covariates and assignment under the chosen confounding function.

R²q(Xᵢ, Aᵢ) = 1 − var[Yᵢ(0) | Xᵢ, Aᵢ, q] / var[Yᵢ(0)]

Here, R²q denotes the share of variance explained under q, the proposed confounding function. Xᵢ denotes covariates and Aᵢ denotes assignment. var means variance and Yᵢ(0) is the untreated potential outcome for unit i. The numerator represents the residual variation after accounting for covariates and assignment under q. The denominator is total variation in untreated potential outcomes. Subtracting their ratio from 1 gives the share explained.

The corresponding quantity based on the covariates alone supplies the reference point.

R²q(Xᵢ) = 1 − var[Yᵢ(0) | Xᵢ, q] / var[Yᵢ(0)]

In this expression, R²q(Xᵢ) is the share attributed to the observed covariates Xᵢ under the chosen function q. var denotes variance, and Yᵢ(0) is the untreated potential outcome. The numerator is the variance remaining after using the covariates, and the denominator is the total variance of that potential outcome. The 1 converts the residual share into an explained share.

The partial explained share asks how much of what is left after accounting for the covariates is explained by the inclusion of assignment.

R²q(Aᵢ) = [R²q(Xᵢ, Aᵢ) − R²q(Xᵢ)] / [1 − R²q(Xᵢ)]

Here, R²q(Aᵢ) is the partial share associated with assignment Aᵢ under the confounding function q. R²q(Xᵢ, Aᵢ) is the joint explained share, and R²q(Xᵢ) is the share explained by covariates Xᵢ alone. The numerator gives the extra share of total variation explained. The denominator gives the share of total variation left after adjustment for the covariates.

Equivalently, the calculation compares the residual variance with and without assignment.

R²q(Aᵢ) = 1 − var[Yᵢ(0) | Xᵢ, Aᵢ, q] / var[Yᵢ(0) | Xᵢ, q]

In this version, R²q(Aᵢ) again measures the partial contribution of assignment, var is variance, Yᵢ(0) is the untreated potential outcome, Xᵢ represents the covariates, and q specifies the selection scenario. The bar introduces the variables accounted for in each variance. The numerator includes Aᵢ, and the denominator leaves it out. Subtracting the residual ratio from 1 gives the relative reduction in unexplained variation.

For a continuous outcome under one-sided bias, the paper illustrates the calculation with a linear specification for the untreated potential outcome.

Yᵢ(0) = Xᵢβ + αAᵢ + εᵢ

Here, Yᵢ(0) is the untreated potential outcome, Xᵢβ is the contribution of the observed covariates Xᵢ with coefficients β, and αAᵢ is the mean difference associated with actual assignment Aᵢ. The parameter α is the same one used in the one-sided confounding function. The residual εᵢ represents remaining variation after these terms.

The paper compares that residual with a residual that absorbs the assignment contribution.

ε′ᵢ = αAᵢ + εᵢ

Here, ε′ᵢ is the residual after accounting for the covariate term in the paper’s restricted expression. αAᵢ is the contribution of assignment and εᵢ is the residual in the expression that includes assignment. The prime distinguishes the residual that contains the selection term.

Under the variance decomposition used in this illustration, the explained share simplifies as follows.

R²q(Aᵢ) = 1 − var[εᵢ] / var[ε′ᵢ] = α² var[Aᵢ] / var[ε′ᵢ]

Here, R²q(Aᵢ) is the partial explained share under q, var denotes variance, and εᵢ and ε′ᵢ are the residuals with and without the assignment contribution. α² is the squared selection parameter, and var[Aᵢ] is the variance of actual assignment. The simplification uses the decomposition in which the residual from the expression including assignment contributes no covariance with the assignment term. The paper uses adjusted control outcomes and a regression on the observed covariates to estimate the reference residual variation.

Squaring the sensitivity parameter loses its direction, so Blackwell gives the calibrated measure the sign of the original parameter.

R²α(Aᵢ) = sgn(α) R²q(Aᵢ)

Here, R²α(Aᵢ) is the signed measure plotted in the sensitivity analysis, sgn(α) gives the sign of the sensitivity parameter α, and R²q(Aᵢ) is the unsigned partial share associated with assignment under q. A negative plotted value indicates the negative direction of the bias story. The variance share underlying it is still non-negative.

The contribution of an individual measured covariate can be expressed on a similar partial scale. The resulting comparison asks whether the proposed hidden selection would explain an amount of residual variation similar to that explained by a recorded characteristic. Because this calibration uses a baseline specification for the untreated outcome, its interpretation travels with that specification. Blackwell also mentions scaling by the standard deviation of the untreated potential outcome as an alternative. The applications emphasize the signed variance scale and show effect estimates and confidence intervals across it. The paper discusses bootstrapping as a way to obtain intervals and mentions a sandwich estimator for standard errors as another possibility.

Apply the same reasoning to a treatment history

A campaign can change the tone of its advertising from week to week. The outcome at the end of the campaign can depend on a sequence of decisions. An evolving characteristic such as the proportion of undecided voters can be a consequence of earlier advertising and a predictor of later advertising. If it is also related to turnout, simply including it in a final turnout regression can interfere with the effect of earlier treatment. Leaving it out, in turn, leaves a source of confounding for later treatment. The paper uses inverse probability of treatment weighting to account for observed time-varying confounders.

The assignment assumption in this setting is sequential ignorability. The current decision should be independent of the potential outcome for a specified treatment history after conditioning on the information available for that decision.

Yᵢ(ā) ⟂ Aᵢₜ | X̄ᵢₜ, Āᵢ,ₜ₋₁

Here, Yᵢ(ā) is the outcome that unit i would have under the full treatment history ā. Aᵢₜ is actual treatment in period t, X̄ᵢₜ is covariate history through that period, and Āᵢ,ₜ₋₁ is actual treatment history before it. The overbar denotes a history, t − 1 is the preceding period, ⟂ denotes independence, and the vertical bar introduces the information held fixed.

The period-specific confounding function compares units making different decisions at that point, with the same relevant histories. The potential outcome on both sides is for the same full treatment sequence.

qₜ(ā, x̄ₜ) = E[Y(ā) | Aₜ = aₜ, Āₜ₋₁ = āₜ₋₁, X̄ₜ = x̄ₜ]
              − E[Y(ā) | Aₜ = 1 − aₜ, Āₜ₋₁ = āₜ₋₁, X̄ₜ = x̄ₜ]

Here, qₜ is the mean selection gap at period t. Y(ā) is the potential outcome under the specified full treatment history ā, and E is an average over units meeting the conditions after the bar. Aₜ is actual treatment in that period and aₜ is the value for that period in the specified history. The term 1 − aₜ gives the alternative decision. Āₜ₋₁ is the prior assignment history with specified value āₜ₋₁, and X̄ₜ is the covariate history with specified value x̄ₜ. The two conditional averages share the same prior assignments and covariate history.

The application uses a common one-sided parameter across periods.

qₜ(ā, x̄ₜ; α) = α(2aₜ − 1)

Here, qₜ is the period’s confounding gap, ā is the specified treatment history, and x̄ₜ is the covariate history through period t. The parameter α controls the size and direction. The factor 2aₜ − 1 makes the gap positive for the negative-advertising condition and negative for its complement when α is positive. A positive value therefore represents a selection advantage for campaigns that go negative, holding the recorded histories fixed.

The adjusted outcome subtracts a sum of period-specific contributions.

Yᵅᵢ = Yᵢ − ∑ₜ₌₀ᵀ qₜ(Āᵢ, X̄ᵢₜ; α) Pr(Aₜ = 1 − Aᵢₜ | Āᵢ,ₜ₋₁, X̄ᵢₜ)

Here, Yᵅᵢ is the final outcome for unit i adjusted under α, and Yᵢ is the observed outcome. The summation ∑ runs over periods indexed by t, from 0 through the final period T in the paper’s notation. qₜ uses the unit’s observed treatment history Āᵢ, its covariate history through the current period X̄ᵢₜ, and the assumed parameter α. Pr is the conditional probability of taking the action opposite to the observed action Aᵢₜ. The condition uses the prior treatment history Āᵢ,ₜ₋₁ and current covariate history X̄ᵢₜ.

The period’s estimated treatment probability already enters the weighting analysis. It can also supply the probability of the opposite action for the adjustment. The method therefore changes the final turnout outcome used in the weighted analysis while keeping the underlying assignment and covariate histories intact. The accumulation over time is important for interpretation. A modest proposed gap at each decision can add up to a substantial adjustment over a campaign.

Experiments and results

The paper uses empirical illustrations with different treatment assignments, outcomes, and estimators. The reference point in each sensitivity analysis is the estimate obtained under zero hidden mean differences. From there the paper follows the effect estimate and its uncertainty as the direction and strength of the proposed selection change. The main comparisons concern how an estimate moves, whether its confidence interval still supports a statistically discernible effect, and how much residual variation the scenario assigns to hidden selection.

Regression and earnings after job training

The first illustration uses LaLonde’s experimental job-training data. The treatment is participation in the program, and the outcome is subsequent earnings. The paper reports an experimental effect estimate of $1794 and a standard error of $633. Applying sensitivity analysis to these data shows how the procedure behaves in a familiar case, including what the earnings conclusion would look like if an otherwise comparable analysis had to account for the proposed hidden selection. Blackwell uses a regression adjustment for measured covariates.

The main concern explored is that trainees could have different earnings prospects under either treatment condition. Positive one-sided bias gives the participants better prospects, whether or not they receive training. Blackwell motivates this story with differences in ability or motivation that could influence participation outside an experiment. He also considers why alignment would be a different substantive claim. A program tailored to the people who attend might benefit them especially strongly. The broad purpose of this program gives him less reason to emphasize that scenario in the illustration.

The paper shows the effect in relation to both the raw earnings gap and the signed variance share. On the raw scale, the estimate changes linearly as the assumed earnings advantage changes. The variance scale changes how that movement is displayed. The same changes in the effect appear along a nonlinear horizontal scale, with observed covariates marked by their partial explained shares. The two views answer different questions about the same analysis. One shows how many earnings units the story attributes to selection. The other shows what that story would imply for variation in untreated earnings after covariate adjustment.

For selection in the direction favorable to trainees, approximately 3%–3.5% of the unexplained variation in untreated earnings is enough to reduce the point estimate by $1000. The figure marks that drop as a benchmark for comparison with Imbens’s analysis. In the earlier analysis as described by Blackwell, a single unobserved variable explaining 10%–20% of the variation in assignment would need to explain 2%–4% of outcome variation to move the estimated effect by $1000. The outcome percentages are useful as a comparison of scale. The earlier calculation separately specifies how strongly its omitted variable predicts assignment, while Blackwell describes the resulting selection gap directly.

The threshold for statistical significance answers a different question from the $1000 benchmark. Blackwell reports that confounding accounting for less than 0.05% of the unexplained variation in the direction favorable to trainees would make the positive effect statistically insignificant at customary levels. At that point the uncertainty is enough to leave the evidence compatible with a zero effect. A decline of $1000, in contrast, concerns the size of the point estimate. Presenting both allows a reader to distinguish fragility of the significance claim from the amount of selection required to make the estimated earnings gain substantially smaller.

The reverse direction matters as well. If trainees would tend to earn less under either condition, the observed earnings comparison understates the estimated benefit under that account. A report giving only the weakest possible inference would conceal this part of what the sensitivity curve says. The illustration makes the direction legible by tying it to a statement about which group has higher earnings prospects.

Matching and votes on appellate panels

The second illustration uses the analysis by Boyd, Epstein, and Martin of male judges voting in sex discrimination cases in the U.S. Court of Appeals. Treatment means sitting on a panel with at least one woman. The comparison condition is sitting on an all-male panel. The outcome records whether each male judge cast a vote in the liberal direction. The substantive question is whether changing the composition of the panel would change that probability.

The original analysis matches exactly on the appellate circuit and the case’s decision year. It then uses nearest-neighbor matching on the propensity score, keeping all treated units and drawing matches from the controls. Controls can be reused, and treated units can have multiple matches. This design directly supports an effect among the judges observed on mixed-gender panels under the usual identification assumptions. The original study interprets the result as a population average under constant effects. Under that additional assumption the effect among treated judges and the population average coincide, so the difference can be invisible in the main estimate.

Blackwell keeps the matching design and compares the sensitivity of both targets. For one-sided bias, a positive parameter means that male judges observed on mixed-gender panels would tend to vote more liberally under either panel composition. The paper gives a possible selection story involving judges with senior status in more liberal circuits where more women serve. Such a story connects hidden differences in voting tendencies with the chance of appearing on a mixed-gender panel. It is an interpretation of the direction explored, rather than a measured difference in these data.

Under this scenario, the population average effect loses statistical significance when the proposed confounding explains 0.5% of the residual variation on the paper’s untreated-outcome scale. For the effect among the treated, the paper reports a threshold of 10% under the same one-sided form. The chart compares the thresholds. Its higher value marks greater resistance to this scenario, while the choice of which population to study depends on the causal question.

Appellate panel matching under one-sided bias, confounding needed to lose statistical significance

The estimated effect among treated judges retains statistical significance under stronger one-sided confounding.

Appellate panel matching under one-sided bias, confounding needed to lose statistical significancePopulation average effect (ATE): 0.5Population average effect (ATE)0.5Effect among treated judges (ATT) (this paper): 10Effect among treated judges (ATT) (thispaper)10
The numbers
System or setting% of unexplained untreated-outcome variance
Population average effect (ATE)0.5
Effect among treated judges (ATT) (this paper)10

The alignment scenario changes which group has the higher expected vote under all-male panels. With positive alignment, the observed mixed-gender group would be more liberal than the observed all-male group under mixed-gender panels, while the observed all-male group would be more liberal than the treated group under all-male panels. One possible explanation is that male judges who respond more strongly to the presence of women are also likelier to serve alongside women on panels. In that case, the group assigned to a mixed-gender panel could gain more from that composition.

In the paper’s figure, positive alignment moves the estimated population average toward zero and increases the estimated effect among the treated. The paper describes the population average as somewhat less sensitive under alignment than under the one-sided scenario. The reversal for the treated effect is the more consequential result. The observed treated votes already give its treated outcome mean. If those judges would have been more conservative on all-male panels than the controls were, the comparison used to infer their untreated votes needs to move downward. That correction makes the treatment effect among them larger. A population comparison also needs the votes that the observed controls would cast on mixed-gender panels. That additional missing mean is part of why the direction can differ.

The paper treats the two types of hidden selection as distinct questions asked of the same data. It varies each separately for clarity. A further comparison cited by the paper uses Rosenbaum-style sensitivity bounds and characterizes the matched result as moderately sensitive. That analysis addresses vulnerability to hidden differences in assignment and gives a different kind of answer from the directional comparisons.

Weighting and negative advertising over a campaign

The final illustration studies 176 U.S. From 2000 to 2006, campaigns for the Senate and for governor. The outcome is turnout, and the analysis examines negative advertising by Democratic candidates late in the campaign, during October and November. The data define a candidate as going negative in a week when more than 10% of that candidate’s ads mention the opponent. The treatment is therefore a sequence of weekly decisions, and the reported effect concerns an additional late-campaign week of negativity.

The paper uses inverse probability of treatment weighting with a marginal structural model for turnout. Baseline variables include the Democratic candidate’s post-primary poll support and the share of undecided voters after the primary. They also include Democratic incumbency, the Congressional Quarterly competitiveness rating, office, campaign length in weeks, and election-cycle fixed effects. The baseline variables help specify the turnout analysis. The weekly treatment probabilities address the relationship between evolving campaign information and the decision to advertise negatively.

The weekly probabilities use past Democratic negativity, current Democratic support in the polls, the current share of undecided voters, and past Republican negativity. Blackwell estimates separate weights for campaigns with and without a Democratic incumbent, selecting subsets according to which produce the best balance. In this context, balance means making observed characteristics used in the comparisons more alike after weighting. Separating the groups in the effect analysis allows the estimated turnout relationship with negativity to depend on whether the Democratic candidate holds office.

In the weighted baseline analysis, turnout for Democratic incumbents was roughly two percentage points higher for each additional week of negative advertising near the end of the campaign. The incumbent estimate is statistically significant. The paper reports no effect for Democratic nonincumbents. Its sensitivity figure shows separate confidence intervals for these groups, using bootstrap intervals that account for variation in the estimated weights.

The concern explored is that incumbents who go negative might already be in races that draw greater attention. Challenger quality or incumbent weakness could make a race both more interesting to voters and more likely to produce negative advertisements, even after accounting for the polling variables used to estimate the weights. The confounding function gives campaigns going negative higher expected turnout in the positive direction of the sensitivity analysis. The adjustment applies that assumption at each treatment decision.

Blackwell reports that under this scenario the confounding would have to account for close to half of the unexplained variation on the displayed scale to overturn the incumbent finding. The paper attributes part of the size of this threshold to how the adjustment accumulates across campaign weeks. Even relatively small values of the period-specific parameter can imply a large share of variation for the cumulative adjustment. The result supports the incumbent finding against the particular scenario tested. The threshold is expressed on a scale that already incorporates repeated decisions, which matters when comparing it with partial variance shares from the single-treatment applications.

What the ablations show

The paper has no component-removal ablations. It instead varies the direction and shape of the confounding, the effect being estimated, and the scale on which the proposed bias is displayed. Those comparisons isolate different parts of the interpretation while holding the data and underlying estimation strategy in place.

Changing the scale and changing the assumption

The job-training illustration shows the same fitted effects with the raw earnings gap on one horizontal axis and the signed partial variance share on the other. Reexpressing the horizontal axis changes what readers can infer about the size of the proposed bias. The curve against raw bias shows the movement in the estimate for changes measured in earnings units. The calibrated view lets a reader look at the covariate markers and ask whether a bias large enough to change the earnings conclusion would contribute more or less than a measured predictor. The curvature in the latter display comes from the reparameterization of the proposed bias.

The comparison with Imbens also clarifies what the input leaves free. If a single hidden variable were responsible for the selection, its relation to the outcome and its relation to assignment would be separate quantities. Imbens varies them separately. When Blackwell varies the parameter in the simple confounding function, the analysis follows a specified mean gap that both relationships can help produce. The paper interprets the parameter path as strengthening or weakening those relationships together. Similar conclusions about the chosen earnings benchmark can therefore arise from procedures that give analysts different control over the assumptions.

The signs in the regression example further distinguish a critique’s direction from the effect of its size. Increasing positive one-sided bias attributes more of the favorable earnings comparison to participants’ existing advantages. Increasing bias in the opposite direction attributes more of the observed comparison to participants’ existing disadvantages and makes the estimated program benefit larger. A claim about motivation among people who enroll therefore points the analyst toward a particular part of the sensitivity curve.

Changing the effect being estimated

The matching illustration offers a controlled comparison across causal targets. At the ordinary matching estimate, interpreting the result as an ATT or as an ATE under constant effects can yield the same reported number. Under departures from ignorability, the targets require different missing averages. The population comparison needs both the untreated outcomes of people on mixed-gender panels and the treated outcomes of people on all-male panels. The treated comparison needs only the former missing average.

The striking part of the result is how those missing averages respond when the sign of the control-outcome gap changes. With positive one-sided bias, the men on mixed-gender panels are assumed to be more liberal even under all-male panels. That raises the hypothetical all-male-panel outcome for the treated group, reducing the estimated gain from the mixed-gender panel. Under positive alignment, the men observed on mixed-gender panels are assumed to be more conservative under all-male panels than the people actually observed on all-male panels. That lowers the missing outcome for the treated judges and increases their estimated gain. Both stories give the treated group the advantage under mixed-gender panels. They differ in what they say about that same group under the alternative condition.

The paper emphasizes that an analyst can investigate both stories without selecting one as the explanation of the data. The graphs vary one kind of bias at a time to show its consequences. In a study where both assignment to unusually favorable settings and differences in treatment responsiveness are plausible, their contributions could reinforce or offset each other. The separate curves identify the consequences of the isolated stories and give a basis for understanding why a combined scenario would require further specification.

Accumulating the bias over treatment decisions

The campaign analysis changes the setting in which the adjustment is applied. Each period contributes a correction determined by the hypothesized gap and the probability of the opposite decision. The final effect curve therefore reflects repeated corrections to the same ultimate outcome. The large variance threshold for overturning the incumbent effect is interpretable in light of that accumulation.

Separate displays for incumbents and nonincumbents also preserve the different starting points of the analysis. The incumbent case has a positive, statistically significant baseline estimate and supplies the paper’s main robustness result. The nonincumbent case starts with no reported effect. Applying the same kind of directional analysis to both keeps the interpretation tied to the group for which the original analysis found a turnout increase. Because the illustrations use different data and different causal questions, the comparison across them demonstrates how the method adapts to different estimators. It supplies no ranking of the estimators by robustness.

Limitations

Limits the paper states

The confounding function is an assumption about an unobserved comparison. For any given covariate values, the data reveal the potential outcome associated with the observed assignment. They leave the corresponding mean for the other group under that assignment missing. Several selection stories can fit the same observed data and imply different causal effects. As Blackwell stresses, the exercise can show the consequences of a plausible departure from ignorability. It cannot verify which departure actually occurred.

The shape chosen for the function limits what the exercise can reveal. A constant one-sided gap lets the analyst study a situation in which the same group has higher mean potential outcomes under either condition. It cannot capture all patterns of alignment or differences in selection across covariate values. The paper uses simple forms to keep interpretation manageable. An estimate that survives the explored range could still be sensitive to a stronger version of the same bias, a different direction of selection across subgroups, or more than one form of bias at once.

The method also requires a propensity score. In an analysis already organized around matching on scores or inverse probability weights, much of the needed assignment information is already estimated. A researcher whose original analysis is a regression may need to estimate treatment probabilities specifically for the sensitivity analysis. Blackwell recognizes that doing so can be difficult in some settings. The calibration by explained variation additionally depends on the baseline specification for the untreated potential outcome. An analyst can judge the proposed selection relative to observed covariates within that specification.

Blackwell places the procedure within causal analyses grounded in selection on observed variables, with sensitivity to explicit violations of that premise. The paper describes this setup as incompatible with simply carrying the procedure over to instrumental variables. It raises the possibility that an instrument might supply information about the extent of hidden selection and leaves that relationship for future investigation.

Limits visible in the applications and derivation

The job-training data come from an experiment. The sensitivity curve answers how a proposed earnings advantage among trainees would change the inference if that kind of selection entered the comparison. Its threshold does not estimate a motivational difference in LaLonde’s data. Similarly, the stories about judicial assignment and campaign interest explain the scenarios tested. The applications do not measure the underlying seniority-related selection, responsiveness to women on panels, or unrecorded attention to a race that would establish those scenarios as the explanations of the observed results.

The ATT formula is a substantive qualification to the paper’s matching interpretation. The derivation for a population average correctly uses the fraction in the opposite group to move an observed conditional mean to a mixture mean. For the ATT, the missing mean is the untreated outcome specifically for treated units. At a fixed covariate value, the paper’s own definition of the confounding function makes the full control-outcome gap the difference between the observed control mean and that target. The printed formula retains the probability multiplier, so the derivation of the mixture adjustment does not establish it as a direct ATT correction. The judicial thresholds above are the results the paper reports. The distinction is important for a reader implementing the method from the equations.

The explained-variance calculation also deserves care when assignment is related to observed covariates. In a nested regression, the extra explanatory contribution of assignment after covariates have been included depends on the assignment variation left after accounting for those covariates. The paper’s linear illustration expresses its simplification using the variance of assignment and a restricted residual that absorbs the assignment term. Reading that expression as a general formula for a partial variance share would require additional justification. The nested residual-variance comparison states the intended benchmark directly.

Finally, the dynamic illustration uses a shared sensitivity parameter with the same one-sided interpretation across weeks. A race could have a hidden source of selection that matters mainly when a particular campaign event occurs, or a source whose association with negativity changes over time. The large threshold reported for the cumulative scenario gives no threshold for those alternatives. The paper’s setup can express richer functions, but the campaign illustration evaluates the stated common-parameter case.

What came after

The paper closes by leaving several extensions open. It gives examples in which a measured covariate changes the strength of one-sided selection or alignment. That would let the assumed gap be larger in some settings than in others while preserving the same outcome-adjustment procedure. In the campaign application, the analogous question is whether the selection story should have the same strength across the treatment history. Exploring such functions would broaden the set of substantive critiques that can be tested, while making their parameters more involved to interpret.

Blackwell also calls for a fuller account of how the choice of causal target affects sensitivity. The judicial example shows why this question can be missed in an ordinary analysis. A single matched estimate can support more than one interpretation under the baseline assumptions, even though those interpretations can diverge once the analyst posits differences in untreated outcomes or in responses to treatment. The open issue is how to characterize that dependence across designs and plausible patterns of hidden selection.

A further question is whether instrumental-variable evidence could help calibrate an amount of unmeasured confounding for a separate analysis based on observed covariates. The paper raises that possibility without demonstrating it. These are proposed extensions from the paper’s conclusion. No later application is documented here.

Cite

Cite as Matthew Blackwell. 2013. A Selection Bias Approach to Sensitivity Analysis for Causal Effects. Political Analysis.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1093/pan/mpt006

@inproceedings{blackwell2013selection,
  title = {{A Selection Bias Approach to Sensitivity Analysis for Causal Effects}},
  author = {Matthew Blackwell},
  booktitle = {Political Analysis},
  year = {2013},
  doi = {10.1093/pan/mpt006},
  url = {https://doi.org/10.1093/pan/mpt006}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/blackwell-2013-selection-bias-approach-sensitivity-analysis/