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

被引:1494
|
作者
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 条
  • [31] Directed Acyclic Graphs in Decision-Analytic Modeling: Bridging Causal Inference and Effective Model Design in Medical Decision Making
    Dijk, Stijntje W.
    Korf, Maurice
    Labrecque, Jeremy A.
    Pandya, Ankur
    Ferket, Bart S.
    Hallsson, Lara R.
    Wong, John B.
    Siebert, Uwe
    Hunink, M. G. Myriam
    MEDICAL DECISION MAKING, 2025, 45 (03) : 223 - 231
  • [32] Estimating the Causal Effect of an Exposure on Change from Baseline Using Directed Acyclic Graphs and Path Analysis
    Lepage, Benoit
    Lamy, Sebastien
    Dedieu, Dominique
    Savy, Nicolas
    Lang, Thierry
    EPIDEMIOLOGY, 2015, 26 (01) : 122 - 129
  • [33] Directed Acyclic Graphs (DAGs) for Better Study Design and Causal Thinking in Teratology
    Pace, N. D.
    BIRTH DEFECTS RESEARCH, 2019, 111 (09): : 468 - 468
  • [34] Variational quantum eigensolver for causal loop Feynman diagrams and directed acyclic graphs
    Clemente, Giuseppe
    Crippa, Arianna
    Jansen, Karl
    Ramirez-Uribe, Selomit
    Renteria-Olivo, Andres E.
    Rodrigo, German
    Sborlini, German F. R.
    Silva, Luiz Vale
    PHYSICAL REVIEW D, 2023, 108 (09)
  • [35] Re: Estimating the Causal Effect of an Exposure on Change From Baseline Using Directed Acyclic Graphs and Path Analysis
    Schumacher, Cooper S.
    Sheppard, Lianne
    EPIDEMIOLOGY, 2017, 28 (03) : E27 - E28
  • [36] Rethinking animal attrition in preclinical research: Expressing causal mechanisms of selection bias using directed acyclic graphs
    Collazo, Anja
    Kuhn, Hans-Georg
    Kurth, Tobias
    Piccininni, Marco
    Rohmann, Jessica L.
    JOURNAL OF CEREBRAL BLOOD FLOW AND METABOLISM, 2025, 45 (02): : 340 - 351
  • [37] Contemporaneous causal orderings of US corn cash prices through directed acyclic graphs
    Xu, Xiaojie
    EMPIRICAL ECONOMICS, 2017, 52 (02) : 731 - 758
  • [38] CWGCNA: an R package to perform causal inference from the WGCNA framework
    Liu, Yu
    NAR GENOMICS AND BIOINFORMATICS, 2024, 6 (02)
  • [39] Directed Acyclic Graphs (DAGs) - Basic Concepts and Application of an Approach for Causal Analyses in Epidemiology
    Hardt, J.
    Brendler, C.
    Greiser, K. H.
    Timmer, A.
    Seidler, A.
    Weikert, C.
    Latza, U.
    GESUNDHEITSWESEN, 2011, 73 (12) : 878 - 879
  • [40] R Package multiPIM: A Causal Inference Approach to Variable Importance Analysis
    Ritter, Stephan J.
    Jewell, Nicholas P.
    Hubbard, Alan E.
    JOURNAL OF STATISTICAL SOFTWARE, 2014, 57 (08): : 1 - 29