Hi Mark, I am running a multivariable logistic regression, the linear predictor consists of the overall mean (intercept), an independent variable with 5 levels, and another independent variable with 2 levels.
My main question is why the odds ratio for two non-reference categories (i.e. category 1 and 4) equals e^(parameter estimate for category 1)/e^(parameter estimate for category 4), but this equation does not work when one of the categories is the reference category (category 5).
Screen Shot 2022-07-06 at 8.56.02 PM.png
Screen Shot 2022-07-06 at 8.58.33 PM.png
Screen Shot 2022-07-06 at 9.16.17 PM.png