Hi Community,
I searching for MASE formula used in SAS Forecast Studio. I googled but could find formula specific to SAS.
I know how it is computed in Python or R and more interested to know whether SAS uses the same formula or different.
The MASE formula which i used in python is from the below link:
https://otexts.com/fpp2/accuracy.html
FYI, we are using %fscreate() to run the forecasting jobs in SAS with model selection criteria as MASE.
Thank you
Yes, that formula is included in the doc for Visual Forecasting.
Most of these formulas are standard and are the same across software products. What is the problem you are trying to solve? Are you getting different answers in SAS than you expected? If so, supply your data, the model you are using, and why you think the result is not correct.
Calling @Rick_SAS
Hi Rick,
i have gone through the link which you shared. I could not find formula for MASE, just description is given.
Mean Absolute Scaled Error (MASE) - The mean of the absolute scaled errors.
I am looking for the formula, something similar to this
MASE=MAE / MAE(in−sample,naive)
Thanks
Yes, that formula is included in the doc for Visual Forecasting.
Most of these formulas are standard and are the same across software products. What is the problem you are trying to solve? Are you getting different answers in SAS than you expected? If so, supply your data, the model you are using, and why you think the result is not correct.
Hi Rick,
Thanks alot for the link.
I was looking for the below description:
For a non-seasonal series, the naïve forecast is generated by using the actual value from previous record. For a seasonal series, the naïve forecast is generated by using the actual value from previous season
Thanks again 🙂
I don't think I have anything more to add. I merely Googled your keywords restricted to
site:documentation.sas.com
Perhaps someone else can provide whatever further information you are looking for.
Like Rick said, the formula used by SAS is the same you linked to in Hyndman's book. They are standard definitions. Note that the link to the Visual Forecasting documentation he provided is for the weighted statistics across a group of series. This is the link to the documentation for a single series. It doesn't change much though, as they are obviously related.
My recollection is that FS only shows the weighted statistics over all series in the forecast summary, and maybe only WMAPE. I don't remember if it shows any other weighted statistics.
If you are looking for the out-of-sample value of the statistics, you need to look at the FORECAST region. See also this:
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.
Find more tutorials on the SAS Users YouTube channel.