This might be a silly question, but if I have four groups for my categorical variable and I want to get the full logistic model with odds ratios and model estimates such that each of the three comparisons are made in this way:
A vs. B
A vs. C
A vs. D
How do I set up the SAS code in proc logistic to do this?
I only know of setting the reference group, but here the reference group changes (B, C, and D).
I know I can set the reference group up separately as B and run the code and get the estimates for A vs. B, and then set the reference group up as C and get estimates for A vs. C...etc. But then I cannot get the intercept estimates for the model in which it is A vs. everything else. So, how can I get the full model of A vs. B, A vs. C, and A vs. D in one single run?
Or will the intercept estimates of the model be the same as the intercept estimates of the model in which A is simply set up as the reference group (i.e., B vs. A, C vs. A, D vs. A)?
Please see attached PDF, as that picture is easier to understand.
Thanks.