This code:
proc plm restore=SomeLib.ModelParams; score data=SomeLib.TestData out=SomeLib.Predictions; run;
produces the dataset SomeLib.Predictions which contains the predictions of the model against the dataset SomeLib.TestData.
Just wondering, can I use proc plm to obtain performance metrics such as:
Root MSE
Dependent Mean
R-Square
Adj R-Sq
AIC
AICC
SBC
ASE
Not really. Those statistics have to do with evaluating the suitability of the model fit, so they come out of the regression procedures. They don't change after the model is fit. In contrast, PROC PLM is intended for for post-fitting analyses (after you have settled on a model) such as scoring new data or testing for treatment differences.
PROC PLM does provide some model statistics if you use the SHOW statement. For example, you can submit SHOW FITSTATS, which provides the MSE and ErrorDF statistics. So you can get figure out the RMSE. But I don't see an easy way to get AIC, BIC, etc
Not really. Those statistics have to do with evaluating the suitability of the model fit, so they come out of the regression procedures. They don't change after the model is fit. In contrast, PROC PLM is intended for for post-fitting analyses (after you have settled on a model) such as scoring new data or testing for treatment differences.
PROC PLM does provide some model statistics if you use the SHOW statement. For example, you can submit SHOW FITSTATS, which provides the MSE and ErrorDF statistics. So you can get figure out the RMSE. But I don't see an easy way to get AIC, BIC, etc
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.