statsmodels.stats.contingency_tables.Table2x2.riskratio¶ Table2x2.riskratio¶ Returns the risk ratio for a 2x2 table. The risk ratio is calculated with respect to the rows.