BookmarkSubscribeRSS Feed
cjohnson
Obsidian | Level 7
I am using proc reg to generate regression coeff's. Is there an easy way to programmatically get these coeffs, or do I just need to read them from the output and type into code each time I run?

Thanks,
Chris
Christopher Johnson
www.codeitmagazine.com
2 REPLIES 2
Paige
Quartz | Level 8
If you want to use these values in a regression equation, you would need the PROC REG option OUTEST= and then you could use PROC SCORE to make use of the regression equation.

OR did you have some other use in mind for the regression coefficients?
cjohnson
Obsidian | Level 7
Thanks very much! I had never come across Proc Score.
Christopher Johnson
www.codeitmagazine.com

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1257 views
  • 0 likes
  • 2 in conversation