Hostname: page-component-74656f9884-8r8nv Total loading time: 0 Render date: 2026-11-06T13:01:01.665Z Has data issue: false hasContentIssue false

Machine Learning Predictions as Regression Covariates

Published online by Cambridge University Press:  11 November 2020

Christian Fong
Affiliation:
Assistant Professor, Department of Political Science, University of Michigan, Ann Arbor, MI, USA. Email: cjfong@umich.edu
Matthew Tyler*
Affiliation:
Ph.D. Candidate, Department of Political Science, Stanford University, Stanford, CA, USA. Email: mdtyler@stanford.edu
*
Corresponding author Matthew Tyler
Rights & Permissions [Opens in a new window]

Abstract

In text, images, merged surveys, voter files, and elsewhere, data sets are often missing important covariates, either because they are latent features of observations (such as sentiment in text) or because they are not collected (such as race in voter files). One promising approach for coping with this missing data is to find the true values of the missing covariates for a subset of the observations and then train a machine learning algorithm to predict the values of those covariates for the rest. However, plugging in these predictions without regard for prediction error renders regression analyses biased, inconsistent, and overconfident. We characterize the severity of the problem posed by prediction error, describe a procedure to avoid these inconsistencies under comparatively general assumptions, and demonstrate the performance of our estimators through simulations and a study of hostile political dialogue on the Internet. We provide software implementing our approach.

Information

Type
Article
Copyright
© The Author(s) 2020. Published by Cambridge University Press on behalf of the Society for Political Methodology
Figure 0

Figure 1 A graphical summary of the data-splitting strategy required for the proposed GMM estimator.

Figure 1

Table 1. Realistic classifier.

Figure 2

Table 2. Best-case classifier.

Figure 3

Figure 2 The effect of incivility on post score.

Supplementary material: Link

Fong and Tyler Dataset

Link
Supplementary material: PDF

Fong and Tyler supplementary material

Online Appendix

Download Fong and Tyler supplementary material(PDF)
PDF 617.2 KB