- Introduced by
- Rob J. Hyndman and Anne B. Koehler
- Year
- 2006
- Type
- Scale-independent baseline comparison metric
- Family
- Scaled error metric
What does it do?
Mean Absolute Scaled Error (MASE) is a scale-free accuracy measure.
It divides a model's mean absolute error by the mean absolute error of a naive one-step forecast, which predicts each value to equal the one before it. Introduced by Hyndman and Koehler (2006), it expresses accuracy as a ratio against a simple reference rather than in the data's own units or as a percentage.
The intuition behind the method
MASE asks how the model's average absolute error compares with the average absolute error of a naive forecast that carries the previous value forward. A value of 0.5 means the model's average absolute error is half that of the naive forecast; a value of 1 means the two are equal; values below 1 mean the model beats the naive baseline. The scaling term is built from differences between consecutive observations, not from dividing by individual actual values, so observations equal to zero do not by themselves make a term undefined.
History
Hyndman and Koehler (2006) proposed MASE as a scale-free alternative to percentage-based error measures such as MAPE, which are undefined when actual values are zero and unstable when they are close to zero. The 2006 paper is the primary source for the definition given here. Its later adoption in forecasting competitions and software is not verified by the sources consulted for this entry and is not claimed here.
When to use it
Choose MASE for ordered observations, such as time series, where a one-step naive forecast is a meaningful reference and the question is whether a model improves on carrying the last value forward. It suits comparing forecasts across series with different units or scales, and series that contain zeros, because the formula does not divide by actual values. Avoid it for cross-sectional or unordered data, and for nearly constant series, where the scaling term becomes unstable. If the main question is error in the original units, MAE or RMSE is more direct. When seasonality is strong, a one-step naive baseline that ignores the season may be a weak reference, so the baseline should be justified rather than assumed. Report the naive scale value alongside MASE, and treat MASE with caution when that scale is very small, since the ratio then becomes large and unstable.
Limitations and considerations
- Meaningful only for ordered series: the scale is built from differences between consecutive observations, which have no natural meaning for cross-sectional or unordered data.
- Unstable when the naive scale is near zero, for example in a nearly constant series; the denominator then shrinks and the ratio can become very large. If the naive error is exactly zero, MASE is undefined.
- Describes accuracy relative to a baseline, not in absolute terms, so it should be read alongside an absolute measure such as MAE to see errors in the original units.
- Requires an evaluation sample for the numerator, and the scaling sample must be stated, since different choices (test or training data) change the value.
- The formula given here uses the one-step naive scale only; any other baseline (for example a seasonal one) gives a different scale and a different measure, which must be defined and reported separately.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Unitless ratio: numerator and denominator are both absolute errors in the series' units, so the units cancel and results are comparable across series with different scales.
- No division by individual actual or predicted values, so zero-valued observations do not produce undefined terms as they would in percentage errors.
- Interpretable reference point: a value below 1 means the model has lower average absolute error than one-step naive forecasting, measured on the same scaling sample.
- Both terms are mean absolute errors, so the measure stays on the same linear footing as MAE rather than relying on squared errors.
Applications
- Illustrative example, demand forecasting: comparing prediction models against the naive forecast of no change from the last period
- Illustrative example, energy demand: assessing load forecasts against a naive model in which each value equals the previous one
- Illustrative example, financial series: comparing a model's errors with those of a carry-the-last-value-forward forecast
- Illustrative example, traffic or web-visit counts: checking whether a model improves on the previous observation, including series with zero counts
How it works
How it works
Compute the mean absolute error of the model on the evaluation (test) observations: the average of the absolute differences between actual and predicted values. Here n is the number of test observations.
Formula
MAE = \frac{1}{n} \sum_{i=1}^{n} |y_i - \hat{y}_i|Compute the mean absolute one-step naive error: the average of the absolute differences between consecutive observations, using its own sample size T (the number of observations in the scaling sample) and summing from t=2 to T, as in the formula. In the original definition by Hyndman and Koehler (2006) this scale is estimated on the in-sample training data rather than the test set. Choose the scaling sample explicitly and report it. It is also useful to report the value of the naive scale itself alongside MASE.
Formula
MAE_{\text{baseline}} = \frac{1}{T-1} \sum_{t=2}^{T} |y_t - y_{t-1}|Divide the model MAE by the naive baseline MAE. The ratio is unitless, so it can be compared across series measured in different units; values below 1 indicate lower average error than the naive forecast.
Formula
MASE = \frac{MAE}{MAE_{\text{baseline}}}Common pitfalls
- Applying MASE to non-temporal data, where the one-step naive difference has no meaning as a reference.
- Reading MASE below 1 as proof of good forecasting. It only shows the model beats one-step naive forecasting on that series; for strongly trending or seasonal series that can be a weak bar.
- Comparing MASE across series whose naive scales differ greatly. The ratio is scale-free, but the reference errors behind each ratio can differ in difficulty, so cross-series comparisons need context.
- Mixing scaling samples between studies: computing the denominator on test data in one study and on training data in another makes the reported values incomparable.
Frequently asked questions
What is the naive baseline in MASE?
In the definition used on this page, the naive forecast is the simplest possible prediction: the next value equals the previous value (one-step-ahead naive forecast). The scale is the mean absolute difference between consecutive observations.
Can I use MASE with non-time-series data?
It is not appropriate. The scale is built from differences between consecutive observations, so without a natural ordering the baseline is arbitrary. For cross-sectional data, consider metrics such as MAE or RMSE, or compare against a domain-relevant baseline.
What if the naive baseline has zero error?
Then MASE is undefined, because the denominator is zero. If the naive error is merely very small, MASE becomes unstable and very large. In either case, use an alternative metric such as MAE.
Is MASE the best metric for all forecasting problems?
Not universally. MASE is useful for comparing models across series and handles zeros, but it does not directly reflect accuracy in original units (like MAE or RMSE) or in percentage terms (like MAPE). Using several metrics gives a more complete picture.
How does MASE perform with trend or seasonality?
With strong trend or seasonality, a one-step naive baseline can be a weak or misleading reference, so a MASE below 1 may be easy to achieve. Justify the baseline and read MASE together with an absolute measure. If you use a different baseline, such as a seasonal one, define its scale explicitly and report it as a separate variant.
Related methods
Sources
Hyndman, R. J., & Koehler, A. B. (2006). Another look at measures of forecast accuracy. International Journal of Forecasting, 22(4), 679-688.
Open DOI referenceHyndman, R. J., & Athanasopoulos, G. (2021). Forecasting: Principles and Practice (3rd ed.). Melbourne, Australia: OTexts.
Open publication referenceWang, X., & Petropoulos, F. (2016). To select or to combine? Forecasting from a thousand models. International Journal of Forecasting, 32(3), 594-606.
Open publication reference