statsmodels.genmod.cov_struct.GlobalOddsRatio.observed_crude_oddsratio

method

GlobalOddsRatio.observed_crude_oddsratio()[source]

To obtain the crude (global) odds ratio, first pool all binary indicators corresponding to a given pair of cut points (c,c’), then calculate the odds ratio for this 2x2 table. The crude odds ratio is the inverse variance weighted average of these odds ratios. Since the covariate effects are ignored, this OR will generally be greater than the stratified OR.