Robust causal inference using directed acyclic graphs: the R package ‘dagitty’
Radboud University Nijmegen · Radboud University Medical Center · +2 more institutions
Abstract
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…
Citation impact
- FWCI
- 48.15
- Percentile
- 100%
- References
- 21
Authors
5Topics & keywords
- Directed acyclic graph
- Causal inference
- Covariate
- R package
- Computer science
- Inference
- Source code
- Causal model