$t$-检验试水:实证验证可靠A/B测试的假设条件
$t$-Testing the Waters: Empirically Validating Assumptions for Reliable A/B-Testing
AI总结:
针对A/B测试中t检验的正态性假设,提出通过重复A/A测试并检验p值均匀性来实证验证假设,以识别I型错误膨胀场景,提高测试可靠性。
摘要:
A/B测试是网络实验设计的基石,具有广泛的应用场景和用例。比较均值差异的统计$t$-检验是评估处理效应最常用的方法,通常通过中心极限定理(CLT)来证明其合理性。CLT确认,随着样本量的增大,平均处理效应的抽样分布趋于正态,使得$t$-检验在样本量足够大时有效。当结果度量偏斜或非正态时,量化“足够大”的含义并不直接明了。为确保置信区间保持适当的覆盖率,并确保$p$-值准确反映假阳性率,验证这一正态性假设至关重要。我们提出了一种实用方法,通过分析重复重采样的A/A测试来检验该假设。当正态性假设成立时,所得的$p$-值分布应为均匀分布,这一性质可通过Kolmogorov-Smirnov检验进行验证。这提供了一种高效且有效的方式,以实证评估$t$-检验的假设是否得到满足,以及A/B测试是否有效。我们展示了我们的方法,并强调其如何帮助识别容易导致I型错误膨胀的场景。我们的方法提供了一个实用框架,以确保并提高A/B测试实践的可靠性和稳健性。
英文摘要:
A/B-tests are a cornerstone of experimental design on the web, with wide-ranging applications and use-cases. The statistical $t$-test comparing differences in means is the most commonly used method for assessing treatment effects, often justified through the Central Limit Theorem (CLT). The CLT ascertains that, as the sample size grows, the sampling distribution of the Average Treatment Effect converges to normality, making the $t$-test valid for sufficiently large sample sizes. When outcome measures are skewed or non-normal, quantifying what "sufficiently large" entails is not straightforward. To ensure that confidence intervals maintain proper coverage and that $p$-values accurately reflect the false positive rate, it is critical to validate this normality assumption. We propose a practical method to test this, by analysing repeatedly resampled A/A-tests. When the normality assumption holds, the resulting $p$-value distribution should be uniform, and this property can be tested using the Kolmogorov-Smirnov test. This provides an efficient and effective way to empirically assess whether the $t$-test's assumptions are met, and the A/B-test is valid. We demonstrate our methodology and highlight how it helps to identify scenarios prone to inflated Type-I errors. Our approach provides a practical framework to ensure and improve the reliability and robustness of A/B-testing practices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。