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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 757 views
  • 0 likes
  • 3 in conversation