Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-09T20:27:16.393Z Has data issue: false hasContentIssue false

Relaxing Assumptions, Improving Inference: Integrating Machine Learning and the Linear Regression

Published online by Cambridge University Press:  28 October 2022

MARC RATKOVIC*
Affiliation:
Princeton University, United States
*
Marc Ratkovic, Assistant Professor, Department of Politics, Princeton University, United States, ratkovic@princeton.edu.
Rights & Permissions [Opens in a new window]

Abstract

Valid inference in an observational study requires a correct control specification, but a correct specification is never known. I introduce a method that constructs a control vector from the observed data that, when included in a linear regression, adjusts for several forms of bias. These include nonlinearities and interactions in the background covariates, biases induced by heterogeneous treatment effects, and specific forms of interference. The first is new to political science; the latter two are original contributions. I incorporate random effects, a set of diagnostics, and robust standard errors. With additional assumptions, the estimates allow for causal inference on both binary and continuous treatment variables. In total, the model provides a flexible means to adjust for biases commonly encountered in our data, makes minimal assumptions, returns efficient estimates, and can be implemented through publicly available software.

Information

Type
Research Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http://creativecommons.org/licenses/by/4.0), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2022. Published by Cambridge University Press on behalf of the American Political Science Association
Figure 0

Table 1. The Double Machine Learning Algorithm of Chernozhukov et al. (2018)

Figure 1

Figure 1. The Estimation StrategyNote: To estimate the components in the model, the data are split into thirds. Data in the first subsample, $ {\unicode{x1D54A}}_0 $, are used to estimate the interference bandwidths and treatment residuals. The second subsample, $ {\mathcal{S}}_1 $, given the estimates from the first, is used to construct the covariates that will adjust for all the biases in the model. The third, $ {\mathcal{S}}_2 $, estimates a linear regression with the constructed covariates as controls.

Figure 2

Table 2. Simulation Specifications

Figure 3

Figure 2. Results for Simulations without InterferenceNote: The first column shows the distribution of point estimates, where the true value is $ 1 $, in gray. The second column shows the coverage rates: expected coverage is on the $ x $-axis and actual coverage is on the $ y $-axis. If a curve falls below the 45° line, the confidence intervals are too narrow and thus invalid. If the curve falls above the 45° line, the confidence intervals are valid but wide. The proposed method (PLCE) is compared with GRF, DML, CBPS, KRLS, and OLS. The proposed method, PLCE, is the only one to perform well across all settings.

Figure 4

Figure 3. Results for Simulations with InterferenceNote: The first column shows the distribution of point estimates, where the true value is 1, in gray. The second column shows the coverage rates: expected coverage is on the $ x $-axis and actual coverage is on the $ y $-axis. If a curve falls below the 45°, the confidence intervals are too narrow and thus invalid. If the curve falls above the 45° line, the confidence intervals are valid but wide. The proposed method (PLCE) is compared with GRF, DML, CBPS, KRLS, and OLS. The proposed method, PLCE, is the only one to perform well across all settings.

Figure 5

Table 3. Comparing PLCE and a Linear Regression in an Experimental Setting

Figure 6

Figure 4. Causal Effect Estimate of Racial ThreatNote: Revisiting the study by Enos (2016), I find a statistically and substantively relevant effect of racial threat on white voters (top row) and, as predicted by theory, not for Black voters near the housing projects (second row) or for Black and white voters further than one kilometer from any projects.

Supplementary material: Link

Ratkovic Dataset

Link
Supplementary material: PDF

Ratkovic supplementary material

Ratkovic supplementary material

Download Ratkovic supplementary material(PDF)
PDF 893.5 KB
Submit a response

Comments

No Comments have been published for this article.