arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.08022stat.ME

基于贝叶斯因子的零假设检验的准确性如何?一项模拟研究

How accurate are Bayes factor-based null hypothesis tests? A simulation study

HMU Health and Medical University(HMU健康与医科大学);Charles University(查理大学)

Daniel J. Schad, Martin Modrák

AI总结:

本研究通过模拟分析,发现R的brms/bridgesampling包计算贝叶斯因子时,算法未发警告则结果准确,发警告则结果不可靠,证实可校验贝叶斯因子计算的正确性。

摘要:

贝叶斯因子零假设检验是频率主义证据量化方法的可行替代方案。心理学等领域的实际数据集对应的贝叶斯因子无法精确计算,需要对复杂积分进行数值近似。关键在于,这些近似的准确性——即近似贝叶斯因子是否对应精确贝叶斯因子——尚不明确,可能取决于数据、先验和似然。我们近期开发了一种新颖的统计方法,即针对贝叶斯因子的基于边际模拟的校准(SBC),用于检验给定分析中计算出的贝叶斯因子是否准确。本研究使用针对贝叶斯因子的边际SBC和校准图,检验常见认知设计下贝叶斯因子的计算是否准确,采用R中的bridgesampling/brms包,针对心理学和心理语言学中三种常用设计开展分析:(a)仅含被试随机效应的设计;(b)含被试与项目交叉随机效应、但仅含一个固定因子的拉丁方设计;(c)含被试与项目交叉随机效应的2×2拉丁方设计。研究发现,当bridgesampling算法未发出警告时,贝叶斯因子估计值准确;当发出警告时,贝叶斯因子可能存在偏差且变异较大。这些结果支持在常用析因设计的零假设贝叶斯因子检验中使用brms/bridgesampling,同时表明发出警告时不应信任贝叶斯因子结果,且检验贝叶斯因子计算是否正确是可行的。

英文摘要:

Bayes factor null hypothesis tests provide a viable alternative to frequentist measures of evidence quantification. Bayes factors for realistic data sets in areas like psychology cannot be calculated exactly and require numerical approximations to complex integrals. Crucially, the accuracy of these approximations, i.e., whether an approximate Bayes factor corresponds to the exact Bayes factor, is unknown, and may depend on data, prior, and likelihood. We have recently developed a novel statistical procedure, namely marginal simulation-based calibration (SBC) for Bayes factors, to test whether the computed Bayes factors for a given analysis are accurate. Here, we use marginal SBC for Bayes factors and calibration plots to test for some common cognitive designs, whether Bayes factors are calculated accurately. We use the bridgesampling/brms packages in R. We run analyses for three commonly used designs in psychology and psycholinguistics: (a) a design with random effects for subjects only, (b) a Latin square design with crossed random effects for subjects and items, but a single fixed-factor, and (c) a Latin square 2x2 design with crossed random effects for subjects and items. We find that Bayes factor estimates turn out accurate in cases when the bridgesampling algorithm does not issue a warning message, but can be biased and variable when a warning message is shown. These results support the use of brms/bridgesampling for null hypothesis Bayes factor tests in commonly used factorial designs. They also suggest that when a warning message is issued, Bayes factor results should not be trusted. The results show that it is practical to check whether Bayes factors are computed correctly.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑