The formula can be given as:

In the formula above, X_{1} and X_{0} stand for two different groups for which the odds ratio needs to be calculated. X_{1i} stands for the instance ‘*i*’ in group X1. X_{oi} stands for the instance ‘*i*’ in group X0.β0 stands for the coefficient of the logistic regression model. Note that the baseline is not included in this formula.

## Comments