statsmodels.stats.contingency_tables.Table2x2.riskratio_pvalue¶ Table2x2.riskratio_pvalue(null=1)[source]¶ p-value for a hypothesis test about the risk ratio. Parameters nullfloatThe null value of the risk ratio.