Double Machine Learning for Static Panel Models with Fixed Effects

Paul S. Clarke, Annalivia Polselli
12/13/2023
41 citations
econ.EMcs.LGstat.ML

Official code: POLSEAN/xtdml (20 stars, R, last commit 2026-03-12). 1 more implementation below.

Abstract

Recent advances in causal inference have seen the development of methods which make use of the predictive power of machine learning algorithms. In this paper, we develop novel double machine learning (DML) procedures for panel data in which these algorithms are used to approximate high-dimensional and nonlinear nuisance functions of the covariates.

Show full abstract

Our new procedures are extensions of the well-known correlated random effects, within-group and first-difference estimators from linear to nonlinear panel models, specifically, Robinson (1988)'s partially linear regression model with fixed effects and unspecified nonlinear confounding. Our simulation study assesses the performance of these procedures using different machine learning algorithms. We use our procedures to re-estimate the impact of minimum wage on voting behaviour in the UK. From our results, we recommend the use of first-differencing because it imposes the fewest constraints on the distribution of the fixed effects, and an ensemble learning strategy to ensure optimum estimator accuracy.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
POLSEAN/xtdmlOfficial20R–2026-03-12
cran/xtdmlCommunity0R–2026-03-13
POLSEAN/xtdmlOfficial100%

Double Machine Learning for panel data models with fixed effects

206RDec 13, 20238 months ago
cran/xtdmlCommunity66%

:exclamation: This is a read-only mirror of the CRAN R package repository. xtdml — Double Machine Learning for Static Panel Models with Fixed Effects

00RSep 8, 20258 months ago

Similar Papers

Cite this paper

@article{clarke2023double,
  title  = {Double Machine Learning for Static Panel Models with Fixed Effects},
  author = {Paul S. Clarke and Annalivia Polselli},
  year   = {2023},
  eprint = {2312.08174},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.08174v5}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.08174.svg)](https://codeofpaper.com/paper/2312.08174)

Discussion