更新时间:2021-10-11 01:20:59
从您的邮件列表链接:
因为单侧测试可以从双侧退出 测试. (对于对称分布,单侧p值仅为一半 两侧pvalue的值)
because the one-sided tests can be backed out from the two-sided tests. (With symmetric distributions one-sided p-value is just half of the two-sided pvalue)
接着说,scipy总是将测试统计信息视为已签名.这意味着给定两尾检验的p和t值,您将拒绝p/2 < alpha and t > 0
时大于检验和p/2 < alpha and t < 0
时小于检验的零假设.
It goes on to say that scipy always gives the test statistic as signed. This means that given p and t values from a two-tailed test, you would reject the null hypothesis of a greater-than test when p/2 < alpha and t > 0
, and of a less-than test when p/2 < alpha and t < 0
.