StratifiedTable.test_equal_odds()

statsmodels.stats.contingency_tables.StratifiedTable.test_equal_odds

StratifiedTable.test_equal_odds(adjust=False) [source]

Test that all odds ratios are identical.

This is the ‘Breslow-Day’ testing procedure.

Parameters:

adjust : boolean

Use the ‘Tarone’ adjustment to achieve the chi^2 asymptotic distribution.

Returns:

A bunch containing the following attributes:

statistic : float

The chi^2 test statistic.

p-value : float

The p-value for the test.

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.stats.contingency_tables.StratifiedTable.test_equal_odds.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部