Usage Note 22640: Saving R-square, adjusted R-square, or similar fit statistics from PROC REG in a SAS data set
Use an ODS OUTPUT statement to save the table named FitStatistics to a data set. See this note for more on saving tables from procedures. For example,
ods output FitStatistics = fitstats;
proc reg data=in;
model y = x;
run;
You can also specify the RSQUARE and EDF options in the PROC REG or MODEL statement to add R2 and the error degrees of freedom, respectively, to the OUTEST= data set.
Requesting any additional statistic results in R2 being added to the OUTEST= data set. For example, if you specify the ADJRSQ option, then adjusted R2 (_ADJRSQ_) and R2 (_RSQ_) are added to the OUTEST= data set.
Operating System and Release Information
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | low |
Topic: | Analytics ==> Regression Analytics ==> Multivariate Analysis SAS Reference ==> Procedures ==> REG
|
Date Modified: | 2016-06-01 16:59:54 |
Date Created: | 2002-12-16 10:56:40 |