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

12/17/2020
by   Matthew J. Smith, et al.
0

The purpose of many health studies is to estimate the effect of an exposure on an outcome. It is not always ethical to assign an exposure to individuals in randomised controlled trials, instead observational data and appropriate study design must be used. There are major challenges with observational studies, one of which is confounding that can lead to biased estimates of the causal effects. Controlling for confounding is commonly performed by simple adjustment for measured confounders; although, often this is not enough. Recent advances in the field of causal inference have dealt with confounding by building on classical standardisation 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 different estimators were developed to overcome the limitations of the previous one. Furthermore, we also briefly introduce the potential outcomes framework, illustrate the use of different methods using an illustration from the health care setting, and most importantly, we provide reproducible and commented code in Stata, R and Python for researchers to apply in their own observational study. The code can be accessed at https://github.com/migariane/TutorialCausalInferenceEstimators

READ FULL TEXT
research
11/16/2020

Causal inference methods for combining randomized trials and observational studies: a review

With increasing data availability, treatment causal effects can be evalu...
research
10/09/2021

Deep Learning of Potential Outcomes

This review systematizes the emerging literature for causal inference us...
research
06/04/2018

A Causal Exposure Response Function with Local Adjustment for Confounding

In the last two decades, ambient levels of air pollution have declined s...
research
02/03/2021

Sensitivity Analysis for Unmeasured Confounding via Effect Extrapolation

Inferring the causal effect of a non-randomly assigned exposure on an ou...
research
07/15/2021

Independence weights for causal inference with continuous exposures

Studying causal effects of continuous exposures is important for gaining...
research
06/30/2021

Assignment-Control Plots: A Visual Companion for Causal Inference Study Design

An important step for any causal inference study design is understanding...

Please sign up or login with your details

Forgot password? Click here to reset