Dear All,
I have a simple question that I do not know to define precisely. Suppose I run a logistic regression with a explanatory ordinal variable with for categories, with the first category as refference. Then I agregated the first category with the second (0) and the third with the fouth (1), so that I have now a dummy variable. I run another model. Why is that model a nested one?
If it is nested, how do I define what is being tested. I had B1, B2 and B3 as parameter. Now I have one B measures the effect of the third and fourth category compared to the agregation of the two first categories.
Thank you in advance.
Best regards,
Iuri
It is not nested. You've just created a new, dichotomized version of the original variable which I assume you are using in place of the original variable. The new variable tells you the combined effect of two levels compared to the combined effect effect of the other two levels.
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.