This article develops new closed-form variance expressions for power analyses for commonly used difference-in-differences (DID) and comparative interrupted time series (CITS) panel data estimators. The main contribution is to incorporate variation in treatment timing into the analysis. The power formulas also account for other key design features that arise in practice: autocorrelated errors, unequal measurement intervals, and clustering due to the unit of treatment assignment. We consider power formulas for both cross-sectional and longitudinal models and allow for covariates. An illustrative power analysis provides guidance on appropriate sample sizes. The key finding is that accounting for treatment timing increases required sample sizes. Further, DID estimators have considerably more power than standard CITS and ITS estimators. An available Shiny R dashboard performs the sample size calculations for the considered estimators.
翻译:本条为常用差异(DID)和比较中断时间序列(CITS)小组数据估计器的功率分析开发了新的封闭式差异表达式。主要贡献是将治疗时间的变化纳入分析。功率公式还考虑到实践中出现的其他关键设计特征:与自动有关的错误、不平等的测量间隔和因治疗单位分配而产生的聚合。我们考虑跨部门和纵向模型的功率公式,并允许共变。一个示例性功率分析为适当的样本大小提供了指导。关键结论是治疗时间的核算需要增加样品大小。此外,DAD估计器的功率远远高于标准CITS和ITS估计器。一个可用的ShinR仪表板为考虑的估测器进行抽样大小计算。