18
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      Introduction to computational causal inference using reproducible Stata, R, and Python code: A tutorial

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          <p class="first" id="d15869732e164">The main purpose of many medical studies is to estimate the effects of a treatment or exposure on an outcome. However, it is not always possible to randomize the study participants to a particular treatment, therefore observational study designs may be used. There are major challenges with observational studies; one of which is confounding. Controlling for confounding is commonly performed by direct adjustment of measured confounders; although, sometimes this approach is suboptimal due to modeling assumptions and misspecification. Recent advances in the field of causal inference have dealt with confounding by building on classical standardization methods. However, these recent advances have progressed quickly with a relative paucity of computational-oriented applied tutorials contributing to some confusion in the use of these methods among applied researchers. In this tutorial, we show the computational implementation of different causal inference estimators from a historical perspective where new estimators were developed to overcome the limitations of the previous estimators (ie, nonparametric and parametric g-formula, inverse probability weighting, double-robust, and data-adaptive estimators). We illustrate the implementation of different methods using an empirical example from the Connors study based on intensive care medicine, and most importantly, we provide reproducible and commented code in Stata, R, and Python for researchers to adapt in their own observational study. The code can be accessed at https://github.com/migariane/Tutorial_Computational_Causal_Inference_Estimators. </p>

          Related collections

          Author and article information

          Contributors
          (View ORCID Profile)
          (View ORCID Profile)
          (View ORCID Profile)
          Journal
          Statistics in Medicine
          Statistics in Medicine
          Wiley
          0277-6715
          1097-0258
          October 28 2021
          Affiliations
          [1 ]Inequalities in Cancer Outcomes Network, Department of Non‐communicable Disease Epidemiology London School of Hygiene and Tropical Medicine London UK
          [2 ]Department of Epidemiology and Biostatistics Tehran University of Medical Sciences Tehran Iran
          [3 ]Department of Epidemiology University of North Carolina at Chapel Hill Chapel Hill North Carolina USA
          [4 ]Carolina Population Center University of North Carolina at Chapel Hill Chapel Hill North Carolina USA
          [5 ]Non‐communicable Disease and Cancer Epidemiology Group, Instituto de Investigacion Biosanitaria de Granada (ibs.GRANADA), Andalusian School of Public Health University of Granada Granada Spain
          [6 ]Biomedical Network Research Centers of Epidemiology and Public Health (CIBERESP) Madrid Spain
          Article
          10.1002/sim.9234
          34713468
          ccaf02b8-43be-459e-a5ac-6e10db5d31f5
          © 2021

          http://creativecommons.org/licenses/by/4.0/

          http://doi.wiley.com/10.1002/tdm_license_1.1

          History

          Comments

          Comment on this article