Hi, I have a predictor variable Color with 3 categories (0, 1, 2) and an outcome variable Sound_Level with 3 levels (low, medium, and high). I am trying to build a model that also accounts for a 3rd binary variable Size - (0, 1). Before adding that variable, I had been running an ordinal logistic regression with a proportional odds assumption, however, when I add the binary variable to the model the proportional odds assumption doesn't hold. I want to now run a generalized logit model, but I cannot figure out how. Here is the code I have tried, but it isn't working. How can I fix this?
proc logistic data=my_data descending;
class Color(ref = '0');
model Sound_level=Color Size link=GLOGIT;
run;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.