Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Forecasting
- /
- MASE Formula used in SAS Forecast Studio?

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 09-24-2019 04:42 AM
(1681 views)

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

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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.

7 REPLIES 7

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Calling @Rick_SAS

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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 🙂 **

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

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:

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

**If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. **

Multiple Linear Regression in SAS

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.