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
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.