{"title":"Comparison of open-source software for producing directed acyclic graphs.","authors":"Amy J Pitts, Charlotte R Fowler","doi":"10.1515/jci-2023-0031","DOIUrl":null,"url":null,"abstract":"<p><p>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: Ti<i>k</i>Z, DAGitty, ggdag, dagR, and igraph. For each package, we provide a general description of its background, analysis and visualization capabilities, and user-friendliness. Additionally in order to compare packages, we produce two DAGs in each software, the first featuring a simple confounding structure, while the second includes 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.</p>","PeriodicalId":48576,"journal":{"name":"Journal of Causal Inference","volume":"12 1","pages":""},"PeriodicalIF":1.7000,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10869111/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Causal Inference","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1515/jci-2023-0031","RegionNum":4,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"2024/1/10 0:00:00","PubModel":"Epub","JCR":"Q2","JCRName":"MATHEMATICS, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
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. Additionally in order to compare packages, we produce two DAGs in each software, the first featuring a simple confounding structure, while the second includes 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.
为了帮助研究人员绘制有向无环图(DAG),已经开发了许多软件包,每种软件都有独特的功能和可用性。我们研究了五种最常用的生成 DAG 的软件:TikZ、DAGitty、ggdag、dagR 和 igraph。我们对每个软件包的背景、分析和可视化能力以及用户友好性进行了总体描述。此外,为了对软件包进行比较,我们在每个软件中制作了两个 DAG,第一个 DAG 包含一个简单的混杂结构,第二个 DAG 包含一个包含三个混杂因素和一个中介因素的更复杂的结构。我们将根据用户的需求,为何时使用每种软件提供建议。
期刊介绍:
Journal of Causal Inference (JCI) publishes papers on theoretical and applied causal research across the range of academic disciplines that use quantitative tools to study causality.