Abstract
We discuss the relevance of the recent Machine Learning (ML) literature for economics and econometrics. First we discuss the differences in goals, methods and settings between the ML literature and the traditional econometrics and statistics literatures. Then we discuss some specific methods from the machine learning literature that we view as important for empirical researchers in economics. These include supervised learning methods for regression and classification, unsupervised learning methods, as well as matrix completion methods. Finally, we highlight newly developed methods at the intersection of ML and econometrics, methods that typically perform better than either off-the-shelf ML or more traditional econometric methods when applied to particular classes of problems, problems that include causal inference for average treatment effects, optimal policy estimation, and estimation of the counterfactual effect of price changes in consumer choice models.
Introduction: Bridging Two Cultures
For decades, econometrics and machine learning (ML) developed along parallel tracks, separated by distinct objectives and philosophical approaches. Econometrics has traditionally prioritized causal inference and the estimation of specific parameters—"estimands"—relying on models where asymptotic properties like consistency and normality could be rigorously proven. In contrast, the ML community focused on "algorithms" designed for high-dimensional prediction, often prioritizing out-of-sample accuracy over theoretical interpretability.
As the "big data" era provides economists with datasets where the number of variables ($p$) may exceed the number of observations ($n$), traditional methods like Ordinary Least Squares (OLS) become insufficient. This paper serves as a bridge, arguing that ML tools can be adapted to respect economic structures, allowing researchers to tackle complex policy questions with unprecedented precision without sacrificing the gold standard of causal inference.
Core Machine Learning Methods for Economists
Regularized Regression and Sparsity
In high-dimensional settings, traditional regression fails due to overfitting. The paper highlights Regularized Regression techniques—specifically Lasso, Ridge, and Elastic Nets—as essential tools for handling "sparsity." These methods operate on the assumption that out of thousands of potential predictors, only a small subset truly drives the outcome. By penalizing complex models, these techniques provide a data-driven way to select variables and improve predictive stability.
Tree-Based Methods and Causal Forests
Tree-based methods, such as Regression Trees and Random Forests, offer flexibility in capturing non-linear relationships. However, standard Random Forests are designed for prediction, not inference. A key contribution discussed is the Causal Forest, an adaptation that utilizes "honest estimation." By splitting the data—using one set to determine the tree structure and another to estimate the treatment effects—researchers can generate valid confidence intervals for heterogeneous treatment effects.
Matrix Completion as Causal Inference
One of the most innovative insights is the reframing of the "Netflix Problem" (predicting missing movie ratings) as a panel data problem. In this framework, estimating a causal effect is viewed as an imputation task: we are essentially trying to predict the missing potential outcome for an individual who did not receive a specific treatment. By applying matrix completion algorithms to panel data, economists can estimate counterfactuals in complex longitudinal settings.
Hybrid Approaches: The Intersection of ML and Econometrics
Double Machine Learning (Orthogonalization)
To estimate a parameter of interest (like a treatment effect) in the presence of high-dimensional "nuisance" parameters, the authors advocate for Double Machine Learning. This technique uses ML to "clean out" the noise from these nuisance variables. Crucially, it allows for $N^{-1/2}$ convergence rates for the primary parameter, even when the underlying ML models for the nuisance parameters converge more slowly (at $N^{-1/4}$), provided the models are sufficiently accurate.
Addressing Boundary Bias
Standard ML algorithms often struggle at the boundaries of covariate space (e.g., extremely high or low prices). The paper discusses Local Linear Forests as a solution. This method combines the flexibility of decision trees with the smoothness of traditional local linear regression, significantly improving performance near the edges of the data compared to standard Random Forests.
Key Insights for Empirical Research
- Prediction as an Intermediate Step: In economics, prediction is rarely the end goal. Instead, it is often a "nuisance" step (e.g., estimating a propensity score) required to reach the ultimate objective: the causal effect.
- Honest Estimation for Validity: To ensure that ML-derived results are econometrically sound, the separation of data used for model selection and data used for estimation is critical to avoid "p-hacking" and biased p-values.
- Scalability: The adoption of techniques like Stochastic Gradient Descent (SGD) allows economists to scale their models from thousands of observations to millions, overcoming previous computational bottlenecks in structural modeling.
Limitations and Future Directions
Despite the promise of ML, several challenges remain. Many methods, particularly Deep Neural Networks, still function as "black boxes" lacking robust inferential justification. Furthermore, unlike OLS, many ML methods require extensive tuning and are sensitive to hyperparameter choices.
The authors conclude by calling for more "hybrid" models that integrate economic theory—such as shape constraints that ensure demand curves slope downward—into the ML framework. The future of the field lies in creating "econometrically sound" ML that respects both the data's complexity and the fundamental laws of economics.
Summary updated