All Projects → DoubleML → doubleml-for-r

DoubleML / doubleml-for-r

Licence: other
DoubleML - Double Machine Learning in R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to doubleml-for-r

doubleml-for-py
DoubleML - Double Machine Learning in Python
Stars: ✭ 129 (+122.41%)
Mutual labels:  econometrics, causal-inference, double-machine-learning
SyntheticControlMethods
A Python package for causal inference using Synthetic Controls
Stars: ✭ 90 (+55.17%)
Mutual labels:  econometrics, causal-inference
CausalInferenceIntro
Causal Inference for the Brave and True的中文翻译版。全部代码基于Python,适用于计量经济学、量化社会学、策略评估等领域。英文版原作者:Matheus Facure
Stars: ✭ 207 (+256.9%)
Mutual labels:  econometrics, causal-inference
causeinfer
Machine learning based causal inference/uplift in Python
Stars: ✭ 45 (-22.41%)
Mutual labels:  econometrics, causal-inference
Computational-Economics
Algorithmic game theory, recursive macroeconomics, machine learning for econometrics
Stars: ✭ 35 (-39.66%)
Mutual labels:  econometrics
drtmle
Nonparametric estimators of the average treatment effect with doubly-robust confidence intervals and hypothesis tests
Stars: ✭ 14 (-75.86%)
Mutual labels:  causal-inference
CausalityTools.jl
Algorithms for causal inference and the detection of dynamical coupling from time series, and for approximation of the transfer operator and invariant measures.
Stars: ✭ 45 (-22.41%)
Mutual labels:  causal-inference
Diebold-Mariano-Test
This Python function dm_test implements the Diebold-Mariano Test (1995) to statistically test forecast accuracy equivalence for 2 sets of predictions with modification suggested by Harvey et. al (1997).
Stars: ✭ 70 (+20.69%)
Mutual labels:  econometrics
Econ-Data-Science
Articles/ Journals and Videos related to Economics📈 and Data Science 📊
Stars: ✭ 102 (+75.86%)
Mutual labels:  econometrics
econowcast
Experimental tools (R) for Big Data econometrics nowcasting and early estimates
Stars: ✭ 26 (-55.17%)
Mutual labels:  econometrics
grmpy
Python package for the simulation and estimation of generalized Roy model
Stars: ✭ 14 (-75.86%)
Mutual labels:  econometrics
ose-course-data-science
course on data science for economists
Stars: ✭ 81 (+39.66%)
Mutual labels:  econometrics
bacondecomp
Bacon-Goodman decomposition for differences-in-differences with variation in treatment timing.
Stars: ✭ 36 (-37.93%)
Mutual labels:  econometrics
Econ5121A
Econ5121A@CUHK. This is an open-source writing project.
Stars: ✭ 56 (-3.45%)
Mutual labels:  econometrics
cibookex-r
Causal Inference: What If. R and Stata code for Exercises
Stars: ✭ 54 (-6.9%)
Mutual labels:  causal-inference
policytree
Policy learning via doubly robust empirical welfare maximization over trees
Stars: ✭ 59 (+1.72%)
Mutual labels:  causal-inference
Causal Reading Group
We will keep updating the paper list about machine learning + causal theory. We also internally discuss related papers between NExT++ (NUS) and LDS (USTC) by week.
Stars: ✭ 339 (+484.48%)
Mutual labels:  causal-inference
FixedEffectModel
Fixedeffectmodel: panel data modeling in Python
Stars: ✭ 47 (-18.97%)
Mutual labels:  econometrics
Awesome-Neural-Logic
Awesome Neural Logic and Causality: MLN, NLRL, NLM, etc. 因果推断,神经逻辑,强人工智能逻辑推理前沿领域。
Stars: ✭ 106 (+82.76%)
Mutual labels:  causal-inference
drnet
💉📈 Dose response networks (DRNets) are a method for learning to estimate individual dose-response curves for multiple parametric treatments from observational data using neural networks.
Stars: ✭ 48 (-17.24%)
Mutual labels:  causal-inference

DoubleML - Double Machine Learning in R

build codecov CodeFactor CRAN Version

The R package DoubleML provides an implementation of the double / debiased machine learning framework of Chernozhukov et al. (2018). It is built on top of mlr3 and the mlr3 ecosystem (Lang et al., 2019).

Note that the R package was developed together with a python twin based on scikit-learn. The python package is also available on GitHub and PyPI version.

Documentation and maintenance

Documentation of functions in R: https://docs.doubleml.org/r/stable/reference/index.html

User guide: https://docs.doubleml.org

DoubleML is currently maintained by @MalteKurz and @PhilippBach.

Main Features

Double / debiased machine learning framework of Chernozhukov et al. (2018) for

  • Partially linear regression models (PLR)
  • Partially linear IV regression models (PLIV)
  • Interactive regression models (IRM)
  • Interactive IV regression models (IIVM)

The object-oriented implementation of DoubleML that is based on the R6 package for R is very flexible. The model classes DoubleMLPLR, DoubleMLPLIV, DoubleMLIRM and DoubleIIVM implement the estimation of the nuisance functions via machine learning methods and the computation of the Neyman orthogonal score function. All other functionalities are implemented in the abstract base class DoubleML. In particular functionalities to estimate double machine learning models and to perform statistical inference via the methods fit, bootstrap, confint, p_adjust and tune. This object-oriented implementation allows a high flexibility for the model specification in terms of …

  • … the machine learning methods for estimation of the nuisance functions,
  • … the resampling schemes,
  • … the double machine learning algorithm,
  • … the Neyman orthogonal score functions,

It further can be readily extended with regards to

  • … new model classes that come with Neyman orthogonal score functions being linear in the target parameter,
  • … alternative score functions via callables,
  • … alternative resampling schemes,

OOP structure of the DoubleML package

Installation

Install the latest release from CRAN:

remotes::packages("DoubleML")

Install the development version from GitHub:

remotes::install_github("DoubleML/doubleml-for-r")

DoubleML requires

  • R (>= 3.5.0)
  • R6 (>= 2.4.1)
  • data.table (>= 1.12.8)
  • stats
  • checkmate
  • mlr3 (>= 0.5.0)
  • mlr3tuning (>= 0.3.0)
  • mlr3learners (>= 0.3.0)
  • mvtnorm
  • utils
  • clusterGeneration
  • readstata13

Contributing

DoubleML is a community effort. Everyone is welcome to contribute. To get started for your first contribution we recommend reading our contributing guidelines and our code of conduct.

Citation

If you use the DoubleML package a citation is highly appreciated:

Bach, P., Chernozhukov, V., Kurz, M. S., and Spindler, M. (2021), DoubleML - An Object-Oriented Implementation of Double Machine Learning in R, arXiv:2103.09603.

Bibtex-entry:

@misc{DoubleML2020,
      title={{DoubleML} -- {A}n Object-Oriented Implementation of Double Machine Learning in {R}}, 
      author={P. Bach and V. Chernozhukov and M. S. Kurz and M. Spindler},
      year={2021},
      eprint={2103.09603},
      archivePrefix={arXiv},
      primaryClass={stat.ML},
      note={arXiv:\href{https://arxiv.org/abs/2103.09603}{2103.09603} [stat.ML]}
}

References

  • Chernozhukov, V., Chetverikov, D., Demirer, M., Duflo, E., Hansen, C., Newey, W. and Robins, J. (2018), Double/debiased machine learning for treatment and structural parameters. The Econometrics Journal, 21: C1-C68, https://doi.org/10.1111/ectj.12097.

  • Lang, M., Binder, M., Richter, J., Schratz, P., Pfisterer, F., Coors, S., Au, Q., Casalicchio, G., Kotthoff, L., Bischl, B. (2019), mlr3: A modern object-oriented machine learing framework in R. Journal of Open Source Software, https://doi.org/10.21105/joss.01903.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].