statsmodels.stats.contingency_tables.Table2x2.oddsratio_confint

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

A confidence interval for the odds 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.