This paper introduces a collection of four data sets, similar to Anscombe's Quartet, that aim to highlight the challenges involved when estimating causal effects. Each of the four data sets is generated based on a distinct causal mechanism: the first involves a collider, the second involves a confounder, the third involves a mediator, and the fourth involves the induction of M-Bias by an included factor. The paper includes a mathematical summary of each data set, as well as directed acyclic graphs that depict the relationships between the variables. Despite the fact that the statistical summaries and visualizations for each data set are identical, the true causal effect differs, and estimating it correctly requires knowledge of the data-generating mechanism. These example data sets can help practitioners gain a better understanding of the assumptions underlying causal inference methods and emphasize the importance of gathering more information beyond what can be obtained from statistical tools alone. The paper also includes R code for reproducing all figures and provides access to the data sets themselves through an R package named quartets.
翻译:本文介绍了四组数据集,类似于安斯康姆四重奏,旨在凸显在估计因果效应时所面临的挑战。每组数据集都基于不同的因果机制生成:第一组包括一个碰撞变量,第二组包括一个混杂变量,第三组包括一个中介变量,第四组包括通过一个包含变量引导M-bias的机制。文章对每组数据集进行了数学总结,并提供了反映变量之间关系的有向无环图。尽管每组数据集的统计摘要和可视化结果均相同,但真正的因果效应不同,想要正确地估计它需要了解数据生成机制。这些示例数据集可以帮助从业人员更好地了解因果推断方法的假设,并强调除了统计工具无法获取的更多信息的重要性。文章还提供了用于复制所有图形的R代码,并通过名为quartets的R包提供了访问数据集的途径。