statsmodels.stats.contingency_tables.StratifiedTable.test_equal_odds
-
StratifiedTable.test_equal_odds(adjust=
False)[source]
测试所有比值比是否相同。
这是‘Breslow-Day’检验程序。
- Parameters:
- adjustbool
使用‘Tarone’调整以实现卡方渐近分布。
- Returns:
A bunch containing the following attributes:
- statistic
float 卡方检验统计量。
- p-value
float 测试的p值。
Last update:
Oct 16, 2024