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

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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