BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
nickgarza19
Calcite | Level 5

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, 

1 ACCEPTED SOLUTION

Accepted Solutions
Reeza
Super User

@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.

 

View solution in original post

3 REPLIES 3
StatDave
SAS Super FREQ

The outcome (response) variable in PROC LOGISTIC is always considered categorical, not continuous. It is never necessary to put it in the CLASS statement.

Reeza
Super User

@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.

 

nickgarza19
Calcite | Level 5

Thank you! Sorry its been ages since I've used this. 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

What is ANOVA?

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.

Discussion stats
  • 3 replies
  • 2009 views
  • 0 likes
  • 3 in conversation