Package: dmlalg 1.0.2

dmlalg: Double Machine Learning Algorithms

Implementation of double machine learning (DML) algorithms in R, based on Emmenegger and Buehlmann (2021) "Regularizing Double Machine Learning in Partially Linear Endogenous Models" <arxiv:2101.12525> and Emmenegger and Buehlmann (2021) <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.

Authors:Corinne Emmenegger [aut, cre], Peter Buehlmann [ths]

dmlalg_1.0.2.tar.gz
dmlalg_1.0.2.zip(r-4.5)dmlalg_1.0.2.zip(r-4.4)dmlalg_1.0.2.zip(r-4.3)
dmlalg_1.0.2.tgz(r-4.5-any)dmlalg_1.0.2.tgz(r-4.4-any)dmlalg_1.0.2.tgz(r-4.3-any)
dmlalg_1.0.2.tar.gz(r-4.5-noble)dmlalg_1.0.2.tar.gz(r-4.4-noble)
dmlalg_1.0.2.tgz(r-4.4-emscripten)dmlalg_1.0.2.tgz(r-4.3-emscripten)
dmlalg.pdf |dmlalg.html
dmlalg/json (API)
NEWS

# Install 'dmlalg' in R:
install.packages('dmlalg', repos = c('https://corinne-rahel.r-universe.dev', 'https://cloud.r-project.org'))

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 1 stars 3 scripts 241 downloads 7 exports 21 dependencies

Last updated 3 years agofrom:99d2049020. Checks:9 OK. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 13 2025
R-4.5-winOKMar 13 2025
R-4.5-macOKMar 13 2025
R-4.5-linuxOKMar 13 2025
R-4.4-winOKMar 13 2025
R-4.4-macOKMar 13 2025
R-4.4-linuxOKMar 13 2025
R-4.3-winOKMar 13 2025
R-4.3-macOKMar 13 2025

Exports:example_data_mmdmlfixefmmdmlranefregsdmlVarCorrvcov

Dependencies:bootcodetoolsforeachglmnetiteratorslatticelme4MASSMatrixmatrixcalcminqanlmenloptrrandomForestrbibutilsRcppRcppEigenRdpackreformulasshapesurvival