statsmodels.stats.contingency_tables.StratifiedTable.test_null_odds

StratifiedTable.test_null_odds(correction=False) [source]

Test that all tables have odds ratio equal to 1.

This is the ‘Mantel-Haenszel’ test.

Parameters: correction (boolean) – If True, use the continuity correction when calculating the test statistic.
Returns:
Return type: A bunch containing the chi^2 test statistic and p-value.

© 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_null_odds.html