On the (Mis)Use of Machine Learning With Panel Data

ABSTRACT We provide the first systematic assessment of data leakage issues in the use of machine learning on panel data. Our organising framework clarifies why neglecting the cross‐sectional and longitudinal structure of these data leads to hard‐to‐detect data leakage, inflated out‐of‐sample performance, and an inadvertent overestimation of the real‐world usefulness and applicability of machine learning models. We then offer empirical guidelines for practitioners to ensure the correct implementation of supervised machine learning in panel data environments. An empirical application, using data from over 3000 U.S. counties spanning 2000 to 2019 and focused on income prediction, illustrates the practical relevance of these points across nearly 500 models for both classification and regression tasks.

Authors

Institutions

Publication Details

Journal
Oxford Bulletin of Economics and Statistics
Published
2025-09-12
DOI
https://doi.org/10.1111/obes.70019
Citations
3
Primary Topic
Advanced Causal Inference Techniques
Type
article
Field-Weighted Citation Impact
7.89
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

On the (Mis)Use of Machine Learning With Panel Data

Marco Letta, Augusto Cerqua, Gabriele Pinto
3 citations
Oxford Bulletin of Economics and Statistics
Advanced Causal Inference Techniques
7.89
article

On the (Mis)Use of Machine Learning With Panel Data

Marco Letta, Augusto Cerqua, Gabriele Pinto
article en
3 citations

Abstract

ABSTRACT We provide the first systematic assessment of data leakage issues in the use of machine learning on panel data. Our organising framework clarifies why neglecting the cross‐sectional and longitudinal structure of these data leads to hard‐to‐detect data leakage, inflated out‐of‐sample performance, and an inadvertent overestimation of the real‐world usefulness and applicability of machine learning models. We then offer empirical guidelines for practitioners to ensure the correct implementation of supervised machine learning in panel data environments. An empirical application, using data from over 3000 U.S. counties spanning 2000 to 2019 and focused on income prediction, illustrates the practical relevance of these points across nearly 500 models for both classification and regression tasks.

Oxford Bulletin of Economics and Statistics
Sapienza University of Rome (IT)
Openalex Percentile: Top 2%
Advanced Causal Inference Techniques
7.89
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.