statsmodels.stats.contingency_tables.Table2x2.oddsratio_confint

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

A confidence interval for the odds ratio.

Parameters:
  • alpha (float) – 1 - alpha is the nominal coverage probability of the confidence interval.
  • method (string) – The method for producing the confidence interval. Currently must be ‘normal’ which uses the normal approximation.