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

Respected Advisor
Posts: 2,987

Re: New User Continuous Outcome and Categorical Predictor

Posted in reply to JimmyDanger

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.

--
Paige Miller
Ask a Question
Discussion stats
  • 1 reply
  • 116 views
  • 0 likes
  • 2 in conversation