Robust causal inference using directed acyclic graphs: the R package 'dagitty'

被引:1703
作者
Textor, Johannes [1 ]
van der Zander, Benito [2 ]
Gilthorpe, Mark S. [3 ,4 ]
Liskiewicz, Maciej [2 ]
Ellison, George T. H. [3 ,4 ]
机构
[1] Radboud Univ Nijmegen, Med Ctr, Dept Tumour Immunol, POB 9101, NL-6500 HB Nijmegen, Netherlands
[2] Univ Lubeck, Inst Theoret Comp Sci, Lubeck, Germany
[3] Univ Leeds, Leeds Inst Cardiovasc & Metab Med, Leeds, W Yorkshire, England
[4] Univ Leeds, Leeds Inst Data Analyt, Leeds, W Yorkshire, England
关键词
D O I
10.1093/ije/dyw341
中图分类号
R1 [预防医学、卫生学];
学科分类号
1004 ; 120402 ;
摘要
Directed acyclic graphs (DAGs), which offer systematic representations of causal relationships, have become an established framework for the analysis of causal inference in epidemiology, often being used to determine covariate adjustment sets for minimizing confounding bias. DAGitty is a popular web application for drawing and analysing DAGs. Here we introduce the R package 'dagitty', which provides access to all of the capabilities of the DAGitty web application within the R platform for statistical computing, and also offers several new functions. We describe how the R package 'dagitty' can be used to: evaluate whether a DAG is consistent with the dataset it is intended to represent; enumerate 'statistically equivalent' but causally different DAGs; and identify exposure-outcome adjustment sets that are valid for causally different but statistically equivalent DAGs. This functionality enables epidemiologists to detect causal misspecifications in DAGs and make robust inferences that remain valid for a range of different DAGs.
引用
收藏
页码:1887 / 1894
页数:8
相关论文
共 50 条
[41]   R Package multiPIM: A Causal Inference Approach to Variable Importance Analysis [J].
Ritter, Stephan J. ;
Jewell, Nicholas P. ;
Hubbard, Alan E. .
JOURNAL OF STATISTICAL SOFTWARE, 2014, 57 (08) :1-29
[42]   CWGCNA: an R package to perform causal inference from the WGCNA framework [J].
Liu, Yu .
NAR GENOMICS AND BIOINFORMATICS, 2024, 6 (02)
[43]   Contemporaneous causal orderings of US corn cash prices through directed acyclic graphs [J].
Xiaojie Xu .
Empirical Economics, 2017, 52 :731-758
[44]   How to develop causal directed acyclic graphs for observational health research: a scoping review [J].
Poppe, Louise ;
Steen, Johan ;
Loh, Wen Wei ;
Crombez, Geert ;
De Block, Fien ;
Jacobs, Noortje ;
Tennant, Peter W. G. ;
Van Cauwenberg, Jelle ;
De Paepe, Annick L. .
HEALTH PSYCHOLOGY REVIEW, 2025, 19 (01) :45-65
[45]   Fast and Robust Bootstrap for Multivariate Inference: The R Package FRB [J].
Van Aelst, Stefan ;
Willems, Gert .
JOURNAL OF STATISTICAL SOFTWARE, 2013, 53 (03) :1-32
[46]   PERFORMANCE AND RELIABILITY-ANALYSIS USING DIRECTED ACYCLIC GRAPHS [J].
SAHNER, RA ;
TRIVEDI, KS .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (10) :1105-1114
[47]   Using compartmental models to simulate directed acyclic graphs to explore competing causal mechanisms underlying epidemiological study data [J].
Havumaki, Joshua ;
Eisenberg, Marisa C. .
JOURNAL OF THE ROYAL SOCIETY INTERFACE, 2020, 17 (167)
[48]   Assessing knowledge, attitudes, and practices towards causal directed acyclic graphs: a qualitative research project [J].
Ruby Barnard-Mayers ;
Ellen Childs ;
Laura Corlin ;
Ellen C. Caniglia ;
Matthew P. Fox ;
John P. Donnelly ;
Eleanor J. Murray .
European Journal of Epidemiology, 2021, 36 :659-667
[49]   Structural factor equation models for causal network construction via directed acyclic mixed graphs [J].
Zhou, Yan ;
Song, Peter X-K ;
Wen, Xiaoquan .
BIOMETRICS, 2021, 77 (02) :573-586
[50]   Assessing knowledge, attitudes, and practices towards causal directed acyclic graphs: a qualitative research project [J].
Barnard-Mayers, Ruby ;
Childs, Ellen ;
Corlin, Laura ;
Caniglia, Ellen C. ;
Fox, Matthew P. ;
Donnelly, John P. ;
Murray, Eleanor J. .
EUROPEAN JOURNAL OF EPIDEMIOLOGY, 2021, 36 (07) :659-667