Am J Epidemiol. 2022 Jun 27;191(7):1300-1306. doi: 10.1093/aje/kwac041.
Simulation methods are a powerful set of tools that can allow researchers to better characterize phenomena from the real world. As such, the ability to simulate data represents a critical set of skills that epidemiologists should use to better understand epidemiologic concepts and ensure that they have the tools to continue to self-teach even when their formal instruction ends. Simulation methods are not always taught in epidemiology methods courses, whereas causal directed acyclic graphs (DAGs) often are. Therefore, this paper details an approach to building simulations from DAGs and provides examples and code for learning to perform simulations. We recommend using very simple DAGs to learn the procedures and code necessary to set up a simulation that builds on key concepts frequently of interest to epidemiologists (e.g., mediation, confounding bias, M bias). We believe that following this approach will allow epidemiologists to gain confidence with a critical skill set that may in turn have a positive impact on how they conduct future epidemiologic studies.
模拟方法是一组强大的工具,可以帮助研究人员更好地描述真实世界中的现象。因此,模拟数据的能力代表了一组关键技能,流行病学家应该使用这些技能来更好地理解流行病学概念,并确保他们有工具在正式指导结束后继续自学。模拟方法并不总是在流行病学方法课程中教授,而有向无环图(DAG)经常被教授。因此,本文详细介绍了一种从 DAG 构建模拟的方法,并提供了示例和代码,用于学习执行模拟。我们建议使用非常简单的 DAG 来学习必要的程序和代码,以建立一个模拟,该模拟基于对流行病学家经常感兴趣的关键概念(例如,中介、混杂偏差、M 偏差)。我们相信,采用这种方法将使流行病学家对一组关键技能建立信心,这反过来可能会对他们未来进行流行病学研究的方式产生积极影响。