dmlalg

Double Machine Learning Algorithms

CRAN Package

Implementation of double machine learning (DML) algorithms in R, based on Emmenegger and Buehlmann (2021) "Regularizing Double Machine Learning in Partially Linear Endogenous Models" doi:10.48550/arXiv.2101.12525 and Emmenegger and Buehlmann (2021) doi:10.48550/arXiv.2108.13657 "Double Machine Learning for Partially Linear Mixed-Effects Models with Repeated Measurements". First part: our goal is to perform inference for the linear parameter in partially linear models with confounding variables. The standard DML estimator of the linear parameter has a two-stage least squares interpretation, which can lead to a large variance and overwide confidence intervals. We apply regularization to reduce the variance of the estimator, which produces narrower confidence intervals that are approximately valid. Nuisance terms can be flexibly estimated with machine learning algorithms. Second part: our goal is to estimate and perform inference for the linear coefficient in a partially linear mixed-effects model with DML. Machine learning algorithms allows us to incorporate more complex interaction structures and high-dimensional variables.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 214 times in the last 30 days. Now we're getting somewhere! Enough downloads to populate a lively group chat. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 4 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 16, 2025
0 downloadsMar 17, 2025
12 downloadsMar 18, 2025
3 downloadsMar 19, 2025
11 downloadsMar 20, 2025
7 downloadsMar 21, 2025
6 downloadsMar 22, 2025
6 downloadsMar 23, 2025
11 downloadsMar 24, 2025
2 downloadsMar 25, 2025
2 downloadsMar 26, 2025
2 downloadsMar 27, 2025
12 downloadsMar 28, 2025
4 downloadsMar 29, 2025
5 downloadsMar 30, 2025
2 downloadsMar 31, 2025
6 downloadsApr 1, 2025
8 downloadsApr 2, 2025
3 downloadsApr 3, 2025
5 downloadsApr 4, 2025
6 downloadsApr 5, 2025
5 downloadsApr 6, 2025
18 downloadsApr 7, 2025
6 downloadsApr 8, 2025
6 downloadsApr 9, 2025
3 downloadsApr 10, 2025
8 downloadsApr 11, 2025
27 downloadsApr 12, 2025
3 downloadsApr 13, 2025
9 downloadsApr 14, 2025
12 downloadsApr 15, 2025
4 downloadsApr 16, 2025
0 downloadsApr 17, 2025
0 downloadsApr 18, 2025
0 downloadsApr 19, 2025
2
27

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 2,507 times in the last 365 days. Now we’re talking! This work is officially 'heard of in academic circles', just like those wild research papers on synthetic bananas. The day with the most downloads was Aug 07, 2024 with 39 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports4 packages
  • Suggests1 package