statsmodels.stats.contingency_tables.Table2x2.oddsratio_pvalue¶ Table2x2.oddsratio_pvalue(null=1)[source]¶ P-value for a hypothesis test about the odds ratio. Parameters: nullfloatThe null value of the odds ratio.