BookmarkSubscribeRSS Feed
haf27
Calcite | Level 5

Hi Experts,

I am fairly new to SAS EG and analytics, so would appreciate any support.

I have a dataset with 8 variables, 6 of which are categorical with two and more values (i.e. Gender would have two variables but Geography IDs would have up to 10 values/indices)

One of the categorical variables (Product Name) would be my dependent variable, the one I am trying to build a predictive model for.

My question, perhaps trivial, is would I be able to use the Linear Regression under the Analyze function or considering the categorical nature of my data would I be better off using another function?

Many thanks,

1 REPLY 1
Ayush_sas
Fluorite | Level 6
Hi Haf,
Since you might have got the solution of the issue raised by you, it shall be a good practice to update that here as well!
Have a nice time!!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1353 views
  • 0 likes
  • 2 in conversation