Next Article in Journal / Special Issue
Dynamic Pricing Recognition on E-Commerce Platforms with VAR Processes
Previous Article in Journal
Editorial for Special Issue: “Feature Papers of Forecasting”
Previous Article in Special Issue
Quantifying Drivers of Forecasted Returns Using Approximate Dynamic Factor Models for Mixed-Frequency Panel Data
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Forecasting Principles from Experience with Forecasting Competitions

1
Magdalen College and Institute for New Economic Thinking at the Oxford Martin School, University of Oxford, High Street, Oxford OX1 4AU, UK
2
Institute for New Economic Thinking at the Oxford Martin School, and Climate Econometrics, Nuffield College, University of Oxford, New Road, Oxford OX1 1NF, UK
*
Author to whom correspondence should be addressed.
Submission received: 25 January 2021 / Revised: 11 February 2021 / Accepted: 12 February 2021 / Published: 23 February 2021
(This article belongs to the Special Issue New Frontiers in Forecasting the Business Cycle and Financial Markets)

Abstract

:
Economic forecasting is difficult, largely because of the many sources of nonstationarity influencing observational time series. Forecasting competitions aim to improve the practice of economic forecasting by providing very large data sets on which the efficacy of forecasting methods can be evaluated. We consider the general principles that seem to be the foundation for successful forecasting, and show how these are relevant for methods that did well in the M4 competition. We establish some general properties of the M4 data set, which we use to improve the basic benchmark methods, as well as the Card method that we created for our submission to that competition. A data generation process is proposed that captures the salient features of the annual data in M4.

1. Introduction

Economic forecasting is challenging—and always has been. No clear consensus as to the ‘best’ or even ‘good’ approaches has arisen in the literature. Sophisticated methods often fail to beat a simple autoregressive model. Even when a small advantage is shown, this may fail to survive in slightly different settings or time periods. What does hold is that all theoretical results that assume stationarity are irrelevant. Instead, small shocks occur regularly and their effects can cumulate, and large shocks and structural breaks happen intermittently. Causes of such breaks can be financial crises, trade wars, conflicts, policy changes, and pandemics etc. Consequently, nonstationarities can arise from both unit roots and structural breaks in mean or variance.
The sequence of forecasting ‘competitions’ commencing with [1] analysing 111 time series, through [2,3,4] with M3, then M4 (see [5], held by the M Open Forecasting Center at the University of Nicosia in Cyprus) created realistic, immutable, and shared data sets that could be used as testbeds for forecasting methods. Ref. [6] provides a more general history and [7] consider their role in improving forecasting practice and research. However, interpretations of the findings from the competitions have been ambiguous as exemplified by the different conclusions drawn by [4,8,9]. There are also limitations to the data: variables are anonymized, and have unknown and differing sample periods. This prevents the use of subject matter expertise or any judgemental adjustment irrespective of skill or knowledge (as analyzed by e.g., [10]). It also creates problems for methods that try to link variables for forecasting: the misaligned sample periods may cause some variables to be ahead in time of others. Unfortunately, this also rules out any multiple variable or factor approaches. Nevertheless, such forecasting competitions have made valuable contributions to improving the quality of economic forecasting methods, as well as increasing our understanding of methods and techniques. A useful addition to M4 was the request for interval forecasts: good expressions of the uncertainty of a forecast are just as important as the forecasts themselves, a feature emphasized by the ‘fan charts’ used by the Bank of England in their Inflation Reports: see [11]. Probabilities of rain are now a routine aspect of weather forecasts, and forecast uncertainty should be quantified in other settings as well.
By combining the insights from our research, the literature, M4 results, and forecasting the COVID-19 pandemic, there seem to emerge a few relatively general ’principles’ for economic forecasting:
(I)
dampen trends/growth rates;
(II)
average across forecasts from ‘non-poisonous’ methods;
(III)
include forecasts from robust devices in that average;
(IV)
select variables in forecasting models at a loose significance;
(V)
update estimates as data arrive, especially after forecast failure;
(VI)
‘shrink’ estimates of autoregressive parameters in small samples;
(VII)
adapt choice of predictors to data frequency;
(VIII)
address ‘special features’ like seasonality.
The authors made a submission to the M4 competition that did well in many aspects. Here we aim to interpret such results, and those of some methods that did well in M3 and M4, in light of these principles. As part of this, we first summarize the properties of the M4 data set, which leads to improved benchmark forecast methods.
Our forecast method, Card, is formally described in [12]. The procedure is based on simple autoregressive models, augmented with a damped trend (I) (see e.g., [13], followed by many applications) and some robustification through differencing (III), as our earlier research has emphasised the key role of location shifts in forecast failure (see [14,15]). Forecast combination (II) is also used as it is found to be risk reducing and can even outperform the best of the methods averaged over (dating from [16], and widely used). ‘Wild’ forecasts from small data samples are monitored (VI), and seasonality is handled (VIII). As only univariate methods seemed feasible, (IV) was not relevant (see [17], for an analysis), although some entrants used the data in other series which may lead to infeasible methods. Also note that [18] show that additional explanatory variables in models need not improve forecasts even when their future values are known. (V) could not be implemented given the structure of the competitions (see e.g., [19], for its advantages following a break in the included variables), although we did graph recursive forecasts. Finally, we know (VII) matters, as different entries performed best at different data frequencies. Below we show that some further improvement can be made by paying more attention to our principles. Furthermore, an improved formulation of the forecast standard errors is provided for our method.
M4 is the fourth generation of M forecast competitions, created by Spyros Makridakis and the M4 team. M4 provides a database of 100,000 series requiring out-of-sample forecasts. This large size makes it a computational challenge too. Efficient production of forecasts is useful, even more so when studying subsample properties. The previous competition, M3, consisted of “only” 3003 variables. The best performing method in the M3 competition is the so-called Theta method, see [4] and Section 2.2 below, so many papers take that as the benchmark to beat. Ref. [20] demonstrated the non-invariance of evaluation metrics to linear transformations that leave forecasting models invariant, but the choice was set by the organisers and is discussed in Section 2.4.
Proper handling of seasonality is expected to be an important aspect of forecasting. This implies that the exercise has some similarities to the X12-ARIMA (autoregressive-integrated moving average) programme of the US Census Bureau, see [21]. The X12 approach involves estimating a seasonal ARIMA model to extend the series with forecasts, followed by smoothing using a sequence of moving averages in the seasonal and deseasonalized directions. Estimated moving averages are sensitive to outliers and structural breaks, and procedures need to make allowance for this.
The remainder of this paper is as follows. We discuss the structure of M4 and its benchmark methods in Section 2, and we describe M4 data properties in Section 3. Next, we adapt the Theta method, and introduce a simple but effective variant in Section 4. We also consider the expected outcomes of the accuracy measures and study the performance of the new benchmark methods. In Section 5 we discuss how the heterogeneity and independence of time-series samples affects outcomes and propose a simulation experiment that captures the salient features of yearly M4. In Section 6 we consider improvements to the Card method, leading to Cardt. This plays a prominent role in our COVID-19 forecasts, see Section 8. Section 7 evaluates Cardt with the M3 and M4 data. Finally, Section 9 concludes. Derivations and supplementary results are presented in appendices.

2. M4 Competition

We compare the design of the M4 competition to that of M3 in Section 2.1. The objective of M4 is to mimimize two error measures, one for the point forecasts, and another for the interval forecasts, Section 2.4. The former, denoted overall weighted average (OWA), standardizes using one of the benchmark methods. Hence, these are described in Section 2.2 for annual data, with adjustments for seasonality in Section 2.3.

2.1. Overview

In many respects, M4 is a direct successor to the M3 competition. A range of annual, quarterly, and monthly time series is provided with the aim to make out-of-sample forecasts for each of these series up to a specified horizon. These forecasts are evaluated against a sample that has been held back by the organizers. The time series are anonymized: name and sample dates are unknown, and the series are rescaled. The variables are categorized as demographic, finance, industry, macro, micro, and other. Most forecast applications ignore these categories. Evaluation is on a selection of performance metrics, such as variants of the mean absolute percentage error (MAPE). The M3 data set has become widely used as a benchmark for new forecast methods.
There are some differences between M3 and M4 as well. M4 is much larger at 100,000 time series, whereas M3 has 3003. M4 introduces weekly, daily, and hourly data; M3 has a small set with "other" frequency. M4 includes a possibility to report interval forecasts. By encouraging participants to publish their methods on Github, M4 achieves a greater level of replicability.
M4 was run as a proper competition, with monetary prizes for those methods scoring best on a single criterion, separately for the point forecasts and intervals. M3, on the other hand, evaluated the forecasts on five criteria, but did not produce an overall ranking. M3 also included an opportunity to receive interim feedback on the forecast performance, as reported by [22].
M4 addresses several of the shortcomings that were raised in the special issue on M3 of the International Journal of Forecasting (2001, 17): addition of weekly data and interval forecasts, more seasonal data, and potentially a more representative data set through the vast number of series. The M3 report did not include a statistical test to see whether forecasts are significantly different. This was added later by [23], and included in the M4 report, although not split by frequency.
Other shortcomings remain. Different performance metrics will result in different rankings. The series are all positive, and forecasting growth rates may also completely change the ranking of forecasting procedures. Finally, the design is inherently univariate. No sample information is available, so some series may contain future information on other series. As a consequence, methods that use other series may inadvertently be infeasible: in practice we never know future outcomes, except for deterministic or predetermined variables.
Some basic aspects of the M4 data are given in Table 1, including values of the forecast horizon H that are specific to each frequency. The yearly, monthly, and quarterly series together constitute 95 % of the sample, so will dominate the overall results. The frequency is given through the labels “hourly”, “weekly” etc. but not otherwise provided. Hence, daily data could be for five weekdays or a full seven day week. The evaluation frequency m is used in the performance measures (Section 2.4). It is left to the participants to choose the frequency S (or dual frequencies S and S 2 ) for their methods.
Table 1 records the lengths of shortest and longest series under T min and T max . This is for the competition (or training) version of the data, so excluding the H observations that were held back until after the competition. The sample sizes of annual data range from 13 to 835, but it is unlikely that there is a benefit from using information of more than 800 ‘years’ ago.

2.2. M4 Benchmark Forecasting Methods

The organizers of M4 used ten forecast methods as benchmark methods: these would be evaluated and included in the final results by the organizers. These benchmark methods comprised three random-walk type extrapolation methods, five based on exponential smoothing, and two machine learning methods. We review random walk, exponential smoothing, and Theta forecasts, but ignore the basic machine learning and neural network approaches. Ref. [24] show the inferior forecasting performance of some machine learning and artificial intelligence methods on monthly M3 data.
The random walk forecasts of annual and nonseasonal data are a simple extrapolation of the last observation. This is called Naive2 forecasts in M4 (and the same as Naive1 in the absence of seasonality). Denoting the target series as y 1 , , y T , the objective is to forecast y T + 1 , , y T + H , in this case:
y ^ T + h = y T , h = 1 , , H .
Exponential smoothing (ES) methods are implemented as single source of innovation models, see [25,26]. They can be formulated using an additive or multiplicative (or mixed) representation. The additive exponential smoothing (AES) model has the following recursive structure:
μ t = l t 1 + b t 1 , ϵ t = y t μ t , l t = l t 1 + α ϵ t , b t = b t 1 + δ ϵ t ,
where y t is the observed time series, ϵ t the one-step prediction error, l t the level, and b t the slope. Given initial conditions l 0 and b 0 , the coefficients α and δ can be estimated by maximum likelihood. An alternative approach is to add the initial conditions as additional parameters for estimation. Forecasting simply continues the recursion with ϵ t = 0 , keeping the parameters fixed.
AES includes the following forecasting methods, among others:
SESSimple exponential smoothing δ = b 0 = 0 ,
HESHolt’s exponential smoothing,
Theta2Theta(2) method δ = 0 , b 0 = τ ^ / 2 defined in (1).
The SES and HES models with infinite startup are ARIMA ( 0 , 1 , 1 ) and ARIMA ( 0 , 2 , 2 ) models respectively, see [25] (Ch.11). A dampened trend model adjusts the slope equation to b t = ψ b t 1 + δ ϵ t where ψ < 1 . Holt–Winters exponential smoothing adds a seasonal equation to the system (see [27,28]).
The Theta method of [29] first estimates a linear trend model
y t = μ + τ ( t 1 ) + u t , t = 1 , , T ,
by OLS. The Theta forecasts are then the sum of the extrapolated trend and forecasts from the model for y t ( θ ) = y t τ ^ ( t 1 ) / θ , with weights 1 / θ and one respectively. The suggested model for y t ( θ ) is SES, in which case this method can be implemented within the AES framework, as shown by [30]. Theta2, i.e., using θ = 2 , had the best sMAPE (see Section 2.4 below) in the M3 competition, see [4]. It is also the best benchmark method by the overall criterion (5), so we ignore the others.
The AES estimates depend on several factors: initial conditions of the recursion, imposition of parameter constraints, and objective function. We have adopted different conventions for the initial conditions, so, in general, will get different results from the R forecast package ([31]). The exception to this is SES with 0.001 α 0.9999 and l 0 as an estimated parameter. We also get almost identical results for Theta2. We impose 0.001 α 0.9999 , and set l 0 = y 1 b 0 , which conditions on the first observation to force ϵ 1 = 0 . For the yearly M3 data with H = 6 we obtain an sMAPE of 16.72, where [30] (Table 1) report 16.62 (the submission to M3 has sMAPE of 16.97).

2.3. Seasonality in the M4 Benchmark Methods

Let r i denote the terms of the autocorrelation function (ACF) of a time series with T observations. The seasonality decision in the M4 benchmarks for frequency S > 1 is based on the squared Sth autocorrelation of the series y t , t = 1 , , T :
R ( S ) = T r S 2 1 + 2 j = 1 S 1 r i 2 χ 2 ( 1 ) .
If this test of nonseasonality rejects with a p-value of 10 % or less, the series is seasonally adjusted with an MA 2 × S filter (or just MA S if S is odd). The benchmark is applied to the seasonally adjusted series, and the forecasts are then recolored with the seasonality. The seasonal adjustments use multiplicative adjustment throughout.
Assuming the frequency S is even, the seasonal component is the deviation from a smooth ‘trend’:
s t = y t / MA 2 × S ( y t ) , t = 1 + S / 2 , , T S / 2 .
Now let s ¯ . j denote the average for each season j = 1 , , S from the T S observations s t (so not all seasons need to have the same number of observations). These seasonal estimates are normalized to the frequency:
s ^ j = s ¯ . j S k = 1 S s ¯ . k .
The seasonally adjusted series is
y t sa = y i , j / s ^ j .
Finally, the forecasts from the seasonally adjusted series are multiplied by the appropriate seasonal factors. For the Naive2 method, assuming observation y T is for period S, the forecasts are:
y T sa s ^ 1 , y T sa s ^ 2 , , y T sa s ^ S , y T sa s ^ 1 , .

2.4. M4 Forecast Evaluation

M4 uses two scoring measures, called MASE ([32]) and sMAPE ([33]). For time-series y t , t = 1 , , T + H with forecasts y ^ t produced over T + 1 , , T + H and seasonal frequency m (which is allowed to differ from the frequency S for seasonal adjustment):
sMAPE = 100 H t = T + 1 T + H y t y ^ t y t + y ^ t / 2 ,
MASE = 1 H t = T + 1 T + H y t y ^ t | Δ m y | ¯ .
The denominator of MASE is the average of the seasonal difference over the ‘estimation period’:
| Δ m y | ¯ = 1 T m t = m + 1 T y t y t m .
MASE is infinite if the series is constant within each season: in that case we set it to zero.
Next, the sMAPE and MASE are each averaged over all forecasts in the evaluation set. To facilitate comparison, these averages can be scaled by the average accuracy of the benchmark Naive2 forecasts. This leads to the final objective criterion of M4 for method X:
OWA = 1 2 sMAPE ( X ) ¯ sMAPE ( Naive 2 ) ¯ + 1 2 MASE ( X ) ¯ MASE ( Naive 2 ) ¯
A 100 ( 1 α ) % forecast interval is expressed as [ L ^ t , U ^ t ] . Accuracy of each forecast interval for all series and horizons h is assessed on the basis of mean scaled interval score (MSIS):
MSIS = 1 Δ m y ¯ 1 H t = T + 1 T + H U ^ t L ^ t + 2 α ( L ^ t y t ) I ( y t < L ^ t ) + 2 α ( y t U ^ t ) I ( y t > U ^ t ) .
M4 uses α = 0.05 , so that any amount outside the bands is penalized by forty times that amount. Ref. [34] (p. 370) show that the interval score is ‘proper,’ meaning that it is optimized at the true quantiles.
We can also count the number of outcomes that are outside the given forecast interval. For a 95 % pointwise interval, we aim to be outside in about 5 % of cases, corresponding to a coverage difference of close to zero.

3. M4 Data

The large dimension of the M4 data set makes it impossible to look at all series in detail. But a limited exploration makes it clear that most variables appear to be in levels, and many have strong signs of seasonality. This section focuses on time-series properties that may affect the implementation of forecast procedures: sample size (Section 3.2), using logarithms (Section 3.3), persistence (Section 3.4), and testing seasonality (Section 3.5).
All results in this section are based on the training data, so exclude the sample that was held back to evaluate the submitted forecasts.

3.1. Properties of Interest

Understanding the properties of large datasets is a challenge. Ref. [35] propose a solution for M3, which is applied to M4 in [36]. They characterize each series on six aspects, each on a scale of zero to one. This is then summarized by the first two principal components. If we ignore the estimate of the seasonal periodicity, then three aspects are based on an additive decomposition in trend, seasonal, and residual: relative variance of the trend, relative variance of the seasonal, and first order autocorrelation coefficient of the residual. The remaining two aspects are an estimate of the spectral entropy, and the estimated Box-Cox parameter. Ref. [36] refer to the entropy measure as “forecastability”, and, rather unusually, autocorrelation in the residuals as “linearity” and Box-Cox as “stability”.
These aspects are not so helpful to us as a forecaster: we wish to decide whether to use logarithms or not (i.e. an additive versus multiplicative model), whether there is seasonality or not, and if first differences are a transformation that helps with forecasting. Ideally we would also like to know if the series has been subject to large breaks, and perhaps the presence of nonlinearity.

3.2. Sample Size

Yearly, quarterly, and monthly data have a small number of series with a very large sample size, which is unlikely to benefit forecasting. Figure 1 shows the distribution of sample size at each frequency. Yearly, quarterly, monthly, and weekly data have been truncated to 40 years of data, and daily data to 1500 observations.
Along the vertical axis is the bar chart of the frequencies of the different sample sizes. So for annual data about a third has sample size 40 after truncation, and the next biggest group has 29 observations. The same information is shown cumulatively as well in the line that runs from zero at the bottom left, to unity in the top right. This dual perspective reveals the central tendency without hiding the tails.
The truncation has a relatively large impact on daily data. Hourly data only comes in two sample sizes.

3.3. Logarithms

The benchmark methods do not take any transformations of the variables. In contrast, ref. [37] use a Box–Cox transformation (see [38]) in their bagging method. Ref. [39] improve on the Theta method in the M4 competition by using a Box–Cox transformation. In both cases the transformation is restricted to λ [ 0 , 1 ] , where λ = 0 corresponds to the logarithmic transformation and otherwise:
y t ( λ ) = λ 1 y t λ 1 .
So λ = 1 indicates the absence of any transformation. The difference between their two approaches is that the former does the Box–Cox transformation before deseasonalization, and the latter afterwards. We found that this distinction matters little: the values of λ estimated before or after multiplicative seasonal adjustments are similar: in quarterly M4 and monthly M3 the correlation between the estimates exceeds 0.9 .
Figure 2 shows the histogram of λ estimated by maximum likelihood in a model on a constant and trend (and restricted to be between zero and one), using samples truncated as described in the previous section. This amounts to minimizing the adjusted variance as a function of λ . The U shapes in Figure 2 indicate that the choice is mainly between logarithms and levels (Ref. [35] find a similar U shape for M3). This suggests a simpler approach, such as comparing the variance when using levels to that using logs. Removing the trend by differencing leads to an approach as in [40], i.e., using logs when min y t > 1 in combination with:
exp ( 2 log y ¯ ) var [ Δ log y t ] < c l 2 var [ Δ y t ] ,
where var [ x t ] is the sample variance of x t , t = 1 , , T and log y ¯ is the sample mean of log y t . Using (7) means that the iterative estimation of λ can be avoided.
All observations in M3 and M4 are positive, and experimentation suggests a benefit from preferring logs when λ ^ < 1 . The c l 2 > 1 term in (7) is introduced to allow a bias towards using logarithms.

3.4. Persistence

To assess persistence, we estimate ρ ^ by OLS from
log y t = μ + ρ log y t 1 + seasonal dummies + ϵ t .
The seasonal dummies are excluded if the sample size is small ( T < 3 S ) and for daily data.
The distribution of the autoregressive coefficient is plotted in Figure 3 for each frequency. The labels along each vertical axis correspond to the value of ρ ^ , while the frequencies and proportions are on the horizontal axes.
The estimates of ρ cluster near unity at all frequencies, corresponding to very high persistence in the data. However, more than 10 % is above unity for annual data, which is likely caused by small samples. To a lesser extent this is found at the higher frequencies as well. Almost all daily series have a unit root.
Except for hourly data, the seasonal adjustment does not have much visual impact on the graphs.

3.5. Seasonality

The top row of Figure 4 shows the distribution of the p-values of the test for a seasonal root (2), applied to the original y t (without sample truncation). This is the method used in the benchmarks, with the exception of daily data that we gave S = 5 to highlight the impact on inference. The vertical axis has the p-values, and testing quarterly data at 10 % would say that almost 90 % is seasonal. For monthly data it is close to 70 % and for daily data almost all is classified as seasonal at a frequency of five.
The null hypothesis for test (2) assumes that there is no significant lower order serial correlation, which is mostly proven wrong by Figure 3. As a consequence, the incidence of seasonality is over-estimated, most strongly for daily data. A more accurate representation is to apply the test to Δ log y t . This is shown in the middle row of graphs, now with a lower incidence of seasonality where almost none of the daily data, again tested with S = 5 , appear to have seasonality.
X-11, see [41], incorporates an analysis of variance-based (ANOVA) test for stable seasonality, which has as the null hypothesis that the S seasonal means are equal:
A { y t , S } = S 1 S ( Y 1 ) var [ y ¯ . , j ] var [ y i , j ] var [ y ¯ . , j ] F [ S 1 , S ( Y 1 ) ] .
The sample size is adjusted to have Y years with S periods, and y ¯ . , j denotes the mean of the observations pertaining to season j. The bottom row of graphs shows the p-values of the ANOVA test for stable seasonality, applied to Δ log y t and as used in [12].

4. Revisiting the M4 Benchmark Methods

Section 4.1 approximates the expected values of the accuracy measures for three simple data generation processes (DGP) using random walk forecasts. Further details are in Appendix A. Section 4.2 proposes a simplified version of Theta(2), further improved in M3 forecasting by using logarithms.

4.1. Expected Performance of Naive Forecasts

Disregarding seasonality, the naive, or random walk, forecasts extrapolate the last-observed value into the future. For this device we can study the expected values of the two performance measures sMAPE (3) and MASE (4).
The MASE is invariant to a change in location and scale of the target variable, while the sMAPE is invariant to rescaling y t but not to a change in mean. They are sensitive to other transformations, say differences versus levels ([20]), and need not give the same ranking of forecast performance.
The sMAPE was introduced to address two issues with the MAPE (the MAPE is (3) but with just | y t | in the denominator): instability when outcomes close to zero are possible, as well as asymmetric response when exchanging outcomes and forecasts. However, sMAPE introduces a new problem, favoring overforecasting. As an illustration, take y t = μ , μ > δ > 0 with forecast μ + δ or μ δ :
sMAPE ( μ + δ ) = 2 δ 2 μ + δ < sMAPE ( μ δ ) = 2 δ 2 μ δ .
This was already noted by [42,43]. A second problem, in common with the MAPE, is that it has a bias that can be very large in some settings, illustrated in Appendix A.
For a better understanding, we derive approximate expectations of MASE and sMAPE when using random walk (naive) one-step forecasts. Three data generation processes (DGP) are considered: normally distributed in levels, stationary in differences and stationary growth rates. The results are derived in the Appendix A, and summarized in Table 2. In the third case, the MASE is very roughly proportional to the sample size.
The sMAPE behaves very differently. In the white noise case it is a fixed multiple of the coefficient of variation (inverse signal-to-noise ratio). In the second case, difference stationary, the sMAPE is inversely proportional to the sample size. Finally, in the third case, it is largely independent of sample size again. Table 3 gives the average MASE and sMAPE of the random walk forecasts of the last observation of the training sample for annual M3 and M4.

4.2. A Simplified Theta Method: THIMA and THIMA.log

It could be convenient to have a simplified version of Theta(2) in our forecasting toolbox. Remember that SES is an ARIMA(0,1,1) model, and that the slope of the trend can also be estimated through the mean of the first differences. This leads us to suggest a trend-halved integrated moving average model (THIMA):
(1)
Starting from y t , t = 1 , , T , the first differences Δ y t , t = 2 , , T have mean τ ˜ . Construct x t = Δ y t 1 2 τ ˜ .
(2)
Estimate the following MA(1) model by nonlinear least squares (NLS) with θ ^ [ 0.95 , 0.95 ] :
x t = ϵ t + θ ϵ t 1 .
(3)
The forecasts are:
y ^ T + H = y T + 1 2 τ ˜ H + θ ^ ϵ ^ T .
The forecasts from the MA(1) component are θ ^ ϵ ^ T for H = 1 and zero thereafter: their cumulation is constant (this is also the case for the SES forecasts in Theta(2)). So THIMA forecasts consist of a dampened trend (arbitrarily halved), together with an intercept correction estimated by the moving average model (see e.g., [44]). That estimation of one parameter does not have to be very precise, and the overall procedure is very fast.
Keeping seasonality the same as in the other benchmarks, but adding a decision on logarithms, the full THIMA.log method is:
  • if (2) signals seasonality at 10 % continue with the deseasonalized series as in Section 2.3;
  • if (7) using c l = 1.3 suggests logarithms, take logs;
  • forecast using THIMA;
  • exponentiate the forecasts if logs were used, then add seasonality if the variable was deseasonalized.
A preference towards logarithms is introduced by setting c l = 1.3 . As a consequence, the proportion that is not logs in M4 is about 3 % for annual data, 2 % for quarterly and monthly, and less than 1 % for the remainder. When logs are taken τ ˜ is the mean growth rate.
We also consider Theta.log, which is like THIMA.log, but with the forecast step replaced by the Theta(2) method, see Section 2.2.
Table 4 reports the M3 performance of the modified and new benchmark methods, showing that both are improvements over the standard Theta(2) method. Their relative ranking is somewhat unclear because dropping one observation at the end shows THIMA.log as the best performer.

5. Heterogeneity and Independence

Table 4 shows that dropping one observation from M3 switched the best method from Theta.log to THIMA.log, uniformly for both measures at all three frequencies. Given the much larger size of M4, our assumption was that this cannot happen there, but Section 5.1 shows otherwise. Section 5.3 attributes this heterogeneity to clustering in the sample end-points. Section 5.2 introduces a DGP that in many respects is similar to M4.

5.1. Unexpected Heterogeneity

As a first investigation we assess the accuracy of 1-step ahead forecasts using an expanding data sample. Starting with the full data set (including the evaluation sample initially held back), we first withhold 12 observations, forecasting one step ahead. With T i observations in the training set for series i, the full series has T i F = T i + H observations. The first 1-step forecast is for T i F 12 . Then the next is for T i F 11 , etc. In sequence we give these twelve one-step forecasts the x-coordinates 12 , , 1 .
Table 5 illustrates how the data are used. The first line applied when we were developing our M4 submission: we held back an additional H observations to test performance. The next line relates to the evaluation of the competition. The final three are for the sequence of 1-step forecasts that were just described. In each case the test samples (denoted by non-italic T) are the forecasts evaluated in the competition.
Figure 5 reports the average sMAPE and MASE for the sequence of 1-step forecasts for M3 and M4 for four forecast devices. The lines are normalized by the Naive2 forecast measures, so Naive2 becomes a line at unity.
First we note from the Figure 5 graphs that the variability is similar between M3 and M4, despite moving from 645 to 23,000 series for annual data. This is unexpected, since the averages are computed over many more series. So uncertainty in rankings in M4 could be similar to that in M3. Next, accuracy rankings can switch for different subsamples, so it may not be enough to establish success by looking at one particular sample. This is not captured by the statistical comparisons of [5,23] because that is for a fixed sample, assuming the series are independent. Finally, the M3 profile is somewhat U shaped, but M4 is more the opposite. This is relevant, because the competition version omits the last six observations, which corresponds to the middle of the graphs.
Figure 5 also shows that all methods in the graph are, with a few exceptions, an improvement over the random walk forecast. As expected THIMA.log and Theta.log are similar, and both are largely improvements over the standard Theta(2) method. Their relative ranking is unclear in the graphs, as it was in Table 4.

5.2. An M4-Like Data Generation Process

As a first step in designing a DGP that mimics some of the properties of M4, we address normality. The backbone of our Card method ([12]), is the calibration step. We apply this calibration to the yearly and quarterly series without forecasting, and collect the residuals, standardized by their estimated equation standard error. This gives 630,515 yearly and 2,010,696 quarterly residuals. Figure 6 shows that normality is strongly rejected: with so many residuals, the 95 % error bands (see [45]) are very tight. Normality is matched well in the center between ± 2 , but the residuals have fatter tails. This is not a surprise for economic data, where breaks happen intermittently. It also corresponds to the need to inflate the forecast intervals from calibration.
The proposed data generation process is:
x t = μ 0 U 1 + ρ x t 1 + σ δ t + ϵ t + θ ϵ t 1 , ϵ t IN [ 0 , 1 ] , t = 99 , , T U 1 , U 2 IN [ 1 , 1 ] , σ = σ 0 + 0.02 U 2 2 1 , δ t = 2 u t I ( | u t | > 2.58 ) u t IN [ 0 , 1 ] , t 1 ( δ t = 0 for t < 1 ) , y t = 100 exp ( x t x 1 ) .
The autoregressive parameter is ρ , and the moving average parameter is θ , while δ adds intermittent breaks. The DGP has a warm-up of 100 periods, during which there can be no breaks. The breaks occur in 1 % of observations.
With parameters ρ = 1 , θ = 0 , μ 0 = 0.03 , σ 0 = 0.06 , this closely matches the M4 yearly data in terms of the mean and standard deviation of growth rates, the distribution of the estimated autoregressive coefficient, as well as the shape of the QQ plot of the calibration residuals. The dominance of the unit root ( ρ = 1 ) in logarithmic form was already established from Figure 3, the values of MASE and sMAPE, as well as the improved benchmark methods.
For a superficial comparison, we show in Figure 7 eighteen real M4 series, followed by the same number of simulated series. They look comparable, except that the third series would be unlikely to arise from the DGP. The M4 data set has a few extremely large breaks that will not be replicated. Finally, the DGP could be lacking some heteroscedasticity and nonlinearity. Seasonality is still to be added.
However, the DGP (10) also has some advantages over M4. The first is that the data series have independent errors, but being drawn from the same DGP, are nevertheless highly correlated. This means that ‘whole database’ forecast methods do not inadvertently use future information, thus avoiding infeasible forecasts. Furthermore, generating data this way is much easier to implement, so can serve as an initial forecasting testbed. The DGP captures the properties that seem relevant for economic time series, which can help to improve machine learning methods in such a setting. Finally, there are some parameters that can be varied, in addition to the sample size.
Figure 8 compares the 1-step forecasts using the simulated data and annual M4. The simulated data has T i F = 32 observations for all series, and we use 10,000 series. The simulated data shows less variability in the MASE and sMAPE. The fact that the MASE is trending for the simulated data corresponds with the results in Section 4.1.

5.3. The Role of Sample Dates

After the competition, the sample dates for the training series were supplied. Table 6 lists the sample ends for the annual M4 data where they comprise 1 % or more. The ten listed dates together make up 94 % of the annual sample. The year 2009 is the most common at over a quarter of the sample. Next is 2008, and together they are almost half of the sample. So most forecasts were for 2010–2015 and 2009–2014. These are the years in and after the financial crisis, which may contribute to the unexpected heterogeneity in the data.

6. The Cardt Method

Our submission to the M4 competition was labeled Card, summarized in Section 6.1. We introduce some small adjustments to that method, first a robust adjustment in Section 6.2, then adding THIMA to create Cardt in Section 6.3. We also derive interval forecasts that can be used at different significance levels and sample sizes in Section 6.4.

6.1. The Original Card Method

Card combined two autoregressive methods, incorporating trend dampening, some robustness against structural breaks, and limiting the autoregressive coefficient to prevent wild forecasts. The forecasts were obtained from a final ‘calibration’ step. [12] provide a technical description.
The first forecast method in Card is based on estimating the growth rates from first differences—hence labeled Delta method—but with removal of the largest values and additional dampening. The second method, called Rho, estimates a simple autoregressive model, possibly switching to a model in first differences with dampened mean.
Next, the forecasts of Rho and Delta are averaged with equal weights. Calibration treats the hold-back forecasts as if they were observed, and re-estimates a model that is a richer version of the first-stage autoregressive model (see (A5) in Appendix B). The fitted values over the forecast period (now pseudo in-sample) are the new forecasts. At this stage there is no issue with overfitting or explosive roots, because no further extrapolation is made.
Calibration makes little difference for annual or daily data, which have no seasonality. It does, however, provide almost uniform improvements in all other cases, in some cases substantially so. This experience is also reported for the X12-ARIMA procedure ([21]), although there the ARIMA model comes first, providing a forecast extension that is used in the X11 procedure. Our procedure could be a flexible alternative.
Card made initial decisions about the use of logarithms, differences versus levels, and the presence of seasonality:
  • Let y t , t = 1 , , T denote the initial series. If min ( y 1 , , y T ) > 1 : x t = log ( y t ) , else x t = y t .
    This entails that logs were always used in both the M3 and M4 data.
  • If var [ Δ x t ] 1.2 var [ x t ] then forecast from a dynamic model, else directly forecast the levels using a static model.
    The static model only occurs in M4 at a rate of 1.5 % (yearly), 4 % (quarterly), 6 % (monthly), and almost never at the other data frequencies.
  • The presence of seasonality is tested at 10 % based on the ANOVA test (8) using Δ x t or x t (depending on the previous step).
In our application to M4, we limited the number of observations of annual, quarterly, and monthly data to 40 years, and daily data to 4 years. The choice of 40 was a compromise between recency to avoid distortion from distant shifts yet sufficient data for parameter estimation. The longer the estimation sample, the greater the possibility of distributional shifts in the earlier data that would be inimical to forecasting. For hourly data, the Rho and Delta are calibrated, then averaged, then calibrated again; calibration is done with autoregressive lag six instead of one. For weekly data, Rho is applied to the four-weekly averages (giving frequency 13), and calibrated before averaging with Delta.
For hourly data, S = 24 , we add a second frequency S 2 to reflect the diurnal rhythm: S 2 = 7 creates an additional frequency of S S 2 = 168 for the weekly pattern. In [12] we specified the daily frequency as S × S 2 = 5 × 12 , but this was not beneficial, and we change it here to S = S 2 = 1 . So no distinction is made anymore between yearly and daily data.
The Ox ([46]) code to replicate our Card submission was uploaded to Github shortly after the M4 competition deadline.

6.2. Robust Adjustments to Card

6.2.1. Robust 1-Step Forecasts of AR(1) Model

A correction can make the forecast more robust when there is an unmodeled break at the forecast origin. To illustrate, consider a stationary autoregressive model of order one, AR(1):
y t = μ + ρ y t 1 + z t β + ϵ t , t = 1 , , T .
In the current setting, all components in z t are deterministic, so known for the forecast period (see [17] for an analysis where the future z t ’s are not known). The one-step forecast is
y ^ T + 1 = μ ^ + ρ ^ y T + z T + 1 β ^ .
The robust forecast is taken from the differenced model:
y ^ T + 1 R = y T + ρ ^ Δ y T + Δ z T + 1 β ^ = μ ^ + ρ ^ y T + z T + 1 β ^ + y T μ ^ ρ ^ y T 1 z T β ^ = y ^ T + 1 + ϵ ^ T .
The robust forecast is an intercept correction based on the last residual. When nothing changes, E [ y ^ T + 1 ] = E [ y ^ T + 1 R ] , but the variance is increased by σ ^ ϵ 2 . However, if there is a location shift in μ at T, this is captured in the residual, so there is a trade-off between the increased variance and the reduction in bias. A seasonal equivalent can be based on the seasonally differenced model:
y ^ T + 1 R ( S ) = y ^ T + 1 + ϵ ^ T + 1 S .

6.2.2. One-Step Ahead Robust Adjustment for Rho

Let [ x ] a b denote the value of x truncated to be between a and b. The following adjustment is to the 1-step forecasts, but only if Rho is not already using first differences:
R = 1 2 ( ϵ ^ T + ϵ ^ T S + 1 ) 2 σ ^ + 2 σ ^ , x ^ T + 1 R = x ^ T + 1 + 1 2 R .
R is the averaged residual following (11), which is limited to two residual standard errors. Half of that is added to the one-step forecast.
Experimentation with M4 shows that the robust version of Rho using (12) shows no benefit for monthly and weekly data: here the gains and losses are similar. The benefit is substantial for quarterly, daily, and hourly data. It is small but consistent for annual data. The results for M3 are similar: no improvement for monthly data, although the annual improvement is more pronounced.

6.2.3. One and Two-Step Robust Adjustment after Calibration

At very short horizons, calibration performs worse than the inputs to calibration. We therefore made a small change for the first two forecasts, taking the average of the original and calibrated forecasts. Beyond H = 3 , the forecasts are unchanged at the fitted values from calibration.

6.3. Cardt: More Averaging by Adding THIMA

Our annual forecasts using Card did not do as well as expected. Part of the explanation is that holding back twelve observations from the full M4 data set is quite different from withholding six, as was illustrated in Figure 5. At the time we considered adding a Theta-like forecast to the average prior to calibration, but decided against this. That was a mistake, and Cardt for frequencies up to twelve now uses the calibrated average of Rho, Delta, and THIMA.log.

6.4. Forecast Intervals

The forecast intervals of an AR(1) model with drift, y t = μ + ρ y t 1 + ϵ t , grow with the horizon h when the errors are IID:
SE = σ 1 + ρ 2 + + ρ 2 ( h 1 ) 1 / 2 .
This is slower than the mean effect:
y T + h = μ 1 + ρ + + ρ h 1 + ρ h y T .
Our submitted approach was based on x t = log y t with 90 % forecast interval:
exp x ^ T + h ± C 1 σ ^ 1 + ρ ^ L + + ρ ^ L h 1 ,
where ρ ^ L is an adjusted estimate of the autoregressive parameter and C 1 is determined by withholding data from the competition data set, aiming for a 90 % interval. Even though this approach did well, it suffers from being asymptotically invalid, as well as being fixed at the 90 % interval.
Our new approach makes a small-sample adjustment to the standard formula for the forecast interval. The basis for this is the calibration formula (see (A5) in Appendix B), which, however, is somewhat simplified and restrained. Because the sample size is small in some cases, we account for parameter uncertainty. Ideally, we get the correct point-wise coverage at each interval and in total, as well as a small MSIS from (6).
The forecast bands have the following form:
L ^ T + h , U ^ T + h = exp x ^ T + h ± c α ( var [ x ^ T + h ] ) 1 / 2 + π h ( S ) T .
This is the standard forecast uncertainty for an autoregressive model with regressors, but here with an inflation factor π h that depends on the frequency. The value of π h is determined by withholding H observations from the training data, and finding a value that combined reasonably good coverage at all forecast horizons with a low value of MSIS. The form of π h is given in Appendix B. The critical value c α is from a Student-t distribution, with the degrees of freedom given below (A7) in Appendix B.
In addition, for S = 4 , 12 , 52 , we average the forecast standard errors from calibration in logs with those from calibration applied to the levels.

7. Evaluation

Section 7.1 considers the contribution of averaging and calibration on Card. Note that Card includes the robust adjustments of Section 6.2, unlike the version used in our M4 submission. The difference between these two versions of Card is small.

7.1. Averaging and Calibration

We start by considering the impact of averaging and calibration on the updated Card method. As in Figure 5, the sample is expanded one observation at a time, but this time the focus is on measuring joint performance over forecasts 1 , , H (see Table 1 for the value of H). The holdback runs from 2 H to H observations, which is 12 , . . , 6 for annual data. This is labeled 12 , , 6 on the horizontal axis of the graphs. The full data sets are used, so the forecasts with H observations held back (the right-most point in each plot) would correspond to the forecasts evaluated in the competition.
Figure 9 shows the performance in terms of sMAPE for the data that are not seasonal. From left to right, these are 10,000 simulated series from DGP (10) (using same data as in Figure 8), annual M4, annual M3, and daily M4. In these cases, the MASE and sMAPE have a very similar profile. The graphs are standardized by Naive2. First we see that Delta is better than Rho, except for M3, where there is no difference. Otherwise, there is little difference between the average DelRho and the calibrated average Card. The main difference between the simulated data and M4 is the relative non-constancy of the latter. For daily data (labeled M4D), it is difficult to beat the random walk, as expected from data that is largely financial.
Figure 10 has the results for seasonal M4 data. Now averaging is mostly an improvement, and calibration improves further. The calibrated average seems a particularly effective way to handle the complex seasonal patterns of weekly and hourly data. The seasonality in the MASE for hourly data is caused by remaining seasonality in the denominator of (4).

7.2. Comparison of Cardt and Card

Figure 11 looks at THIMA.log, which is added to Card at monthly or lower frequencies to give Cardt. This shows that the addition of THIMA.log makes Cardt consistently outperform Card. The top row of Figure 11 is for M4, and the bottom for M3. THIMA.log on its own is mostly worse, although there are some instances where it has the lowest sMAPE.

7.3. Interval Forecasts

Figure 12 shows the coverage of the forecast intervals, averaged up to H-steps ahead for α = 0.05 and α = 0.1 . The forecast intervals are generally well behaved. The exceptions are that the 90 % intervals for monthly data are a bit too wide, and hourly intervals a bit too narrow. The bands’ effectiveness fluctuates with the subsample, perhaps more than expected.

7.4. Overall Performance

Table 7 lists the forecast performance in terms of MASE and sMAPE for each frequency, as well as the weighted average for all frequencies combined. The overall weighted average (OWA), computed as in (5), is in the final column. The new Cardt, which adds THIMA.log to the forecast combination prior to calibration, is mainly improved for annual data, and just a bit better for quarterly data.
Interval forecasts are evaluated through the MSIS scores (6), which are reported in the bottom half of Table 7. The new method of computing the intervals is generally better. Also reported is the absolute coverage difference (ACD), which is the absolute difference between the fraction of outcomes outside the interval forecasts and the target significance level. The optimal value for the ACD is zero. Our M4 submission targeted 10 % intervals, so we computed the ACD relative to that significance level for submitted Card. The overall ACD takes the weighted average, and then the absolute value, so is not equal to the weighted average of the ACDs at each frequency. The new approach to computing forecast intervals is comparable in terms of coverage, but a considerable improvement as measured by MSIS. The new intervals have been derived after the competition finished—nonetheless, they improve on our old intervals, which were already among the best.

8. Cardt and COVID-19

Cardt is a relatively simple forecasting device, based on some of the principles discussed here: robustness, trend dampening, averaging, limited number of parameters with limited range in the first stage, followed by a richer model in the final calibration. Cardt is fast and performs well on both M3 and M4 data, suggesting that it can be a general purpose device to provide baseline forecasts for macro-economic data. Ref. [17] shows in simulations that Cardt can be useful to forecast conditioning variables in the presence of breaks. Ref. [47] apply this to unemployment forecasting, showing that the conditional model has more accurate forecasts for 2019, but Cardt for 2020.
One unresolved issue is that of the forecast horizon. Because of the calibration, and as an example, the third forecast for a horizon of three is not identical to the third for a horizon of four. Next is the use of logarithms. In M3 and M4 it was best (and easiest) to always use logs. But a default of testing using (7) with c l = 1.3 may be preferable in other settings.
We performed some additional robustness checks on the performance of Cardt. The first set of experiments vary the parameters and sample size of the artificial DGP. The second is for a range of transformations of the M4 variables, including logs, differences, differences of logs, square roots, reversing each series, and cumulating each series. Cardt outperforms Naive2, Theta2, THIMA.log, Delta, and Rho in almost all cases. The one exception is for the cumulated M4 series, where Rho tends to perform badly. This will be caused by the suppression of the autoregressive parameter and the trend. In turn this affects Cardt, especially for monthly, weekly, daily and hourly data. The Delta method does surprisingly well for the cumulated data, suggesting a route for improvement.
While the cumulated M4 series do not look much like economic data, they have more in common with the cumulated counts of cases and deaths from COVID-19: this pandemic data shows periods of rapid growth followed by slowdowns, subjected to many shocks, including shifts in measurements and definitions with large ex post revisions. As documented in [48], we use a novel trend-seasonal decomposition of cumulated counts. Forecasts of the estimated trend and remainder are then made with the Cardt method. For the trend we can apply Cardt to the differenced trend, and then cumulate the forecasts, say Cardt-I(2). At the start of the pandemic, although data was still limited, this was found to overestimate the future growth. As a solution we adopted the average of Cardt and Cardt-I(2). Refs. [48,49] investigate the forecast performance of the adjusted Cardt method for COVID-19, showing generally good performance.

9. Conclusions

We established that the dominant features of M4 are mostly stationary growth rates that are subject to intermittent large shocks, combined with strong seasonality. This led us to propose a simple extension to the Theta method by adding a simple rule to take logarithms. We also introduced THIMA.log as a simple benchmark method that helps understanding the Theta method. Moreover, this improves on Theta(2) in both M3 and M4 forecasting at low frequencies. We added this to the forecast combination prior to calibration, which mainly improved performance at the yearly frequency.
Our experience with M4 supports most of the principles that were introduced in the introduction:
(I)
dampen trends/growth rates;
This certainly holds for our methods and Theta-like methods. Both Delta and Rho explicitly squash the growth rates. Theta(2) halves the trend. The THIMA method that we introduced halves the mean of the differences, which has the same effect.
(II)
average across forecasts from "non-poisonous" methods;
This principle, which goes back to [16], is strongly supported by our results, as well as the successful methods in M4. There may be some scope for clever weighting schemes for the combination, as used in some M4 submissions that did well. It may be that a judicious few would be better than using very many.
A small amount of averaging also helped with forecast intervals, although the intervals from annual data in levels turned out to be ‘poisonous.’
(III)
include forecasts from robust devices in that average;
We showed that short-horizon forecasts of Rho could be improved by overdifferencing when using levels. The differenced method already has some robustness, because it reintegrates from the last observation. This, in turn, could be an adjustment that is somewhat too large. The IMA model of the THIMA method effectively estimates an intercept correction, so has this robustness property (as does Theta(2), which estimates it by exponential smoothing).
(IV)
select variables in forecasting models at a loose significance;
Some experimentation showed that the seasonality decisions work best at 10 % , in line with this principle. Subsequent pruning of seasonal dummies in the calibration model does not seem to do much, probably because we already conditioned on the presence of seasonality. However, for forecast uncertainty, a stricter selection helps to avoid underestimating the residual variance. Ref. [17] find support for this in a theoretical analysis.
(V)
update estimates as data arrive, especially after forecast failure;
This aspect was only covered here by restricting estimation samples to say, 40 years for annual data given the many large shifts that occurred in earlier data. Recursive and moving windows forecasts are quite widely used in practical forecasting.
(VI)
‘shrink’ estimates of autoregressive parameters in small samples;
As the forecast error variance can only be estimated from out-of-sample extrapolation, it is essential to avoid explosive behaviour, so constrain all ρ ^ 1 .
(VII)
adapt choice of predictors to data frequency;
For example, method 118 by [50] had the best performance for yearly and monthly forecasting but Card was best at forecasting the hourly data.
(VIII)
address ‘special features’ like seasonality.
Appropriate handling of seasonality was important as described in Section 2.3 and even transpired to be an important feature of forecasting COVID-19 cases and deaths as in [49].
We derived a DGP that generates data similar to annual M4. This could be a useful complement to the actual data. It also confirmed the good performance of our Cardt method. Extending this to include the properties of the seasonal time series is left to a later date.
We believe that Cardt is useful as a baseline method for economic forecasting: it is fast, transparent, and performs well in a range of realistic and simulated settings. Most recently, it helped to provide useful short-run forecasts of COVID-19 cases and deaths.

Author Contributions

Conceptualization, J.L.C., J.A.D. and D.F.H.; Data curation, J.L.C. and D.F.H.; Formal analysis, J.L.C., J.A.D. and D.F.H.; Funding acquisition, D.F.H.; Investigation, J.L.C. and D.F.H.; Methodology, J.L.C., J.A.D. and D.F.H.; Resources, D.F.H.; Software, J.A.D.; Validation, D.F.H.; Writing—original draft, J.L.C. and D.F.H.; Writing—review and editing, J.L.C. and D.F.H. All authors have read and agreed to the published version of the manuscript.

Funding

Financial support from the Robertson Foundation (award 9907422), Nuffield College and Institute for New Economic Thinking (grant 20029822) and the ERC (grant 694262, DisCont) is gratefully acknowledged.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Acknowledgments

We thank two anonymous referees for their helpful suggestions.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Accuracy Measures under Naive Forecasts

The random walk (or naive) forecast of annual data is simply y ^ T + 1 = y T , so for one step ahead MASE, from (4):
MASE ( N 1 ) = Δ y T + 1 1 T t = 1 T | Δ y t | .
Similarly for MAPE and sMAPE:
MAPE ( N 1 ) = 100 Δ y T + 1 y T + 1 ,
sMAPE ( N 1 ) = 200 Δ y T + 1 y T + 1 + y T .
In this setting we can derive approximate expected values of these measures.

Appendix A.1. Stationary Case

First assume that the data generation process is given by:
y t = μ + ϵ t , ϵ t N [ 0 , σ 2 ] .
Then Δ y t N [ 0 , 2 σ 2 ] , therefore | Δ y t | has a half normal distribution, and
E [ | Δ y t | ] = σ 4 π 1 / 2 = 2 σ ϕ ( 0 ) m 1 .
Using the first term of the Taylor expansion around the expectation amounts to approximating the expectation of the ratio by the ratio of the expectations:
E [ MASE ( N 1 ) ] E Δ y T + 1 1 T t = 1 T E [ | Δ y t ] | 1 .
The numerator and denominator of the MASE(N1) in (A1) are asymptotically uncorrelated because the distributions of | Δ y t | and | Δ y s | are independent for s < t 1 .
For the denominator of sMAPE, note that | y t | has a folded normal distribution:
E [ | y t | ] = 2 σ ϕ μ σ + μ 1 2 Φ μ σ m 2 .
So
E [ sMAPE ( N 1 ) ] 100 m 1 m 2 .
When μ / σ is large enough:
E [ sMAPE ( N 1 ) ] 100 m 1 μ = 113 σ | μ | .
This does not hold when μ = 0 : in that case the expectation is approximately 100 2 = 141 . The numerator and denominator of the sMAPE (A3) are uncorrelated provided y T + 1 and y T have the same sign (an alternative version with y T + 1 + y T in the denominator would always be uncorrelated).
The approximations can provide some insight in the amount of bias introduced when minimizing the error measures: what is the optimal β to add to the naive forecast in the current DGP? In the MASE, only the nominator is affected, turning it into a folded normal distribution. Then minimizing the approximation amounts to minimizing f ( β ) = 2 ϕ β + β 1 2 Φ β . Because f ( β ) / β = 1 2 Φ ( β ) , this is zero at β = 0 : the bias comes from the higher order terms that were ignored in the approximation.
In case of the sMAPE, the bias function is more difficult because β also enters the denominator. For μ > 0 , sMAPE is roughly minimized for β = σ 2 / μ . Table A1 compares the approximations to simulations for a range of means when the variance equals one, confirming the increasing accuracy of the approximate expectations as μ increases.
Table A1. Simulated and approximated mean and bias of MASE and sMAPE for one-step ahead naive forecasts. DGP N[ μ , 1 ], T = 15, M = 100,000 replications.
Table A1. Simulated and approximated mean and bias of MASE and sMAPE for one-step ahead naive forecasts. DGP N[ μ , 1 ], T = 15, M = 100,000 replications.
μ = 0.5 μ = 1 μ = 2 μ = 5 μ = 10
Simulated
E[MASE]1.1361.1361.1361.1361.136
E[sMAPE]133.9109.163.223.011.3
Bias[MASE]−0.006−0.006−0.006−0.006−0.006
Bias[sMAPE]1.1000.9230.5730.1980.093
Bias[MAPE]−0.279−0.932−1.640−0.222−0.108
Bias[MAAPE]0.0640.038−0.109−0.159−0.100
Approximated
E[MASE]11111
E[sMAPE]225.7112.856.422.611.3
Bias[MASE]00000
Bias[sMAPE]210.50.20.1
Table A1 also shows that while the MASE is essentially unbiased, the bias from minimizing sMAPE and MAPE is large in some cases. The MAAPE, introduced by [51], is defined as:
MAAPE = 100 H t = T + 1 T + H atan 2 y t y ^ t , y t

Appendix A.2. Nonstationary Case

Keeping T fixed:
Δ y t = μ + ϵ t , ϵ t N [ 0 , σ 2 ] , t = 1 , , T + 1 .
Then | Δ y t | has a folded normal distribution with mean m 2 and E [ MASE ] 1 .
Setting y 0 = 0 we have that y t = s = 1 t Δ y s N [ t μ , t σ 2 ] .
E [ sMAPE ( N 1 ) ] 200 m 2 ( 2 T + 1 ) μ .
This is roughly 100 / T when μ / σ is large, but more like ( 100 / T ) σ / μ for small μ .

Appendix A.3. Nonstationary Case in Levels

Let
y t = exp ( x t ) , Δ x t = μ + ϵ t , ϵ t N [ 0 , σ 2 ] , x t = s = 1 t Δ x t , x 0 = 0 .
For fixed T, exp ( Δ x t ) has a lognormal distribution with mean exp ( μ + σ 2 / 2 ) m 3 , and y t = exp ( x t ) has a lognormal distribution with mean exp ( t μ + t σ 2 / 2 ) = m 3 t , so
E [ Δ y t ] = E [ [ exp ( x t ) ] E [ [ exp ( x t 1 ) ] = m 3 t 1 ( m 3 1 ) .
Ignoring the absolute values:
E [ MASE ] m 3 T 1 T t = 1 T m 3 t 1 .
This is always positive, because m 3 1 cancelled out in this approximation. As a consequence, the approximation remains somewhat effective even for negative μ . Note that the MASE tends to zero as μ gets more negative. For larger μ the MASE behaves as T m 3 .
Finally, for the sMAPE when μ is large:
E [ sMAPE ( N 1 ) ] 200 m 3 T + 1 m 3 T m 3 T + 1 + m 3 T = 200 m 3 1 m 3 + 1 .
Table A2. Simulated means and standard deviations of MASE, sMAPE, MAPE, and MAAPE for one-step ahead naive forecasts. T = 15 , M = 100 , 000 replications.
Table A2. Simulated means and standard deviations of MASE, sMAPE, MAPE, and MAAPE for one-step ahead naive forecasts. T = 15 , M = 100 , 000 replications.
y t N[ μ , σ 2 ] Δ y t N[ μ , σ 2 ] Δ log y t N[ μ , σ 2 ]
MeanSdevMeanSdevMeanSdev
μ = 0 , σ = 1 , T = 15
MASE1.140.921.040.842.99.8
sMAPE144.168.551.058.969.945.4
MAPE6629.4 18 × 10 5 809.6 1.6 × 10 5 112.4195.1
MAAPE90.840.140.338.858.737.9
μ = 0.025 , σ = 0.1 , T = 15
MASE1.140.921.050.851.41.2
sMAPE141.369.337.750.08.36.3
MAPE654.010871365.7154788.56.8
MAAPE89.540.631.734.88.46.7
μ = 0.1 , σ = 1 , T=15
MASE1.140.921.040.844.313.2
sMAPE143.868.648.557.670.145.5
MAPE797.423462188.76304.6124.6219.1
MAAPE90.640.238.638.260.839.6
μ = 1 , σ = 1 , T = 15
MASE1.140.921.040.7541.871.6
sMAPE109.171.08.607.0294.051.6
MAPE648.1277439.3121.5358.8579.4
MAAPE75.343.59.077.5291.946.8
μ = 10 , σ = 1 , T = 15
MASE1.140.921.000.104 5.1 × 10 5 6.6 × 10 5
sMAPE11.38.636.900.69200.00.039
MAPE11.59.057.150.74 36 × 10 5 47 × 10 5
MAAPE11.38.717.140.74157.10.010

Appendix B. Forecast Intervals

Forecast intervals are obtained from the calibration model that is used to create the final forecasts. The calibration model is:
z t = μ + ( ρ z t 1 + ρ R z t R I R I 4 I S + ρ R + 1 z t R 1 I R I 4 I S ) I ρ + δ j q j , t I A I S + γ 1 S t + γ 1 * C t ( 1 I A ) I S + γ 2 S 2 , t + γ 2 * C 2 , t ( 1 I 3 ) I S 2 + ρ S S 2 z t S S 2 I 3 I S 2 + ( τ 1 d t + τ 2 t d t I 5 I ρ ) I 6 + u t , t = T 0 , , T + H
where I ρ = 0 for a static model, I S = S > 1 , I R = 1 when R > 1 , I 4 = T > 4 S , I 3 = T + H > 4 S S 2 , I S 2 = S 2 > 1 , I 6 = S 24 and T > 3 S and   T + H k > 10 , I 5 = S = 4 , 12 , 13 , S t = sin [ 2 π t / S ] , C t = cos [ 2 π t / S ] , S 2 , t = sin [ 2 π t / ( S S 2 ) ] , C 2 , t = cos [ 2 π t / ( S S 2 ) ] , d t = I ( t < T min [ 2 S , ( T + H ) / 2 ] ) . Note that no observations are lost when lag S S 2 is used, because the first S S 2 observations are duplicated at the start.
The preliminary forecasts are treated as if they are in sample observations, and then replaced by fitted values from calibration. However, the forecast error variance can only be estimated from out-of-sample extrapolation. This makes it essential to avoid explosive behaviour; we also wish to avoid underestimating the residual variance, so (A5) is adjusted as follows:
  • remove the broken intercept and trend (if present, so setting I 6 = 0 );
  • remove deterministic variables that are insignificant at 2 % ; the intercept is kept;
  • remove z t R 1 if present;
  • add the absolute residuals from (A5) as a regressor;
  • estimate the reformulated calibration model;
  • if ρ ^ > 0.999 then impose the unit root, and re-estimate;
  • if ρ ^ < 0 then set ρ = 0 , and re-estimate.
Let u ^ t denote the reformulated calibration residuals, then the equation standard error is estimated from ‘recent’ residuals:
σ ˜ u 2 = max ( T T * + 1 , T 0 ) T u ^ t 2 max [ min ( T * , T T 0 + 1 k * ) , 2 ] , T * = max ( S S 2 , 80 ) ,
where k * is the number of regressors in the reformulated calibration model. The variance (A6) is computed from ‘recent’ residuals to reflect neglected (conditional) heteroscedasticity. T is the original sample size excluding the forecast period, so the residuals from the forecast period are excluded; T 0 equals 1 for a static model, 2 for a model with one lag, and R + 2 if the seasonal lag is included.
The parameters of the adjusted model are estimated using all observations, but the forecast variance is extrapolated using the standard autoregressive forecast formulae from T + 1 onwards. This can be represented as
σ ^ u 2 f ^ T + h u + f ^ T + h x ,
where f u is the contribution from the error term, and f x the contribution of parameter estimation, with the former dominating asymptotically.
Two small adjustments are made: we use the recent residual variance (A6) and limit the contribution from parameter uncertainty:
var [ z ^ T + h ] = σ ˜ u 2 f ^ T + h u + min ( f ^ T + h x , 4 f ^ T + h u ) .
By default, the modeling is in logs, so that the 100 ( 1 α ) % interval is given by:
L ^ T + h , U ^ T + h = exp z ^ T + h ± c α ( var [ z ^ T + h ] ) 1 / 2 + π h ( S ) T .
The critical value c α is from a Student-t distribution with T T 0 k * degrees of freedom.
The π h term is an inflation factor for S = 4 , 12 , 24 that is added when using logarithms because otherwise the forecast intervals are too small, particularly at longer horizons:
π h ( S ) 0.25 h S = 1 , 0.1 h S = 4 , 0.4 h S = 12 0.4 h / 6 S = 24 0.0 S = 52
One further step for forecast intervals from calibration in logarithms is to also calibrate the levels, and then average the two. In that case the forecast standard errors are multiplied by 1 + 4 h/T. This is used for S = 4 , 12 , 52 . For yearly data, the levels forecast intervals are too far out to be useful in a combination.

Appendix C. Comparison with R Code

Table A3 compares Theta2 forecasts using the R code supplied with the M4 competition to our Ox implementation (using all data). The forecast summary statistics are almost identical except for weekly data, where we get a different result. The Ox version is about 130 times faster. Of that advantage, a factor of three is obtained from the parallel implementation.
Table A3. Timings to compute Theta2 forecasts, comparing R and Ox version.
Table A3. Timings to compute Theta2 forecasts, comparing R and Ox version.
Theta2Ox Implementation R Implementation
Time (s)sMAPE Time (s)sMAPE
Total DataForecastTotal
Yearly 3.670.876 4.613753800.880
Quarterly 4.830.949 4.316276310.950
Monthly 10.491.017 4.22149915031.016
Weekly 0.450.838 3.9533370.886
Daily 6.961.007 4.05101910231.008
Hourly 0.270.991 3.8928320.991

References

  1. Makridakis, S.; Hibon, M. Accuracy of forecasting: An empirical investigation. J. R. Stat. Soc. A 1979, 142, 97–145. [Google Scholar] [CrossRef]
  2. Makridakis, S.; Andersen, A.; Carbone, R.; Fildes, R.; Hibon, M.; Lewandowski, R.; Newton, J.; Parzen, E.; Winkler, R. The accuracy of extrapolation (time series) methods: Results of a forecasting competition. J. Forecast. 1982, 1, 111–153. [Google Scholar] [CrossRef]
  3. Makridakis, S.; Chatfield, C.; Hibon, M.; Lawrence, M.; Mills, T.; Ord, K.; Simmons, L.F. The M2-competition: A real-time judgmentally based forecasting study. Int. J. Forecast. 1993, 9, 5–22. [Google Scholar] [CrossRef]
  4. Makridakis, S.; Hibon, M. The M3-competition: Results, conclusions and implications. Int. J. Forecast. 2000, 16, 451–476. [Google Scholar] [CrossRef]
  5. Makridakis, S.; Spiliotis, E.; Assimakopoulos, V. The M4 competition: 100,000 time series and 61 forecasting methods. Int. J. Forecast. 2020, 36, 54–74. [Google Scholar] [CrossRef]
  6. Hyndman, R.J. A brief history of forecasting competitions. Int. J. Forecast. 2020, 36, 7–14. [Google Scholar] [CrossRef]
  7. Fildes, R.; Ord, K. Forecasting competitions—Their role in improving forecasting practice and research. In A Companion to Economic Forecasting; Clements, M.P., Hendry, D.F., Eds.; Blackwells: Oxford, UK, 2002; pp. 322–353. [Google Scholar]
  8. Clements, M.P.; Hendry, D.F. Explaining the results of the M3 forecasting competition. Int. J. Forecast. 2001, 17, 550–554. [Google Scholar]
  9. Fildes, R.A.; Makridakis, S. The impact of empirical accuracy studies on time series analysis and forecasting. Int. Stat. Rev. 1995, 63, 289–308. [Google Scholar] [CrossRef] [Green Version]
  10. Önkal-Atay, D.; Wilkie-Thomson, M.E.; Pollock, A.C. Judgemental forecasting. In A Companion to Economic Forecasting; Clements, M.P., Hendry, D.F., Eds.; Blackwells: Oxford, UK, 2002; pp. 133–151. [Google Scholar]
  11. Britton, E.; Fisher, P.; Whitley, J. Inflation Report projections: Understanding the fan chart. Bank Engl. Q. Bull. 1998, 38, 30–37. [Google Scholar]
  12. Doornik, J.A.; Castle, J.L.; Hendry, D.F. Card forecasts for M4. Int. J. Forecast. 2020, 36, 129–134. [Google Scholar] [CrossRef]
  13. Gardner, E.S.; McKenzie, E. Forecasting trends in time series. Manag. Sci. 1985, 31, 1237–1246. [Google Scholar] [CrossRef]
  14. Clements, M.P.; Hendry, D.F. Forecasting Economic Time Series; Cambridge University Press: Cambridge, UK, 1998. [Google Scholar]
  15. Hendry, D.F.; Mizon, G.E. Unpredictability in economic analysis, econometric modeling and forecasting. J. Econom. 2014, 182, 186–195. [Google Scholar] [CrossRef] [Green Version]
  16. Bates, J.M.; Granger, C.W.J. The combination of forecasts. Oper. Res. Q. 1969, 20, 451–468. [Google Scholar] [CrossRef]
  17. Castle, J.L.; Doornik, J.A.; Hendry, D.F. Selecting a model for forecasting. Econometrics 2021, in press. [Google Scholar]
  18. Hendry, D.F.; Mizon, G.E. Open-model forecast-error taxonomies. In Recent Advances and Future Directions in Causality, Prediction, and Specification Analysis; Chen, X., Swanson, N.R., Eds.; Springer: New York, NY, USA, 2012; pp. 219–240. [Google Scholar]
  19. Castle, J.L.; Fawcett, N.W.P.; Hendry, D.F. Forecasting with equilibrium-correction models during structural breaks. J. Econom. 2010, 158, 25–36. [Google Scholar] [CrossRef] [Green Version]
  20. Clements, M.P.; Hendry, D.F. On the limitations of comparing mean squared forecast errors (with discussion). J. Forecast. 1993, 12, 617–637. [Google Scholar] [CrossRef]
  21. Findley, D.F.; Monsell, B.C.; Bell, W.R.; Otto, W.R.; Chen, B.-C. New capabilities and methods of the X-12-ARIMA seasonal-adjustment program (with discussion). J. Bus. Econ. Stat. 1998, 16, 127–177. [Google Scholar]
  22. Ord, K. Commentaries on the M3-Competition. An introduction, some comments and a scorecard. Int. J. Forecast. 2001, 17, 537–584. [Google Scholar]
  23. Koning, A.J.; Franses, P.H.; Hibon, M.; Stekler, H.O. The M3-Competition: Statistical tests of the results. Int. J. Forecast. 2005, 21, 397–409. [Google Scholar] [CrossRef]
  24. Makridakis, S.; Spiliotis, E.; Assimakopoulos, V. Statistical and machine learning forecasting methods: Concerns and ways forward. PLoS ONE 2018, 13, 176–179. [Google Scholar] [CrossRef] [Green Version]
  25. Hyndman, R.J.; Koehler, A.B.; Ord, J.K.; Snyder, R.D. Forecasting with Exponential Smoothing; Springer: New York, NY, USA, 2008. [Google Scholar]
  26. Hyndman, R.J.; Koehler, A.B.; Snyder, R.D.; Grose, S. A state space framework for automatic forecasting using exponential smoothing. Int. J. Forecast. 2002, 18, 439–454. [Google Scholar] [CrossRef] [Green Version]
  27. Winters, P.R. Forecasting sales by exponentially weighted moving averages. Manag. Sci. 1960, 6, 324–342. [Google Scholar] [CrossRef]
  28. Holt, C.C. Forecasting seasonals and trends by exponentially weighted moving averages. In ONR Research Memorandum 52; Carnegie Institute of Technology: Pittsburgh, PA, USA, 1957. [Google Scholar]
  29. Assimakopoulos, V.; Nikolopoulos, K. The theta model: A decomposition approach to forecasting. Int. J. Forecast. 2003, 16, 521–530. [Google Scholar] [CrossRef]
  30. Hyndman, R.J.; Billah, B. Unmasking the theta method. Int. J. Forecast. 2003, 19, 287–290. [Google Scholar] [CrossRef]
  31. Hyndman, R.J.; O’Hara-Wild, M.; Bergmeir, C.; Razbash, S.; Wang, E. R Package ‘Forecast’, Version 8.2. Technical Report. 2017. Available online: https://cran.r-project.org/web/packages/forecast/index.html (accessed on 25 January 2021).
  32. Hyndman, R.J.; Koehler, A.B. Another look at measures of forecast accuracy. Int. J. Forecast. 2006, 22, 679–688. [Google Scholar] [CrossRef] [Green Version]
  33. Makridakis, S. Accuracy measures: Theoretical and practical concerns. Int. J. Forecast. 1993, 9, 527–529. [Google Scholar] [CrossRef]
  34. Gneiting, T.; Raftery, A.E. Strictly proper scoring rules, prediction, and estimation. J. Am. Stat. Assoc. 2007, 102, 359–378. [Google Scholar] [CrossRef]
  35. Kang, Y.; Hyndman, R.J.; Smith-Miles, K. Visualising forecasting algorithm performance using time series instance spaces. Int. J. Forecast. 2017, 33, 345–358. [Google Scholar] [CrossRef] [Green Version]
  36. Spiliotis, E.; Kouloumos, A.; Assimakopoulos, V.; Makridakis, S. Are forecasting competitions data representative of the reality? Int. J. Forecast. 2020, 36, 37–53. [Google Scholar] [CrossRef]
  37. Bergmeir, C.; Hyndman, J.M.; Benítez, R.J. Bagging exponential smoothing methods using stl decomposition and Box–Cox transformation. Int. J. Forecast. 2016, 32, 303–312. [Google Scholar] [CrossRef] [Green Version]
  38. Box, G.E.P.; Cox, D.R. An analysis of transformations. J. R. Stat. Soc. B 1964, 26, 211–243; discussion 244–252. [Google Scholar] [CrossRef]
  39. Legaki, N.Z.; Koutsouri, K. Submission 260 to the M4 competition; Github; National Technical University of Athens: Athens, Greece, 2018. [Google Scholar]
  40. Ermini, L.; Hendry, D.F. Log income versus linear income: An application of the encompassing principle. Oxf. Bull. Econ. Stat. 2008, 70, 807–827. [Google Scholar] [CrossRef]
  41. Ladiray, D.; Quenneville, B. Seasonal Adjustment with the X-11 Method; Springer: Berlin, Germany, 2001. [Google Scholar]
  42. Goodwin, P.B.; Lawton, R. On the asymmetry of the symmetric MAPE. Int. J. Forecast. 1999, 15, 405–408. [Google Scholar] [CrossRef]
  43. Koehler, A.B. The asymmetry of the sAPE measure and other comments on the M3-competition. Int. J. Forecast. 2001, 17, 570–574. [Google Scholar]
  44. Hendry, D.F.; Clements, M.P. On a theory of intercept corrections in macro-economic forecasting. In Money, Inflation and Employment: Essays in Honour of James Ball; Holly, S., Ed.; Edward Elgar: Aldershot, Hants, UK, 1994; pp. 160–182. [Google Scholar]
  45. Engler, E.; Nielsen, B. The empirical process of autoregressive residuals. Econom. J. 2009, 12, 367–381. [Google Scholar] [CrossRef]
  46. Doornik, J.A. Object-Oriented Matrix Programming Using Ox, 8th ed.; Timberlake Consultants Press: London, UK, 2018. [Google Scholar]
  47. Castle, J.L.; Doornik, J.A.; Hendry, D.F. The value of robust statistical forecasts in the Covid-19 pandemic. Natl. Inst. Econ. Rev. 2021. [Google Scholar]
  48. Doornik, J.A.; Castle, J.L.; Hendry, D.F. Short-term forecasting of the coronavirus pandemic. Int. J. Forecast. 2020. [Google Scholar] [CrossRef] [PubMed]
  49. Doornik, J.A.; Castle, J.L.; Hendry, D.F. Statistical short-term forecasting of the COVID-19 pandemic. J. Clin. Immunol. Immunother. 2020, 6. [Google Scholar] [CrossRef]
  50. Smyl, S. A hybrid method of exponential smoothing and recurrent neural networks for time series forecasting. Int. J. Forecast. 2020, 36, 75–85. [Google Scholar] [CrossRef]
  51. Kim, S.; Kim, H. A new metric of absolute percentage error for intermittent demand forecasts. Int. J. Forecast. 2016, 32, 669–679. [Google Scholar] [CrossRef]
Figure 1. Distribution of sample size after truncation. Truncated at 40 years, except daily at 1500 observations.
Figure 1. Distribution of sample size after truncation. Truncated at 40 years, except daily at 1500 observations.
Forecasting 03 00010 g001
Figure 2. Estimated Box–Cox λ for yearly (left), quarterly (middle) and monthly M4 (right)
Figure 2. Estimated Box–Cox λ for yearly (left), quarterly (middle) and monthly M4 (right)
Forecasting 03 00010 g002
Figure 3. Distribution of autoregressive coefficient for each frequency of M4.
Figure 3. Distribution of autoregressive coefficient for each frequency of M4.
Forecasting 03 00010 g003
Figure 4. Tests of seasonality for quarterly, monthly, weekly and daily (with S = 5 ) M4. First row for y t , second row for Δ log y t , third row seasonal ANOVA test for Δ log y t .
Figure 4. Tests of seasonality for quarterly, monthly, weekly and daily (with S = 5 ) M4. First row for y t , second row for Δ log y t , third row seasonal ANOVA test for Δ log y t .
Forecasting 03 00010 g004
Figure 5. Average one-step ahead forecast accuracy for yearly M3 and M4, withholding from 12 to 1 observations at the end from the full datasets. Normalized by the naive results.
Figure 5. Average one-step ahead forecast accuracy for yearly M3 and M4, withholding from 12 to 1 observations at the end from the full datasets. Normalized by the naive results.
Forecasting 03 00010 g005
Figure 6. QQ plots of annual and quarterly residuals against Normal and closely matching Student-t distribution, t(4) for yearly and t(8) for quarterly data.
Figure 6. QQ plots of annual and quarterly residuals against Normal and closely matching Student-t distribution, t(4) for yearly and t(8) for quarterly data.
Forecasting 03 00010 g006
Figure 7. Eighteen actual yearly M4 series and eighteen simulated series.
Figure 7. Eighteen actual yearly M4 series and eighteen simulated series.
Forecasting 03 00010 g007
Figure 8. Average one-step ahead forecast accuracy for DGP and M4, withholding from 12 to 1 observations at the end from the full datasets.
Figure 8. Average one-step ahead forecast accuracy for DGP and M4, withholding from 12 to 1 observations at the end from the full datasets.
Forecasting 03 00010 g008
Figure 9. H-step sMAPE relative to that of Naive2 for all non-seasonal data (simulated, M4, M3, daily M4), retaining from 2 H to H observations for evaluation. Forecast methods are Delta, Rho, ( Delta + Rho ) / 2 , Card.
Figure 9. H-step sMAPE relative to that of Naive2 for all non-seasonal data (simulated, M4, M3, daily M4), retaining from 2 H to H observations for evaluation. Forecast methods are Delta, Rho, ( Delta + Rho ) / 2 , Card.
Forecasting 03 00010 g009
Figure 10. H-step performance relative to that of Naive2 for all seasonal data (M4Q, M4M, M4W, M4H for quarterly, monthly, weekly, hourly), retaining from 2 H to H observations for evaluation. Forecast methods are Delta, Rho, ( Delta + Rho ) / 2 , Card.
Figure 10. H-step performance relative to that of Naive2 for all seasonal data (M4Q, M4M, M4W, M4H for quarterly, monthly, weekly, hourly), retaining from 2 H to H observations for evaluation. Forecast methods are Delta, Rho, ( Delta + Rho ) / 2 , Card.
Forecasting 03 00010 g010
Figure 11. H-step forecast accuracy relative to that of Naive2. Forecast methods are Card, Cardt, THIMA.log.
Figure 11. H-step forecast accuracy relative to that of Naive2. Forecast methods are Card, Cardt, THIMA.log.
Forecasting 03 00010 g011
Figure 12. Average rejection of 95 % and 90 % H-step forecast intervals for all frequencies of M4, retaining from 2 H to H observations for evaluation.
Figure 12. Average rejection of 95 % and 90 % H-step forecast intervals for all frequencies of M4, retaining from 2 H to H observations for evaluation.
Forecasting 03 00010 g012
Table 1. Basic properties of the M4 data set.
Table 1. Basic properties of the M4 data set.
DimensionEvaluationSample SizeForecasts
# Series%m T min T max H
Yearly23,000 23.0 % 1138356
Quarterly24,000 24.0 % 4168668
Monthly48,000 48.0 % 1242279418
Weekly359 0.4 % 180259713
Daily4227 4.2 % 193991914
Hourly414 0.4 % 2470096048
Table 2. Approximate expectations of sMAPE and MASE under different data generation processes, H = 1 . Φ is the standard normal cdf, ϕ the density, m 3 = exp ( μ + σ 2 / 2 ) .
Table 2. Approximate expectations of sMAPE and MASE under different data generation processes, H = 1 . Φ is the standard normal cdf, ϕ the density, m 3 = exp ( μ + σ 2 / 2 ) .
DGPsMAPEMASE
y t IN [ μ , σ 2 ] 113 σ | μ | 1
Δ y t IN [ μ , σ 2 ] 200 2 T + 1 2 σ μ ϕ μ σ + 1 2 Φ μ σ 1
Δ log y t IN [ μ , σ 2 ] 200 m 3 1 m 3 + 1 m 3 T 1 T t = 1 T m 3 t 1
Table 3. Average MASE and sMAPE of 1-step Naive forecasts, forecasting the last observation of the training sample.
Table 3. Average MASE and sMAPE of 1-step Naive forecasts, forecasting the last observation of the training sample.
Yearly M3 (H = 1) Yearly M4 (H = 1)
sMAPEMASEsMAPEMASE
Naive29.5851.4168.3901.688
Table 4. M3 performance of MASE and sMAPE for Theta(2) and revised benchmark methods. Lowest in bold.
Table 4. M3 performance of MASE and sMAPE for Theta(2) and revised benchmark methods. Lowest in bold.
Yearly (H = 6)Quarterly (H = 8)Monthly (H = 18)
M3sMAPEMASEsMAPEMASEsMAPEMASE
Full sample, holdback H
Naive217.883.1710.031.2516.771.04
Theta(2)16.722.779.241.1213.910.87
Theta.log16.002.689.151.1113.570.85
THIMA.log16.102.689.191.1113.750.86
With last observation removed, holdback H
Naive218.573.319.541.2216.111.01
Theta(2)17.072.879.261.1313.610.84
Theta.log15.912.649.261.1313.220.82
THIMA.log15.612.579.071.1013.220.82
Table 5. Data use in developing, evaluating and forecasting for our M4 submission.
Table 5. Data use in developing, evaluating and forecasting for our M4 submission.
1 T i H T i H + 1 T i T i + 1 T i + H
developmenttrainingTest forecastsunavailable
competitioncompetitor forecasts from thisM4 team tests
first 1-step forecastestimationTunused
second 1-step forecastestimationTunused
last 1-step forecastestimationT
Table 6. Fraction of the M4 annual data with the specified year end.
Table 6. Fraction of the M4 annual data with the specified year end.
End Year1991200120032004200520062007200820092010
Part of sample15.2%1.6%3.9%4.3%1.1%1.1%5.2%21.7%26.2%14.0%
Table 7. Summary performance in M4 competition. Absolute coverage difference (ACD) is for a 95 % forecast interval except for submitted Card which used 90 % . OWA is the overall weighted average of sMAPE and MASE, with weights determined by the relative number of series for each frequency. * denotes used ACD at 90%.
Table 7. Summary performance in M4 competition. Absolute coverage difference (ACD) is for a 95 % forecast interval except for submitted Card which used 90 % . OWA is the overall weighted average of sMAPE and MASE, with weights determined by the relative number of series for each frequency. * denotes used ACD at 90%.
M4YQMWDHYQMWDHAll
sMAPEMASEsMAPEMASEOWA
new Cardt13.519.9112.676.753.018.923.101.150.932.333.210.8111.7571.5820.849
submitted Card13.9110.0012.786.733.058.913.261.160.932.303.280.8011.9241.6270.865
new THIMA.log13.5110.0213.217.903.0318.413.051.170.972.543.242.5012.0901.6010.864
MSISACD 90%*/95%MSISACD
new Cardt25.728.928.2316.0127.015.840.0020.0000.0030.0070.0050.01313.230.002
submitted Card *30.209.859.4916.4729.136.140.0130.0210.0040.0030.0090.04815.180.007
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Castle, J.L.; Doornik, J.A.; Hendry, D.F. Forecasting Principles from Experience with Forecasting Competitions. Forecasting 2021, 3, 138-165. https://0-doi-org.brum.beds.ac.uk/10.3390/forecast3010010

AMA Style

Castle JL, Doornik JA, Hendry DF. Forecasting Principles from Experience with Forecasting Competitions. Forecasting. 2021; 3(1):138-165. https://0-doi-org.brum.beds.ac.uk/10.3390/forecast3010010

Chicago/Turabian Style

Castle, Jennifer L., Jurgen A. Doornik, and David F. Hendry. 2021. "Forecasting Principles from Experience with Forecasting Competitions" Forecasting 3, no. 1: 138-165. https://0-doi-org.brum.beds.ac.uk/10.3390/forecast3010010

Article Metrics

Back to TopTop