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:
adjustbool, optional

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

Returns:
Bunch

A bunch with attributes

  • statisticfloat

    The chi^2 test statistic.

  • pvaluefloat

    The p-value for the test.