statsmodels.stats.contingency_tables.Table2x2.riskratio_confint

Table2x2.riskratio_confint(alpha=0.05, method='normal')[source]

A confidence interval for the risk ratio.

Parameters:
alphafloat

1 - alpha is the nominal coverage probability of the confidence interval.

methodstr

The method for producing the confidence interval. Currently must be ‘normal’ which uses the normal approximation.