Hi all,
I am having a question about how to run the regression if the dependent variable is a ranking number?
For example, I want to look at what kind of factors will determine a person's education level. So my dependent variable:
EDUCATION= 1: PhD
2: Master
3: Undergraduate
4: High School
5: less than high school.
My independent variables are some continuous variables or dummy variables let's say: the person's IQ, his parent's salary...
I know that if the dependent is a dummy variable which has only 1 or 0, I can use Logit/Probit model. And if the dependent variable is categorical and cannot be ordered in any meaningful way, then I could use multinomial logistic regression.
But here the dependent variable has more than 2 categories and it is a rank which mean less value is better (for example, 1 is better than 5).
So how could I run this regression? Thanks a lot for you help.
Hi Xishuai,
SAS regression procs support ordinal targets. If you are using SAS Enterprise Miner, all you need to do is set the role of your variable EDUCATION to target, and the level to ordinal. Then add a Regresion node to perform ordinal logistic regression.
If you are not using Enterprise Miner, here a good resource for "ordinal logistc regression".
link: SAS/STAT(R) 9.2 User's Guide, Example: Ordinal Logistic Regression
Good luck!
Miguel
Hi Xishuai,
SAS regression procs support ordinal targets. If you are using SAS Enterprise Miner, all you need to do is set the role of your variable EDUCATION to target, and the level to ordinal. Then add a Regresion node to perform ordinal logistic regression.
If you are not using Enterprise Miner, here a good resource for "ordinal logistc regression".
link: SAS/STAT(R) 9.2 User's Guide, Example: Ordinal Logistic Regression
Good luck!
Miguel
Hi Miguel,
Thanks a lot for your detailed answer and yes, the ordinal logistic regression is definitely what I want.
Cheers,
Xishuai
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.