Eleanor (Ellie) Murray's repositories
causalgraphs_latex
Drawing graphical models for causal inference using LaTeX
causalinferencebook_stata
Stata code for part 2 of the book Causal Inference, by Miguel Hernán and James Robins
DiD_Tutorial
Tutorial on the implementation of difference-in-difference analyses for estimating the effect of a group-level treatment among the treated.
ABMs-for-causal-inference
Code for: Murray EJ, Robins JM, George R. Seage III, Freedberg KA, Hernan MA. A Comparison of Agent-Based Models and the Parametric G-Formula for Causal Inference. American Journal of Epidemiology. 2017;186(2):131-42.
Causal_Inference_Rosetta_Stone
Causal Inference Rosetta Stone: Dictionary and thesaurus of causal inference terms across disciplines
dataviz_challenges
Data visualization challenges
CoinToss_colliderbias
A worked example of collider bias inspired by The Book of Why, Pearl & Mackenzie
CDP-analysis2023
Re-analyses of the Coronary Drug Project (CDP) placebo arm data using various confounder sets
CDP-analysis-2016
Code for: Murray EJ, Hernán MA. Adherence adjustment in the Coronary Drug Project: A call for better per-protocol effect estimates in randomized trials. Clinical Trials. 2016; 13(4): 372 – 378.
CDP-analysis-2018
Murray EJ, Hernan MA. Improved adherence adjustment in the Coronary Drug Project. Trials, 2018; 19:158.
CausalDiscovery_CDP
Implementation of causal discovery algorithms on the Coronary Drug Project placebo arm
CHARM_reanalysis
SAS code for estimating the per-protocol effect in the Candesartan in Heart Failure Morbidity and Mortality Trial
ShinyCollider
a prototype shiny app for teaching collider bias
causal_inference_python_code
Python code for part 2 of the book Causal Inference, by Miguel Hernán and James Robins