New User Continuous Outcome and Categorical Predictor

Reply
Learner
Posts: 1

New User Continuous Outcome and Categorical Predictor

[ Edited ]

I have an outcome of sales in dollars, with a predictor of Income category.  Household income is an ordinal variable.  Should I use PROC  GLM with a class statement or can I just use a PROC reg?

 

Thanks, 
JD

Trusted Advisor
Posts: 1,789

Re: New User Continuous Outcome and Categorical Predictor

PROC GLM is the easiest way to go.

 

You will get the same answer from PROC REG, but you'd have to create the dummy variables properly before running PROC REG, so best to avoid this.

Ask a Question
Discussion stats
  • 1 reply
  • 95 views
  • 0 likes
  • 2 in conversation