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

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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