Hey all,
I haven't worked with ordinal logistic regression before so I am trying to clear something up. I am looking at various demographic independent variables that may or may not predict a likert scale outcome. (disagree, neutral, agree). I have these coded as disagree=1, neutral=2, and agree=3. Should I model these in my class statement? I am inclined to - but I have seen examples where its treated as a continuous outcome. Any tips are appreciated.
Thanks,
@nickgarza19 wrote:
Hey all,
I haven't worked with ordinal logistic regression before so I am trying to clear something up. I am looking at various demographic independent variables that may or may not predict a likert scale outcome. (disagree, neutral, agree). I have these coded as disagree=1, neutral=2, and agree=3. Should I model these in my class statement? I am inclined to - but I have seen examples where its treated as a continuous outcome. Any tips are appreciated.
Thanks,
Independent variables ordinal/categorical data should go in your class statement.
Your outcome does not go in the class statement.
The outcome (response) variable in PROC LOGISTIC is always considered categorical, not continuous. It is never necessary to put it in the CLASS statement.
@nickgarza19 wrote:
Hey all,
I haven't worked with ordinal logistic regression before so I am trying to clear something up. I am looking at various demographic independent variables that may or may not predict a likert scale outcome. (disagree, neutral, agree). I have these coded as disagree=1, neutral=2, and agree=3. Should I model these in my class statement? I am inclined to - but I have seen examples where its treated as a continuous outcome. Any tips are appreciated.
Thanks,
Independent variables ordinal/categorical data should go in your class statement.
Your outcome does not go in the class statement.
Thank you! Sorry its been ages since I've used this.
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 16. 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.