# Double Machine Learning for Partially Linear Mixed-Effects Models with Repeated Measurements

arXiv: https://arxiv.org/abs/2108.13657 · HTML: https://mlsanity.com/paper/2108.13657/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- Builds on 7 of its 80 references that are in the map.
- First posted on arXiv 31 Aug 2021.

## Builds on (most cited first, 7 of 7)

- [High-Dimensional L2Boosting: Rate of Convergence](https://mlsanity.com/paper/1602.08927/) (2016)
- [Double/Debiased Machine Learning for Logistic Partially Linear Model](https://mlsanity.com/paper/2009.14461/) (2020)
- [Inference for high-dimensional linear mixed-effects models: A quasi-likelihood approach](https://mlsanity.com/paper/1907.06116/) (2019)
- [Regularizing Double Machine Learning in Partially Linear Endogenous Models](https://mlsanity.com/paper/2101.12525/) (2021)
- [Analysis of Testing-Based Forward Model Selection](https://mlsanity.com/paper/1512.02666/) (2015)
- [Fixed effects testing in high-dimensional linear mixed models](https://mlsanity.com/paper/1708.04887/) (2017)
- [High-dimensional generalized semiparametric model for longitudinal data](https://mlsanity.com/paper/1909.08498/) (2019)

## Built on by (most cited first, 2 of 2)

- [Weak instrumental variables due to ignored nonlinearities in panel data: A Super Learner Control Function estimator](https://mlsanity.com/paper/2504.03228/) (2025)
- [A Family of Divergence Measures for Evaluating the Reconstruction Quality of Explainable Ensemble Trees](https://mlsanity.com/paper/2605.19618/) (2026)

## Abstract (arXiv)

Traditionally, spline or kernel approaches in combination with parametric estimation are used to infer the linear coefficient (fixed effects) in a partially linear mixed-effects model for repeated measurements. Using machine learning algorithms allows us to incorporate complex interaction structures and high-dimensional variables. We employ double machine learning to cope with the nonparametric part of the partially linear mixed-effects model: the nonlinear variables are regressed out nonparametrically from both the linear variables and the response. This adjustment can be performed with any machine learning algorithm, for instance random forests, which allows to take complex interaction terms and nonsmooth structures into account. The adjusted variables satisfy a linear mixed-effects model, where the linear coefficient can be estimated with standard linear mixed-effects techniques. We prove that the estimated fixed effects coefficient converges at the parametric rate, is asymptotically Gaussian distributed, and semiparametrically efficient. Two simulation studies demonstrate that our method outperforms a penalized regression spline approach in terms of coverage. We also illustrate our proposed approach on a longitudinal dataset with HIV-infected individuals. Software code for our method is available in the R-package dmlalg.
