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-white.png

🚨 Early Bird Rate Extended!

Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.

 

Lock in the best rate now before the price increases on April 1.

Register now!

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