Programming the statistical procedures from SAS

Regression Coeff's

Reply
Frequent Contributor
Posts: 97

Regression Coeff's

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
Super Contributor
Posts: 281

Re: Regression Coeff's

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?
Frequent Contributor
Posts: 97

Re: Regression Coeff's

Thanks very much! I had never come across Proc Score.
Christopher Johnson
www.codeitmagazine.com
Ask a Question
Discussion stats
  • 2 replies
  • 58 views
  • 0 likes
  • 2 in conversation