I perform a GMM in proc model and I want to keep the R-square of the regression.
I keep the parameters estimated ods output ParameterEstimates
I try to keep the R-square using ods output FitStatistics= but it does not work
ods output ResidSummary
It looks to be in ResidSummary?
That's the only R-Square value I can see in the output. The general process to find the table you want is run the proc with
ODS TRACE ON;
*sas procedure;
ODS TRACE OFF;
Find the output in the display and note the tile. Then go to the log and find the relevant table name. If the output is not displayed that's a different story, as R-Square is only applicable to certain procs I'm sure.
ods output ResidSummary
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.