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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1366 views
  • 0 likes
  • 2 in conversation