IDEAS home Printed from https://ideas.repec.org/c/boc/bocode/s459175.html
 

DDML: Stata module for Double/Debiased Machine Learning

Author

Listed:
  • Achim Ahrens

    (ETH Zürich)

  • Christian B. Hansen

    (University of Chicago)

  • Mark E Schaffer

    (Heriot-Watt University)

  • Thomas Wiemann

    (University of Chicago)

Programming Language

Stata

Abstract

The package ddml implements Double/De-biased Machine Learning for Stata. Five different econometric models are supported, allowing for flexible estimation of causal effects of possibly endogenous variables in settings with unknown functional forms and/or many exogenous variables. ddml is compatible with many existing supervised machine learning programs in Stata.

Suggested Citation

  • Achim Ahrens & Christian B. Hansen & Mark E Schaffer & Thomas Wiemann, 2023. "DDML: Stata module for Double/Debiased Machine Learning," Statistical Software Components S459175, Boston College Department of Economics, revised 18 Sep 2024.
  • Handle: RePEc:boc:bocode:s459175
    Note: This module should be installed from within Stata by typing "ssc install ddml". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
    as

    Download full text from publisher

    File URL: http://repec.org/bocode/d/DoubleML_repl.R
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/DoubleML_repl.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/DoubleML_results.csv
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_allcombos.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_copy.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_crossfit.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_describe.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_drop.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_estimate_ate_late.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_estimate_linear.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_export.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_extract.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_nnls.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_nnls_p.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_overlap.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_sample.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_save.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/_/_ddml_use.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/c/crossfit.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/c/crossfit.sthlp
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_extract.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_crossfit.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_examples.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_export.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_extract.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_fiv.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_init.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_install_ref_auth.ihlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_interactive.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_interactiveiv.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_iv.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_late.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_overlap.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_overview.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_partial.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_sample.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_stacking.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_describe.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_export.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_extract.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_fcluster.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_flexiv_anylearner_basic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_flexiv_anylearner_detailed.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_interactive_pystacked_basic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_interactive_pystacked_detailed.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_interactiveiv_pystacked_basic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_interactiveiv_pystacked_detailed.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_overlap.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_partial_anylearner_detailed.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_partial_pystacked_basic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_partial_pystacked_detailed.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_partial_pystacked_multitreat.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_partialiv_anylearner_basic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_partialiv_pystacked_basic.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_example_stacking.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/c/cert_ddml_export.csv
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/m/m_ddml_sip1991.csv
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/b/BLP.dta
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/c/cattaneo2.dta
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/j/jtpa.dta
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/s/sipp1991.dta
    File Function: sample data
    Download Restriction: no

    File URL: http://repec.org/bocode/l/lddml.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/l/lddml.mlib
    File Function: object library
    Download Restriction: no

    File URL: http://repec.org/bocode/q/qddml.ado
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/q/qddml.sthlp
    File Function: help file
    Download Restriction: no

    File URL: http://repec.org/bocode/q/qddml_cert.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_all.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_crossfit.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_fiv.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_helpfiles.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_interactive.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_interactiveiv.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_misc.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_partial_iv.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert_partial.do
    File Function: program code
    Download Restriction: no

    File URL: http://repec.org/bocode/d/ddml_cert.do
    File Function: program code
    Download Restriction: no
    ---><---

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:boc:bocode:s459175. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Christopher F Baum (email available below). General contact details of provider: https://edirc.repec.org/data/debocus.html .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.