1,704
Views
2
CrossRef citations to date
0
Altmetric
Articles

Augmented Winter's method for forecasting under asynchronous seasonalities

ORCID Icon &
Pages 19-35 | Received 26 Sep 2019, Accepted 16 Oct 2020, Published online: 08 Dec 2020

Abstract

The method of Winters (1960) is one of the most well-known forecasting methodologies in practice. The main reason behind its popularity is that it is easy to implement and can give quite effective and efficient results for practice purposes. However, this method is not capable of capturing a pattern being emerged due to the simultaneous effects of two different asynchronous calendars, such as Gregorian and Hijri. We adapt this method in a way that it can deal with such patterns, and study its performance using a real dataset collected from a brewery factory in Turkey. With the same data set, we also provide a comparative performance analysis between our model and several forecasting models such as Winter’s (Winters Citation1960), TBAT (De Livera et al. Citation2011), ETS (Hyndman et al. Citation2002), and ARIMA (Hyndman and Khandakar Citation2008). The results we obtained reveal that better forecasts can be achieved using the new method when two asynchronous calendars exert their effects on the time-series.

1. Introduction

Typically, business or economics activities may change depending on calendar effects, namely weather conditions, holy days and festivities. Many countries in the world prefer to use the Gregorian calendar to organize and perform their business activities in synchronization with the other ones. Hence, the Gregorian calendar easily captures the pattern of seasons in nature, as well as the pattern of global festivities such as the New Year.

Although some countries use the Gregorian calendar for arranging their economic activities, they continue to follow different calendars for observing their own religious rituals and/or festivals, e.g., Ramadan, Easter, and Passover. In these religious festivities and holy days, the societies’ consumption habits distinguishably change based on their traditions. For instance, many consumers in Middle-East countries completely stop consuming alcoholic beverages during the Ramadan and tend to increase their soft drink consumptions. It is observed that in some markets, this increase reaches up to 50% (The Nielsen Company, Citation2015).

These religious festivities and holy days are scheduled on the Gregorian calendar months based on their unique calendars. As a result of this fact, they may not be observed in a fixed time period in the Gregorian calendar, even their dates may shift every year. The detection of this shifting effect on the sales levels would not be a simple task for the firms employing classical forecasting methods. Because many classical forecasting methods handle the time-series data with one seasonal character over the calendar in use. Correspondingly, with these naive methods, the sales forecasts would not be done effectively and accurately.

The main purpose of this work is to develop a new method for the situations where the effect of two asynchronous calendars -such as Gregorian and Hijri or Gregorian and Lunar- manifest themselves in the time-series simultaneously. To this end, we extend the work of Winters (Citation1960) by incorporating a component that captures the second calendar effect. We also propose a guideline to determine the initial values of the parameters in our model. Lastly, we compare the performance of our new method with Winter’s (Winters, Citation1960), TBAT (De Livera, Hyndman, & Snyder, Citation2011), ETS (Hyndman, Koehler, Snyder, & Grose, Citation2002), and ARIMA (Hyndman & Khandakar, Citation2008) models, using a real dataset from a brewery in Turkey. To the best of our knowledge, this is the first attempt to introduce an adapted version of Winter’s method which recognize the effect of two asynchronous calendars simultaneously.

The rest of this work is organized as follows. In Section 2, we provide a detailed literature review on the forecasting methods that are close to our work. In Section 3, we briefly review the work of Winters (Citation1960) and provide a discussion regarding the details of our new method. Besides that, in the same section, we propose a guideline for the choice of the smoothing parameters and initialization procedure. In Section 4, by using a case study at a major brewery in Turkey, we compare the forecasting performance of our new method with several well-known forecasting methods. Lastly, in Section 5, we summarize our results and main findings and give some suggestions for future research directions.

2. Literature review

The literature on the exponential smoothing forecasting methods is abundant. For the sake of clarity, we only restrict our attention to the ones relevant to our work. For further details on this research stream, we refer the reader to the review papers by Gardner (Citation1985), Chatfield, Koehler, Ord, and Snyder (Citation2001), Gardner (Citation2006), and Syntetos, Boylan, and Disney (Citation2009).

As one of the early studies in this research stream, Holt (Citation2004) extends simple exponential smoothing to double exponential smoothing by introducing a linear trend component. Basically, with this extended method, the author combines the concept of exponential smoothing with the ability to track a linear trend in the dataset. On the other hand, Holt's method cannot track the series having any seasonal fluctuations. To deal with this problematic issue, Winters (Citation1960) develops an elaboration of Holt's method. In that new model, a third equation is added to Holt's method to capture the seasonal dynamics of the data. Pegels (Citation1969) provides an extension to these two methods, taking into account all combinations of trend and seasonal effects in additive and multiplicative forms. Brown (Citation2004) introduces a new forecasting technique by integrating the exponential smoothing model with regressors whose coefficients are time varying. Newbold and Granger (Citation1974) compare the forecasting performance of Box–Jenkins, Winter's, and step-wise regression methods using seven different time series. While conducting this comparison, the parameters being used in the forecasting methods are determined by the authors' own software. Chatfield (Citation1978) reanalyzes the same seven series by using some subjective parameter adjustments. The author indicates that the computerized Winters forecasts can often be improved by subjective parameter adjustments and it would be much fairer if a comparison between Box–Jenkins and non-computerized Winter's methods is done. Chatfield and Yar (Citation1988) discuss several problems being observed while implementing Winter's method, e.g. the choice of smoothing parameters and starting values, the normalization of seasonal indices and so on.

Although there is a vast literature on the detection of single-sourced seasonal fluctuations in a given calendar system, only a few papers attempt to address the joint effects of more than one calendar. Riazuddin et al. (Citation2002) extend the classical ARIMA model to handle the effects of the Hijri calendar on the currency circulation in Pakistan. In that new model, the authors represent the second calendar effects with a set of dummy variables. With a similar technique, Yucel (Citation2005) examines the effects of Ramadan on food prices in Turkey. Akmal et al. (Citation2010) deal with how the changes in the consumer price index in Pakistan are affected by the existence of Ramadan. The authors emphasize that the effect of Ramadan on the consumer price index cannot be determined properly by using ARIMA models because of the data recording norms and inconsistency between the Hijri and Gregorian calendars. They attempt to cope with this problematic issue by conducting a scenario analysis based on three different datasets. Besides these studies, Lin et al. (Citation2002), Seyyed, Abraham, and Al-Hajji (Citation2005), and Rao et al. (Citation2011) attempt to extend the classical ARIMA model to capture a second calendar effect being observed in time series.

Furthermore, De Livera et al. (Citation2011) introduce a state space model for forecasting complex seasonal time series such as those with multiple seasonal periods, non-integer seasonality, and dual calendar effects. However, this model is overly complex with ARIMA error correction and Fourier representations of time varying coefficients. Due to this complexity, it is not easy to use that methodology for regular forecasting purposes. A similar solid statistical background is also used in a number of existing studies (e.g. Gould et al., Citation2008; Taylor, Citation2003, Citation2010; Taylor & Snyder, Citation2012; Tratar, Mojškerc, & Toman, Citation2016) which deal with exponential smoothing models to capture multiple seasonality patterns occurring due to an other calendar that is used out of the official calendar. Computational complexity, over parameterization, and/or the inability to accommodate both non-integer period and dual calendar effects can be attributed as the weakness of these models.

In supply chain management, in order to manage inventory levels that provide an acceptable level of service to customers, the demand forecasting is required on a regular basis for a very large number of products (Hyndman et al., Citation2002). The methods should, therefore, satisfy the requirements of being fast, flexible, user-friendly, and they are able to produce results, which are reliable, efficient, and easy to interpret by the user with a lack of advanced statistical knowledge. However, the conducted literature review shows that none of the existing studies satisfies both of these dimensions when the dual calendar effect comes into play in time series. Most of them are generally too complex to use in practice or they are not sufficient to capture the simultaneous effects of two asynchronous calendars.

To address this issue, we extend the work of Winters (Citation1960) in a way that it can recognize the seasonalities being emerged in time series due to asynchronous calendars. The method that we develop in this study can be easily implemented in an Excel spreadsheet or a Matlab m-file. The optimization routines for the choice of parameters usually take a few seconds so the method facilitates the real-time analysis and forecasting of two seasonal patterns even though one of them originates from the second calendar. As well as ease of use, we believe that this contribution could have an impact on many forecasting settings in which the demand is shaped by the climate seasonality and cultural seasonality of the market.

3. Forecasting methods

In the following sections, we first review Winter's methods, and then, give the details of our new method.

3.1. Winter's method (WM)

Winters' method is a type of triple exponential smoothing and it is efficient when the dataset exhibits seasonal fluctuations and an increasing or decreasing linear trend over time. The most important advantage of this method is that it easy to update seasonal factors as new datasets become available (Nahmias & Cheng, Citation2009). The four equations that define this forecasting method are: (1) Level estimate: S t = α D t / c t N + ( 1 α ) ( S t 1 G t 1 ) , (1) (2) Trend estimate: G t = β S t S t 1 + ( 1 β ) G t 1 , (2) (3) Seasonal estimate: c t = γ ( D t / S t ) + ( 1 γ ) c t N , (3) (4) Forecast for  τ  periods ahead: F t , t + τ = ( S t + G t τ ) c t + τ N , (4) where γ is a smoothing factor for the seasonality. α and β are smoothing factors for the level and trend, respectively. Also, t is an index denoting the time. The smoothing parameters denoting by α, β and γ are typically determined by minimizing an error measure of the fit, e.g. mean square error (MSE), mean absolute deviation (MAD) or mean absolute percentage error (MAPE). In practice, it has been using various advanced methods for choosing the smoothing and initialization parameters, e.g. Kalman filter, maximum likelihood estimation, and regression-based approaches. For a further detailed discussion on this subject, we refer the reader to the work of Hyndman, Koehler, Ord, and Snyder (Citation2008).

3.2. Augmented Winter's method (AWM)

Winter's method allows the incorporation of seasonalities into forecasts. The assumption for this method is that there is a number of periods N, for a given i = 1 , 2 , , N the elements of set { i + k N | k N } , show the same seasonal calendar character. Hence, the same seasonality factor comes into play every N periods. Typically, demand seasonalities are in synch with the Gregorian calendar. Temperature variations within the year specify the times for change of collections in the fashion industry due to their inherent effect in the demand pattern. The sales of ice cream or cold beverages are the most well-known examples for this situation, since they are designed to be consumed more when ambient temperature is higher. Similarly, there is additional demand for many types of good in well-known periods of the year due to festivities and accompanying gift-exchange traditions. All these phenomena with pronounced effect on demand patterns happen at the same period, each year. Hence, they can be captured within the framework of Winter's.

Winter's method suggests solution to handle time-series data with one seasonal character over the calendar in use. For this reason, there is a problem when two different calendars that are not synchronized come into play. The most prominent example of this is the asynchronization between the Gregorian and the Hijri calendars. With the influence of globalization as well as nature, these two calendars exert their influences simultaneously in many countries. The Gregorian calendar captures the rhythm of seasons in nature as well as the rhythm of – now global – festivities such as the New Year. In such a situation, there is a number of periods N 1 , for a given i = 1 , 2 , , N 1 the elements of set { i + k N 1 | k N } , show same seasonal primary calendar behavior. However, in Muslim countries (as in the example of Turkey), Islamic traditions also have profound effect in demand patterns. For instance, during the month of Ramadan, Muslims fast and their eating patterns are different to those during the rest of the year. Of particular significance is that alcohol consumption significantly drops during this month and soft beverage consumption shows an opposite characters. In this setting, the seasonality over the secondary calendar also comes into play every N 2 periods.

To capture simultaneous effects of two asynchronous calendars, we propose a new approach which we name as the Augmented Winter's method. In this methodology, we treat the data as a time series with multiple layers of seasonality in play. There is underlying linear model in the spirit of Holt. Then, the layer of first calendar seasonality is added just like in Winter. Finally, the new layer of second calendar seasonality is placed again via a multiplicative factor. In order to dynamically estimate the factors involved, we need to peel the data layer by layer.

In this method, we use two sets of seasonal factors to forecast the time series in a given period. The forecasting periods are according to the first calendar (Gregorian). The main difficulty is that the months of the two calendars do not usually coincide. For example, the month of Ramadan of Islamic calendar usually occurs at two consecutive months of the Gregorian calendar. Moreover, the number of days of Ramadan in each of these Gregorian months varies from year to year. Therefore, the new methodology has to partition the effect of Islamic calendar months to the specific Gregorian month. To address this issue, we postulate that the effect of secondary calendar months is distributed between the primary calendar months in proportion with the number of secondary calendar month days within each month.

Now, we can proceed to the process of peeling the second calendar effects out of the time series using the following equation: (5) R t = i = 1 N 2 D t h i t k i , (5) where h i t is the ratio of i th secondary calendar month days in t th primary calendar month to the total number of i th primary calendar days, and k i is the coefficient for the i th secondary calendar month. Actual observation in period t is denoted by D t whereas N 2 stands for the seasonality length of second calendar. We should also note that (6) t = 1 N 1 h i t d t p = d i s , (6) (7) i = 1 N 2 h i t = 1 , (7) where d t p is the number of primary calendar days in the t th primary calendar month and d i s is the number of secondary calendar days in the t th primary calendar month. In addition, seasonality length for primary calendar is denoted by N 1 . The above equations imply that the days of i th secondary calendar month are distributed on the primary calendar months with respect to the number of overlapped days within each month.

The smoothing factor for the secondary calendar seasonality is described by the following equation: (8) k i = ρ j S R h i j D j j S R h i j R j + 1 ρ k i where  S R = j | h i j > 0 . (8) k i is the un-updated coefficient for the i th secondary calendar month and k i is the updated coefficient for the i th secondary calendar month. When the new data is available, k i is updated based on the secondary calendar smoothing factor ρ , where  0 ρ 1 .

Also, all of secondary calendar month factors are normalized so that their weighted averages are 1. The normalizing equation is explicitly expressed as follows: (9) i = 1 N 2 k i N 2 = 1. (9) Once the effect of the second calendar is taken out, the first calendar seasonalities are updated with (10) c t = γ R t S t + 1 γ c t N 1 , (10) where γ is primary calendar seasonality smoothing factor.

Moreover, the sum of any N 1 successive seasonal factors should always be N 1 . In other words, after estimating each seasonal factor, it is normalized with the most recent seasonal factors by using (11) c j = c j i = t N 1 + 1 t c i N 1 where  t N 1 + 1 j t . (11) The fully deseasonalized series is now used to update level and trend estimates: (12) S t = α R t c t N 1 + 1 α S t 1 + G t 1 , (12) where α is smoothing factor for the level.

The new estimate of the trend component is simply defined as a smoothed sum of difference between two consecutive estimations of the deseasonalized level and the preceding trend estimate. Formally, it is: (13) G t = β S t S t 1 + 1 β G t 1 , (13) where 0 β 1 is the trend smoothing constant, which determines the relative weight placed on the current estimation of the trend.

Lastly, the forecast made in period t for any future period t + τ is given by the following equation: (14) F t , t + 1 = S t + G t c t i = 1 N 2 k i h i t . (14) For this new method, we propose the following initialization procedure. First of all, a minimum of two full seasons ( 2 N 1 periods) of historical data is required to initialize a set of seasonal factors. Then, we follow the procedure given below:

(1)

Calculate the sample means for the two separate seasons of data with, (15) V 1 = 1 N j = 2 N 1 + 1 N 1 D j , (15) (16) V 2 = 1 N j = N 1 + 1 0 D j , (16) where the present period is t = 0 , and the past observations are identified by negative indices.

(2)

Estimate the initial slope G 0 and the level of the series S 0 with (17) G 0 = ( V 2 V 1 ) N 1 , (17) (18) S 0 = V 2 + G 0 N 1 1 2 . (18)

(3)

The raw seasonal indices are estimated for each initialization period as follows: (19) c ˆ t = D t V i N 1 + 1 2 j G 0 , where  2 N 1 + 1 t 0 , i = 1 , 2. (19)

Note that our raw estimates reflect the joint effects of the seasonalities of two asynchronous calendars. Hence, we need a more sophisticated approach to decompose the effect of each calendar's seasonality. Our suggestion for this problem is to solve the nonlinear least-square formulation given below: (20) min t = 2 N 1 + 1 N 1 c ˆ t c t + N 1 i = 1 N 2 h i t k i 2 + t = N 1 + 1 0 c ˆ t c t i = 1 N 2 h i t k i 2 , (20) where c t ( i = 1 N 2 h i t k i ) is the joint seasonal factor for period t of the second part of initialization set whereas c t + N 1 ( i = 1 N 2 h i t k i ) is the joint seasonal factor for the same period t of the first part of initialization set. With the equation given above, a proper set of seasonality factors and coefficients may not be obtained due to the fact that the solution of the nonlinear least square can yield negative values. In order to address this issue, the following constraints must be considered while solving the nonlinear least-square formulation: (21) t = 1 N 1 c t = N 1 , (21) (22) i = 1 N 2 k i = N 2 , (22) (23) c t > 0 where  { 1 , 2 , , N 1 } , (23) (24) k i > 0 where  i { 1 , 2 , , N 2 } . (24) The above constraints imply the normality and positivity conditions on the factors. To minimize the above non-linear problem, one can use an off-the-shelf optimization software such as MATLAB, Python, or AIMMS.

3.3. An extension for augmented Winter's method

The flexible structure of the new method allows us to treat the effects of secondary calendar months separately, as well as giving an opportunity to examine the secondary calendar effect in a special structure such as a particular month and the others. In some cases, there might be only the effect of a single secondary calendar month on the actual data which is collected according to primary calendar. The Ramadan can be given as an example for this situation. In most of the Muslim countries, consumption habits are distinguishably affected due the holy Ramadan whereas the other months of Hijri calendar do not have a significant effect on the consumers. As a result of this fact, in a given dataset which is collected from this market structure, we might only see the effect of Ramadan. In such a case, the months can be grouped as Ramadan and Non-Ramadan ones. Hence, there will be only two seasonal factors for the second calendar effect, and they are denoted by k r and k o . k r is the coefficient for Ramadan months whereas k o is the coefficient for Non-Ramadan months.

In this context, Equation stated in (Equation5) is rephrased as follows: (25) R t = D t k r r t + D t k o o t , (25) where r t ratio of Ramadan days in the current forecast period and o t ratio of Non-Ramadan days in the current forecast period.

By considering this modification, updating Equation (Equation8) is revised and denoted as (26) k r = ρ i S R r i D i i S R r i R i + ( 1 ρ ) k r where  0 ρ 1  and  S R = { i | r i > 0 } , (26) where k r is the updated coefficient for the Ramadan month and k r is un-updated coefficient for the Ramadan month.

For the Non-Ramadan month, the equation will be (27) k o = ρ i S R o i D i i S R o i R i + ( 1 ρ ) k o where  0 ρ 1  and  S R = { i | r i > 0 } , (27) where k 0 is the updated coefficient for the Non-Ramadan month and k o is un-updated coefficient for the Non-Ramadan month.

Also, these two coefficients are normalized by using the following equation: (28) 11 k o + k r = 12. (28) In such a case, the estimates for level, trend and the first calendar seasonalities remain same as defined in the previous section. The forecast equation in (Equation14) is also adjusted as (29) F t , t + τ = ( S t + τ G t ) c t ( o t + τ k o + r t + τ k r ) . (29) The nonlinear least-square equation (Equation20) for the initialization procedure is re-defined by considering these modifications. (30) min t = 2 N 1 + 1 N 1 c ˆ t c t + 12 o t k o + r t k r 2 + t = N 1 + 1 0 c ˆ t c t o t k o + r t k r 2 (30)

4. Numerical results

In this section, we first describe the characteristics of our dataset, with a set of descriptive statistics. After that, using the dataset we have, we provide a comparative performance analysis between our model and Winter's, TBAT, ETS, and ARIMA models.

4.1. Dataset

This paper is motivated by a project undertaken at an important beer producer in Turkey. Their products are categorized in three dimensions: brand, package type, and package size. At the time of the study, a total of twelve beer brands are available in the Turkish market. These brands are on the market in three different packages (returnable bottle, non-returnable bottle, and can) and two sizes (35cc, 50cc). But, in this study we restrict our attention to only a specific returnable bottled beer which is the producer's bestselling product.

Our dataset consists of exactly 72 data points being collected between January 2008 and December 2013. The overall average and standard deviation of the monthly sales amounts are 8,601,398 and 5,395,557, respectively. In , we present a line graph illustrating all data points in this dataset.

Figure 1. Monthly sales series.

Figure 1. Monthly sales series.

Three striking features of the sales data immediately come to light in . First, there is an upward linear trend in the sales amounts from January 2008 to March 2012. Second, over the entire 12-month periods, the sales amounts show seasonal fluctuations with consistent peaks in summer months and declines in Ramadan (lighter colored markers). At the beginning of 2010, this product is relaunched with a new brand identity and a new bottle on the Turkish market. Besides that, the company has started a new price positioning for the product and supported it with intensive advertisements and sponsorship activities. Lastly, as a result of these efforts, a linear upward trend in the sales amounts after February 2010 has emerged. Furthermore, from , it is seen that the average sales amount of the first 2 years, 2008 and 2009 are less than the average sales amount of the last 4 years, 2010, 2011, 2012 and 2013.

All of these observations are also confirmed with Figure () which separately depicts the monthly sales series for each year. The figure shows that the effect of Ramadan does not manifest itself in a single month of the Gregorian calendar (lighter colored markers are again Ramadan months). The lines connecting the months within the same year are parallel to each other. From this observation, we can infer that the average sales amount for each year is higher than the previous one. This means the existence of a linear upward trend in the dataset. Furthermore, from the figure, it is observed that the beer sales volumes exhibit a seasonal pattern. The patterns are obviously recurrent and consistent from year to year.

Figure 2. Yearly sales series.

Figure 2. Yearly sales series.

4.2. Comparative performance analysis

Using the dataset introduced in the previous section, we compare the forecasting performance of our method with Winter's, ARIMA, TBAT, and ETS models.

We implement Winter's and ARIMA forecasting methods by using packages “forecast.HoltWinters” and ‘auto.arima’ in R. These two packages were developed by Hyndman et al. (Citation2019). The model parameters are automatically determined by the corresponding package.

TBAT model is introduced by De Livera et al. (Citation2011) for forecasting complex seasonal time series such as those with multiple seasonal periods, high-frequency seasonality, and dual-calendar effects. For more detailed information about the method, we refer the reader to the work of De Livera et al. (Citation2011). The method is implemented by employing an R package called “forecast.tbats” (Hyndman et al., Citation2019). All corresponding parameters are determined by the package itself with a criterion of minimum AIC.

ETS model is proposed by Hyndman et al. (Citation2002). This model is developed on a state space framework that includes all the exponential smoothing models and allows the computation of prediction intervals, likelihood, and model selection criteria. Hyndman et al. (Citation2019) provide a full implementation of the model in an R Package called “forecast.ets”. We use this package to implement the model and let the package determines all the model parameters automatically with a criterion of minimum AIC.

We implement our new method in MATLAB and set the smoothing parameters α , β , γ , and ρ with a criterion of minimum mean square error. To obtain the initial seasonal indices c i and the second calendar effects k o and  k r , we solve Equation (Equation30) by employing the nonlinear least-squares optimization routine in MATLAB. In addition to the Ramadan factor, the effects of different Hijri months, like Muharram, Shawwal, and Dhul-Hajj, can also manifest itself in the Turkish beer market since Islamic societies in Turkey have many differences in the observance of festivities and mourning. This phenomenon has been controlled by having several extra models, and it has been observed that the effects of these months in the market are not as significant as Ramadan. Therefore, the models including the effects of different Hijri months are not given in this study. Due to this setting, we are not going to treat the months' of the second (Islamic) calendar separately, but we are going to classify them as Ramadan and the others.

We utilize the dataset by dividing it into two parts: (1) training set that covers the data points between January 2008 and December 2009 and (2) test set that covers the data points between January 2010 and December 2013. The training set is only used to determine the models' forecasting parameters. The model parameters we obtain with the training set is given in .

Table 1. The parameters of the models, obtained over the training set.

The test set is only used to provide a comparative performance analysis of the models fitted based on the training dataset. To this end, we define two accuracy measures: (1) Mean Squared Error (MSE), (31) MSE = 1 n t = 1 n ( D t F t ) 2 , (31) and (2) Mean Absolute Deviation (MAD), (32) MAD = 1 n t = 1 n D t F t , (32) where D t is the actual observation and F t is the forecast obtained from a given method. Besides these two measures, for each model, the maximum error and square root of MSE are calculated. Winter's Method (WM) is used as a benchmark, and the relative change is defined by the following equation: (33) % Change = Measure for forecasting method Measure for WM Measure for WM 100. (33) A positive value in % Change implies that the benchmark method (WM) performs better than the compared method whereas a negative value signifies an improvement compared to WM.

Considering one-step-ahead forecasts, the accuracy measures of three forecasting methods are given in . These measures are calculated only over the test set. Besides that, Figure (a–e) are depicted in order to give a visual impression about the performance of the forecasting methods. Each of these figures illustrates the actual data points in the test set, the fitted values obtained with the corresponding forecast model whose parameters determined based on the training set, and the corresponding residuals.

Figure 3. Actual-Fitted-Residual graphs obtained by using the corresponding forecasting method: (a) WM, (b) AWM, (c) ETS, (d) ARIMA and (e) TBAT.

Figure 3. Actual-Fitted-Residual graphs obtained by using the corresponding forecasting method: (a) WM, (b) AWM, (c) ETS, (d) ARIMA and (e) TBAT.

Table 2. Accuracy measures obtained over the test set.

The results show that in terms of all considered accuracy measures, ETS and ARIMA models are inferior to other ones. This is due to the fact that both models need a larger training dataset to capture the seasonal patterns, trend, and level in the dataset. On the other hand, the results reveal that AWM improves all considered accuracy measures when compared to WM. Our new method leads to a reduction in MSE and MAD of 98.22% and 85.83%, respectively. With the use of AWM, a significant improvement in the maximum error is also achieved, i.e. it is reduced by 86.66%. Although TBAT has successful results compared to WM, it is inferior to AWM in terms of all performance measures. TBAT leads to a 70.06% reduction in MSE whereas it reduces the maximum error by 31.71%. As it is understood from the results, our new method is capable of capturing the shifting second calendar effect, as well as the first calendar effect. Hence, it generates superior results compared to the others.

5. Conclusion

The method of Winters (Citation1960) is one of the most well-known forecasting methodologies in practice. The main reason behind its popularity is that it is easy to implement and can give quite effective and efficient results for practice purposes. The method is capable of capturing a linear upward or downward trend in the data, as well as a cyclic seasonal factor originating from the calendar in use. However, it is not efficient at capturing a pattern being emerged due to the simultaneous effects of two different asynchronous calendars, such as Gregorian and Islamic (Hijri). We adapt this method in a way that it can accommodate the effects of two different asynchronous calendars. This adapted method, which is called Augmented Winters Method (AWM), involves an additional seasonal index, and an extra smoothing equation for the new seasonal index.

In order to illustrate the performance of our new forecasting method, a real life time series, which is provided by a leading beer factory in Turkey, is utilized. The performance of the new method is also compared with Winter's, ARIMA, ETS, and TBAT models. Our results show that ETS, ARIMA, and TBAT models are inferior to AWM. This can be attributed to the fact that they need a larger training dataset to capture the seasonal, trend, and level parameters properly and/or are a type of over-parameterized model. The results also reveal that in terms of all considered accuracy measures, our new method performs better than WM. This is mainly due to the fact that WM does not capture the second calendar effect very well.

This study can be extended in several ways. We determine the initial parameters for our new method by using a very naive method. The initialization procedure we use in this study can be improved with machine learning and artificial intelligence techniques. The forecasts to be obtained with such techniques, most probably, would be more accurate and effective and the true power of the proposed model would be better reflected. This is left for future work. The method we proposed in this study is implemented to a single dataset since we could not find any other dataset where two asynchronous calendars' effects are observed. Observing the performance of the new method over the different datasets would definitely be better for the generalization of our results.

Acknowledgments

We would like to thank the reviewers for their constructive feedback that helped us to improve the manuscript.

Disclosure statement

No potential conflict of interest was reported by the author(s).

References

  • Akmal, M. , & Abbasi, M. U. , et al. (2010). Ramadan effect on price movements: Evidence from Pakistan (Technical report). State Bank of Pakistan, Research Department.
  • Brown, R. G. (2004). Smoothing, forecasting and prediction of discrete time series. New York, NY: Courier Corporation.
  • Chatfield, C. (1978). The Holt-Winters forecasting procedure. Applied Statistics , 27 (3), 264–279.
  • Chatfield, C. , Koehler, A. B. , Ord, J. K. , & Snyder, R. D. (2001). A new look at models for exponential smoothing. Journal of the Royal Statistical Society: Series D (The Statistician) , 50 (2), 147–159.
  • Chatfield, C. , & Yar, M. (1988). Holt-Winters forecasting: Some practical issues. The Statistician , 37 (2), 129–140.
  • De Livera, A. M. , Hyndman, R. J. , & Snyder, R. D. (2011). Forecasting time series with complex seasonal patterns using exponential smoothing. Journal of the American Statistical Association , 106 (496), 1513–1527.
  • Gardner, Jr., E. S. (1985). Exponential smoothing: The state of the art. Journal of Forecasting , 4 (1), 1–28.
  • Gardner, Jr., E. S. (2006). Exponential smoothing: The state of the art–Part II. International Journal of Forecasting , 22 (4), 637–666.
  • Gould, P. G. , Koehler, A. B. , Ord, J. K. , Snyder, R. D. , Hyndman, R. J. , & Vahid-Araghi, F. (2008). Forecasting time series with multiple seasonal patterns. European Journal of Operational Research , 191 (1), 207–222.
  • Holt, C. C. (2004). Forecasting seasonals and trends by exponentially weighted moving averages. International Journal of Forecasting , 20 (1), 5–10.
  • Hyndman, R. , Koehler, A. B. , Ord, J. K. , & Snyder, R. D. (2008). Forecasting with exponential smoothing: The state space approach . Berlin: Springer Science & Business Media.
  • Hyndman, R. J. , Athanasopoulos, G. , Bergmeir, C. , Caceres, G. , Chhay, L. , O'Hara-Wild, M. , … Wang, E. (2019). Package “forecast”. Online. Retrieved from https://cran.r-project.org/web/packages/forecast/forecast.pdf.
  • Hyndman, R. J. , & Khandakar, Y. (2008). Automatic time series forecasting: The forecast package for R. Journal of Statistical Software , 27 (3), 1–22.
  • Hyndman, R. J. , Koehler, A. B. , Snyder, R. D. , & Grose, S. (2002). A state space framework for automatic forecasting using exponential smoothing methods. International Journal of Forecasting , 18 (3), 439–454.
  • Lin, J.-L. , & Liu, T.-S. , et al. (2002). Modeling lunar calendar holiday effects in Taiwan. Taiwan Economic Forecast and Policy , 33 (1), 1–37.
  • Nahmias, S. , & Cheng, Y. (2009). Production and operations analysis . California, CA: McGraw-Hill New York.
  • Newbold, P. , & Granger, C. W. (1974). Experience with forecasting univariate time series and the combination of forecasts. Journal of the Royal Statistical Society. Series A (General) , 137 (2), 131–165.
  • Pegels, C. C. (1969). Exponential forecasting: Some new variations. Management Science , 15 (5), 311–315.
  • Rao, N. H. , Bukhari, S. K. H. , & Jalil, A. , et al. (2011). Detection and forecasting of Islamic calendar effects in time series data: Revisited (Technical report).
  • Riazuddin, R. , et al. (2002). Detection and forecasting of Islamic calendar effects in time series data (Technical report). State Bank of Pakistan, Research Department.
  • Seyyed, F. J. , Abraham, A. , & Al-Hajji, M. (2005). Seasonality in stock returns and volatility: The Ramadan effect. Research in International Business and Finance , 19 (3), 374–383.
  • Syntetos, A. A. , Boylan, J. E. , & Disney, S. M. (2009). Forecasting for inventory planning: A 50-year review. Journal of the Operational Research Society , 60 (sup1), S149–S160.
  • Taylor, J. W. (2003). Short-term electricity demand forecasting using double seasonal exponential smoothing. Journal of the Operational Research Society , 54 (8), 799–805.
  • Taylor, J. W. (2010). Triple seasonal methods for short-term electricity demand forecasting. European Journal of Operational Research , 204 (1), 139–152.
  • Taylor, J. W. , & Snyder, R. D. (2012). Forecasting intraday time series with multiple seasonal cycles using parsimonious seasonal exponential smoothing. Omega , 40 (6), 748–757.
  • The Nielsen Company (2015, July). The Ramadan effect – reflecting on food consumption in United Arab Emirates and Saudi Arabia (Technical report).
  • Tratar, L. F. , Mojškerc, B. , & Toman, A. (2016). Demand forecasting with four-parameter exponential smoothing. International Journal of Production Economics , 181 , 162–173.
  • Winters, P. R. (1960). Forecasting sales by exponentially weighted moving averages. Management Science , 6 (3), 324–342.
  • Yucel, E. M. (2005). Does Ramadan have any effect on food prices: A dual-calendar perspective on the Turkish data (Technical report).