BookmarkSubscribeRSS Feed
huatongfeng1
Calcite | Level 5

Hi, 

 

I have run a couple of different ARIMA model. i want to rank the models based on RMSE or MAE. 

 

However, i do not know how to get RMSE and MAE. the resluts show AIC and SBC.

 

regards

Thanks 

1 REPLY 1
Kartik97
Calcite | Level 5

You can easily calculate the RMSE errors and also some other errors like Mean Percentage error (MPE) by using the accuracy function.

ex:

  If the name of your model is name

 then RMSE is calculated as :    

           accuracy(name)

which will give:

                           ME           RMSE       MAE         MPE       MAPE      MASE       ACF1
Training set 0.05576569 8.313739 6.227064 395.7271 576.6584 0.5128541 -0.09583192

 

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 3611 views
  • 0 likes
  • 2 in conversation