Testing graphical causal models using the R package “dagitty”

A Ankan, IMN Wortel, J Textor - Current Protocols, 2021 - Wiley Online Library
Current Protocols, 2021Wiley Online Library
Causal diagrams such as directed acyclic graphs (DAGs) are used in several scientific fields
to help design and analyze studies that aim to infer causal effects from observational data;
for example, DAGs can help identify suitable strategies to reduce confounding bias.
However, DAGs can be difficult to design, and the validity of any DAG‐derived strategy
hinges on the validity of the postulated DAG itself. Researchers should therefore check
whether the assumptions encoded in the DAG are consistent with the data before …
Abstract
Causal diagrams such as directed acyclic graphs (DAGs) are used in several scientific fields to help design and analyze studies that aim to infer causal effects from observational data; for example, DAGs can help identify suitable strategies to reduce confounding bias. However, DAGs can be difficult to design, and the validity of any DAG‐derived strategy hinges on the validity of the postulated DAG itself. Researchers should therefore check whether the assumptions encoded in the DAG are consistent with the data before proceeding with the analysis. Here, we explain how the R package ‘dagitty’, based on the web tool dagitty.net, can be used to test the statistical implications of the assumptions encoded in a given DAG. We hope that this will help researchers discover model specification errors, avoid erroneous conclusions, and build better models. © 2021 The Authors.
This article was corrected on 19 July 2022. See the end of the full text for details.
Basic Protocol 1: Constructing and importing DAG models from the dagitty web interface
Support Protocol 1: Installing R, RStudio, and the dagitty package
Basic Protocol 2: Testing DAGs against categorical data
Basic Protocol 3: Testing DAGs against continuous data
Support Protocol 2: Testing DAGs against continuous data with non‐linearities
Basic Protocol 4: Testing DAGs against a combination of categorical and continuous data
Wiley Online Library
以上显示的是最相近的搜索结果。 查看全部搜索结果