Affiliation:
1. Department of Biostatistics, Columbia University , New York, NY 10027 , United States
Abstract
Abstract
Many software packages have been developed to assist researchers in drawing directed acyclic graphs (DAGs), each with unique functionality and usability. We examine five of the most common software to generate DAGs: TikZ, DAGitty, ggdag, dagR, and igraph. For each package, we provide a general description of its background, analysis and visualization capabilities, and user-friendliness. In addition, in order to compare packages, we produce two DAGs in each software, the first featuring a simple confounding structure and the second with a more complex structure with three confounders and a mediator. We provide recommendations for when to use each software depending on the user’s needs.
Subject
Statistics, Probability and Uncertainty,Statistics and Probability
Reference56 articles.
1. Greenland S, Pearl J, Robins JM. Causal diagrams for epidemiologic research. Epidemiology. 1999:37–48.
2. Hernán MA, Robins JM. Causal Inference: What If. Boca Raton FL: Chapman & Hall/CRC; 2020.
3. Pearl J. Causality. Cambridge, UK: Cambridge University Press; 2009.
4. Imbens GW, Rubin DB. Causal inference in statistics, social, and biomedical sciences. Cambridge, UK: Cambridge University Press; 2015.
5. Morgan SL, Winship C. Counterfactuals and causal inference. Cambridge, UK: Cambridge University Press; 2015.