BookmarkSubscribeRSS Feed
deleted_user
Not applicable
hi

my data have around 100 groups, I need to regress the data by each group.

Each group will have its own estimated coefficients. However, by using the enterprise guide, I only can save the predictions and residuals into the data.

Does anyone know how I can save the estimated coefficients as variables into the data, rather than as normal outputs?

Many thanks
2 REPLIES 2
deleted_user
Not applicable
It can be done by using OUTEST= dataset.
Doc_Duke
Rhodochrosite | Level 12
You will need to use the "insert code" tool to add the OUTEST= parameters and read the documentation to get the exact syntax.

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