Está en la página 1de 11

American Journal of Potato Research

https://doi.org/10.1007/s12230-020-09788-y

Potato Price Forecasting with Holt-Winters and ARIMA Methods: A


Case Study
Mehmet Arif Şahinli 1

# The Potato Association of America 2020

Abstract
In this paper, the first study using exponential smoothing methods and the Box-Jenkins method for forecasting consumer potato
prices in Turkey is conducted. The exponential smoothing methods include the Holt-Winters multiplicative (HWM) method and
the Holt-Winters additive (HWA) method. This study explores the application of the Holt-Winters approach to time series data of
consumer potato prices covering the period from January 1st, 2005 to July 31st, 2019. The data were obtained from the database
of the Turkish Statistical Institute. The paper explores and forecasts the trend of potato prices from August to December 2019.
The results illustrate that the ARIMA method achieves good consumer potato price forecasting accuracy according to the mean
absolute percentage error (MAPE), the root mean square error (RMSE) and the mean absolute deviation (MAD). As a result, the
forecasted values from August 2019 to December 2019 are calculated in this paper via these methods.

Resumen
En este artículo, se condujo el primer estudio utilizando métodos de suavización exponencial simple y de cuadro de Jenkins para
predecir los precios de la papa al consumidor en Turquía. Los métodos de suavización exponencial incluyen el de multiplicación
(HWM) y el aditivo de Holt-Winters (HWA). Este estudio explora la aplicación del enfoque de Holt-Winters a datos seriados en
el tiempo de precios de papa al consumidor, cubriendo el período de enero 1, 2005, a julio 31, 2019. Los datos se obtuvieron de la
base de datos del Instituto Turco de Estadística. El artículo explora y predice la tendencia de los precios de la papa de agosto a
diciembre de 2019. Los resultados ilustran que el método ARIMA logra buena precisión en la predicción del precio de la papa al
consumidor de acuerdo con la media del porcentaje absoluto del error (MAPE), la raíz del cuadrado medio del error (RMSE) y la
media de la desviación absoluta (MAD). Como resultado, se calculan los valores predichos de agosto de 2019 a diciembre de
2019 en este artículo por vía de estos métodos.

Keywords Exponential smoothing methods . Box-Jenkins method . Forecast accuracy . Potato prices . Turkey

Introduction For instance, in 2018, the potato production was lower than
that of the previous year (total production volume of
In 2018, the potato production in Turkey was estimated to be 4.801.393 metric tonnes). Comparing the years 2017 and
4.550.493 metric tonnes. The domestic consumption of pota- 2018, the production volume of potatoes decreased by
toes occurred through home meals and fast-food. The demand 5.23%. Its consumer price ratio was up to 59.3% (Turkstat
and supply of potatoes relies on various factors such as polit- 2019).
ical, economic and environmental (meteorological) factors. Therefore, it is a significant crop, especially since it also
Moreover, the potato price in Turkey changes, especially be- provides raw materials for the agricultural and food industries.
tween the fall and winter seasons, that is, its price exhibits However, there is no effective organization in charge of the
steady behaviors related to the trend and seasonal fluctuations. production and marketing of potatoes in Turkey. The potato
price in Turkey is determined by the free market conditions
that depend on the supply. Because of this fact, potato pro-
* Mehmet Arif Şahinli ducers often face significant uncertainties related to the price
asahinli@ankara.edu.tr
of their potato production (Erdal et al. 2009).
1 Consumer prices are crucial elements of macroeconomic
Faculty of Agriculture, Department of Agricultural Economics,
Ankara University, 06110 Ankara, Turkey indicators because households in an economy follow these
Am. J. Potato Res.

indicators. The fluctuations in the potato price have a signifi- were taken from the monthly time series from January 1st,
cant effect not only on consumers but also on the food indus- 2005 to July 31st, 2019; thus, the total number of observations
try. The Turkish government can play an important role in is n = 175.
trying to maintain stability in potato production and prices
by implementing suitable policies. Thus, an exact and accurate Forecasting Methods
forecasting strategy for potato prices and production via a
forecasting technique is necessary to assist the government’s In recent times, forecasting methods have been steadily in-
decision-making for subsequent months. creasingly used by researchers. Specifically, some popular
As recognized in present times, time series data analysis forecasting analysis methods are exponential smoothing
has been an increasingly more important subject in various methods, the Box-Jenkins ARIMA model, the Grey forecast-
research areas such as economics, agricultural economics, ing model and others. The ARIMA model has been imple-
econometrics, business, psychology, engineering, social sci- mented in different areas, such as in different demand estima-
ences and so on. This paper applies time series analysis to tions. The exponential smoothing methods have been applied
assess the trend of the Republic of Turkey’s potato prices on to estimating production, prices and other areas. That is, both
a monthly basis over the period from 2005 to 2019. The trend of them have been contributing to the field of forecasting.
analysis of potato prices over time is crucial due to the pro- These methods have their own strengths and weaknesses. In
found influence this indicator has on agricultural commodity this study, the potato prices are fitted with the Holt-Winters
prices. The aim of this paper is to forecast the trend of potato Smoothing Method and the Box-Jenkins ARIMA modeling
prices for 2019, as well as analyze the results of the extrapo- approach and then the performances of these methods in fore-
lated prices gained by using the Holt-Winters and Box- casting the future values of the series are compared. This is
Jenkins methods. done because each of them has performed better at forecasting
The Turkish Statistical Office’s (Turkstat) database was compared to the other complicated approximations.
used to obtain the data. The Holt-Winters smoothing method Moreover, these methods are relatively simple but robust ap-
was used as the time series method to analyze the forecast of proaches for forecasting data. The mentioned approaches are
the trend of the consumer potato price variables during the introduced as follows.
study period. The EViews 10 Econometrics package was used
for the research analysis. The forecasting analysis for potatoes Holt-Winters Smoothing Method
occurs for the period from January to December 2019.
The first part of this paper provides an overview of the The Holt-Winters method was used to analyze this time series.
literature about potato price trends and their importance for a The following calculations and models were created using the
Turkish agricultural sector. The second and third parts present Eviews 10 Econometrics Package. There are different
the research methodology used in the paper. The author ex- methods used in time series analysis but this paper uses the
plains the Holt-Winters smoothing method and emphasizes Holt-Winters smoothing method. If there are both trend and
the additive and multiplicative methods and Box-Jenkins seasonal patterns in data, the Seasonal Holt-Winters smooth-
method. Finally, the last part contains the empirical results ing method is used for forecasting the values.
of the conducted research. In theory, the trend is defined in three ways: the first is
linear, the second is exponential and the last is damped. We
can define a linear trend as an increase or decrease by an equal
Materials and Methods absolute amount from one period to another. An exponential
trend is an increase or decrease by an equal relative amount
The study particularly tested the Holt-Winters multiplicative from one period to another. A damped trend is defined as a
(HWM), the Holt-Winters additive (HWA) and Box-Jenkins combination of linear and exponential trend behaviors.
autoregressive moving average (ARIMA) methods. By using Seasonality is explained as a repeating behavior, such as every
these approaches, the major contributions of my paper are as “Sth” period (Mladenović et al. 2016). Holt (2004), Kalekar
follows: a) to investigate the effects of the initial trend values (2004), and Montgomery et al. (2008) mentioned that the
on forecasting accuracy and b) to find the best fit forecasting Holt-Winters methods can be used for forecasting time series
results that are obtained by comparing these methods. data that have both trend and seasonal patterns.
In theory, there are two models that are Holt-Winters
Input Data models: the multiplicative and additive models. The Holt-
Winters additive model (HWA) implies the kind of forecast
In this study, the input data were taken from the Turkish where an increase in the expected seasonal amount of a certain
Statistical Institute database, and these data include consumer phenomenon is added to the annual average. The Holt-
price indexes (CPIs) and commodity prices. Observations Winters multiplicative model (HWM) involves a relative
Am. J. Potato Res.

change of the analyzed variable that increases if the absolute The HWM method’s initial values are as follows:
amount of this variable is greater, and the opposite also holds.
In additive models, the series show stable seasonal fluctua- Ln ¼ ðX 1 þ X 2 þ … þ X n Þ=n ð13Þ
tions, notwithstanding a general level of time series trends. Xi
Si ¼ ð14Þ
For a multiplicative model, the seasonal fluctuation amount Ln
varies depending on the general series level (Mladenović et al. b1 ¼ ðX n −X 1 Þ=ðn−1Þ ð15Þ
2016).
The HWA model is shown in eqs. (1) to (4). A seasonal b1 ¼ X 2 −X 1 ð16Þ
equation is added to Holt’s linear method equations: b1 ¼ ½ðX 2 −X 1 Þ þ ðX 3 −X 2 Þ þ X 4 −X 3 =3 ð17Þ
level Lt ¼ αðyt −S t−s Þ þ ð1−αÞðLt−1 þ bt−1 Þ ð1Þ
b1 ¼ 0 ð18Þ
trend bt ¼ βðLt −Lt−1 Þ þ ð1−β Þ−bt−1 ð2Þ
In this paper, the optimum values for all weighted factors
seasonal S t ¼ γ ðyt −Lt Þ þ ð1−γ ÞS t−s ð3Þ
are automatically determined. The minimization of the
forecast F tþk ¼ Lt þ kbt þ S tþk−s ð4Þ RMSE, MAPE and MAD is very important for determining
the optimal values of α, β and γ. Tratar and Srmenik (2016)
where “s” is the length of the seasonal cycle, 0 ≤ α ≤ 1, and Tratar et al. (2016) emphasized the computation of the
0 ≤ β ≤ 1 and 0 ≤ γ ≤ 1. Here, we must set the values of α, β MAPE; thus, the minimization problem is solved by the re-
and γ. To choose the best values, we can use either the root spective instrument using MS Office Excel. The HWA and
mean square error (RMSE) or the mean absolute percentage HWM methods’ equations and initial values are also illustrat-
error (MAPE). ed in eqs. (1) to (18).
Another alternative Holt-Winters model multiplies the
forecast via a seasonal factor. Its equations are given below:
  The Box-Jenkins Method
yt
level Lt ¼ α þ ð1−αÞðLt−1 þ bt−1 Þ ð5Þ
S t−s
This methodology was implemented by Box and Jenkins in
trend bt ¼ βðLt −Lt−1 Þ þ ð1−β Þ bt−1 ð6Þ 1976 (Box and Jenkins 1976). As you can see, in many appli-
y cations, the ARIMA is used in time series analysis and fore-
seasonal S t ¼ γ t þ ð1−γ ÞS t−s ð7Þ
Lt casting. The ARIMA abbreviation stands for autoregressive
forecast F tþk ¼ ðLt þ kbt ÞS tþk−s ð8Þ integrated moving average model. If you apply this model to
your data, you transform the time series data to a stationary
As mentioned above, “s” is the length of the seasonal cycle, state. When using this method, there are no missing data with-
0 ≤ α ≤ 1, 0 ≤ β ≤ 1 and 0 ≤ γ ≤ 1. Here, the initial values for Lt in the time series data.
and bt are the same as those in the HWA model. However, the Maberly (1986) emphasizes the relationship between the
initial seasonal estimates are different from those of the HWA directions of intraday price changes. Wu and Zhang (1997)
model and can be presented as follows: S t ¼ yt Lt . stressed the predictability of the direction of change in future
First, we need the initial values for the level, trend exchange rates. These studies forecast the direction of change
and seasonality. If we start with the seasonality, a com- in consumer price levels. Namely, we determine whether there
plete seasonal cycle such as y1, y2, …, ys is needed for are future gains or losses using these forecasting methods.
the analysis. If there is not a complete cycle, a forecast The concepts of autoregressive (AR) and moving average
cannot be made. In theory, it is best to start the trend (MA) models were formulated by (Yule 1927; Walker 1931;
with two complete cycles in order to generate forecast Slutsky 1937 and Yaglom 1955). Gooijer and Hyndman
values. Equations (2) and (6) are the same formula for (2006) emphasized the new developments in autoregressive
the trend. The HWA and HWM methods’ initial values integrated moving average (ARIMA) models.
are given below (Suppalakpanya et al. 2018). Methods of analyzing time series constitute an important
The HWA method’s initial values are as follows: area of statistics. Although there are several objectives that can
be satisfied by analyzing a time series, they can all be classi-
Ln ¼ ðX 1 þ X 2 þ … þ X n Þ=n ð9Þ fied as descriptive, explanatory, predictive, or control
S i ¼ X i −Ln ð10Þ (Bowerman and O’Connell 1987).
Kim (2003) found that bootstrap estimators make more
b1 ¼ ðX n −X 1 Þ=ðn−1Þ ð11Þ exact forecasts than the ordinary least squares estimators. He
applied AR models to small samples to conduct parameter
b1 ¼ X 2 −X 1 ð12Þ estimation and forecast the values. (Libert 1984; Poulos
Am. J. Potato Res.

et al. 1987) used univariate ARIMA modeling to forecast In the first step, the autocorrelation function (ACF) and the
accurate parameter estimations. partial autocorrelation function (PACF) for the values of a
A nonseasonal ARIMA model is classified as an stationary time series are examined to determine the number
ARIMA(p,d,q) model, where we have the following: of autoregressive parameters (p) and the number of moving
average parameters (q). Then, an appropriate model is
& p is the number of autoregressive terms, selected.
& d is the number of nonseasonal differences needed for In the second step, we use the data to estimate the identified
stationarity, and model’s parameters. In this literature, we use the ordinary least
& q is the number of lagged forecast errors in the prediction squares to estimate the parameters of the selected model via
equation. the Econometrics package.
In the third step, a diagnostic check procedure is imple-
The forecasting equation is constructed as follows. First, let mented using the Box-Jenkins modeling procedure. We check
y denote the dth difference of Y, which means the following: whether all the parameter estimates have significant p values
and if the model contains as few parameters as possible. That
If d ¼ 0; yt ¼ Yt ð19Þ
is, the residuals should be approximately normal.
If d ¼ 1; yt ¼ Yt −Yt−1 ð20Þ The fourth step is to forecast the future time series values
by using the final model.
If d ¼ 2; yt ¼ ðYt −Yt−1 Þ−ðYt−1 −Yt−2 Þ
We can see the descriptive statistics in the following
¼ Yt −2Yt−1 þ Yt−2 ð21Þ Figure, including the results of the Jarque Bera test of normal-
ity. The residuals are normally distributed in this time series
In terms of y, the general forecasting equation is as follows: such that we do reject the null hypothesis.
In conclusion, the forecasting algorithm proposed in
b
yt ¼ μ þ ϕ1 yt−1 þ … þ ϕp yt−p −θ1 et−1 −…−θq et−q ð22Þ this paper is summarized in eqs. (1) to (22). The data
are the monthly potato consumer prices (175 months).
Here, the moving average parameters (θs) are defined so The forecasting methods are the HWA, HWM and Box-
that their signs are negative in the equation, following the Jenkins methods. In this paper, the initial values for the
convention introduced by Box and Jenkins. level, trend and seasonal components are determined to
To identify the appropriate ARIMA model for Y, you be- obtain optimal values.
gin by determining the order of differencing (d) needed to
stationarize the series and remove the gross features of sea- Evaluation of the Models
sonality, perhaps in conjunction with a variance-stabilizing
transformation such as logging or deflating. If you stop at this There are some criteria to select the best model for making
point and predict that the differenced series is constant, you forecasts, such as the mean absolute percentage error
have merely fitted a random walk or random trend model. (MAPE), root mean square error (RMSE) and mean absolute
However, the stationarized series may still have autocorrelated deviation (MAD).
errors, suggesting that some number of AR terms (p ≥ 1) and/
or MA terms (q ≥ 1) are also needed in the forecasting equa-
RMSE, MAPE and MAD Statistics
tion (https://people.duke.edu/~rnau/411arim.htm, 2020).
The Box-Jenkins procedure will be used to analyze this
The accuracy of these models, including the Box-Jenkins
series.
method and exponential smoothing method, might be de-
termined by using the test accuracy of the forecasting
Package Program The following calculations and models are
models. To determine the accuracy of a forecasting mod-
created using Eviews.
el, you will use the size of the forecasting error. This
The Box–Jenkins forecasting methodology has four basic
criterion is very applicable to the determination of the
steps.
accuracy of a forecasting model. If the prediction error
40
Fig. 1 Descriptive statistics for Series: PRICE
Sample 2005M01 2019M07
the monthly potato prices 30
Observations 175

Mean 1.379665
Median 1.103100
Maximum 5.135500
20 Minimum 0.397000
Std. Dev. 0.808307
Skewness 1.826152
Kurtosis 6.924955
10

Jarque-Bera 209.5960
Probability 0.000000
0
0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Am. J. Potato Res.

PRICE
Fig. 2 The monthly potato prices 6

(kg/TL)* from January 2005 to


5
July 2019, kg: Kilogram; TL:
Turkish Lira 4

0
05 06 07 08 09 10 11 12 13 14 15 16 17 18 19

is a small value, the forecasted value produced by the where


model will be better.
Gentry et al. (1995), Alon et al. (2001), Chatfield (2001), t: time period,
Ravindran and Warsing (2013) used the MAPE as a perfor- T: total number of observations,
mance metric. The RMSE is commonly used in forecasting, yt: actual value, and.
climatology and regression analysis to verify experimental byt : forecasted value at time t.
results. In this paper, the RMSE metric was used as the pre-
diction error measure because it gives an accurate and exact
statistic for comparing forecasting methods (Barnston 1992)
emphasized the RMSE. There are some criteria to select the
best model for making forecasts such as the mean absolute Results and Discussion
percentage error (MAPE), root mean square error (RMSE)
and mean absolute deviation (MAD) (Ahmad and Ahmad Holt-Winters Smoothing Method Results
2013).
The first step in the process was to create a time series plot of
the data, which displayed the average monthly consumer po-
T  2
∑ yt −byt tato prices for each year for the years from 2005 to 2019
t¼1 (Fig. 1).
MSE ¼ ð23Þ
T In the following graphics, we can see the nonstationary
  shape of the time series. This series is going to be analyzed.
 y −by 
100  t T
t  This series randomly fluctuates, indicating the observation of
MAPE ¼ ∑   ð24Þ
T t¼0  yt  a global trend or seasonality. In particular, after the year 2005,
the time series quickly increases, and then the prices show the
behavior of up and down volatility (Fig. 2).
We note that the RMSE is calculated from the forecast
1 T  
 results from January 2006 to July 2019 (N = 163 months).
MAD ¼ ∑ yt −byt  ð25Þ
T t¼0 As observed from the raw data, the input data of the first years
from January 2005 to December 2005 are used to obtain the

Fig. 3 The comparison of the raw


data and the forecast data
determined by the HWA method
with Eqs. (1–4) for consumer
potato prices
Am. J. Potato Res.

Fig. 4 The comparison of the raw


data and the forecast data
determined by the HWM method
with Eqs. (5–8) for consumer
potato prices

initial values for the level, trend and seasonal components, as and 3.07948, respectively. These values show a slow increas-
shown in eqs. (9) to (18) for the HWA and HWM methods. ing trend.
Figures 3 and 4 illustrate the comparison of the data for
consumer potato prices and the forecast data, which were de- The Box-Jenkins Method Results
termined by the HWA method computed with Eqs. (1–4) and
the HWM method computed with Eqs. (5–8), respectively. The first step is to determine the trend in the potato prices. Due
Figure 4 illustrates that the HWM method with Eqs. (5–8) is to the trend value 0.7787 > 0.05, we can reject the null hy-
the best case compared to the HWA method with Eqs. (1–4). pothesis. Namely, there is no trend in the price value. The
These results (as illustrated in Figs. 3 and 4) demonstrate second step in the process was to create a time series plot of
that the forecasted data values using the optimum solutions are the data, which displayed the monthly average consumer po-
seamlessly closer to the raw potato price data. This is directly tato price for each year versus the years from 2005 to 2019.
in line with the RMSE results that assert that a small RMSE The original data were transformed using the natural loga-
represents a fit matching result. rithm in order to reduce the effect of outliers. For that reason,
The results in Table 1 show that forecasting consumer po- we took the logarithms of these data. The monthly time series
tato prices using the HWA method gives the smallest RMSE were coded as;
results. In this paper, the weighing factors that result in the Logprice: the natural logarithm of the consumer price index
minimum RMSE were determined by Eviews. The forecasted of Turkey.
results for August 2019 to December 2019 were calculated by There are several stationary tests in the literature, and these
the HWA and HWM methods. These different forecasted are graphical analyses, correlograms and unit root tests. In the
values via these respective methods are also illustrated in following graphics, we can see the nonstationary shape of the
Table 1. time series. This series is going to be analyzed. This series
For the consumer potato prices, as indicated in Table 1, the randomly fluctuates such that there is no global trend or sea-
forecast data generated by these methods show the same trend. sonality observed. Especially after 2005, the time series quick-
The forecasted values of consumer potato prices calculated by ly increases and, after that, this price has volatile up and down
the HWA method were 1.47809, 1.41869, 1.35909, 1.39289 behaviors (Fig. 5, Table 2).
and 1.46809 for the months of August, September, October, After examining the graphical observations and the
November and December 2019, respectively. Likewise, the correlogram evaluation, it is found that these data are first-
forecasted values of consumer potato prices of calculated by order integrated. To conduct a stationary test, we used the
the HWM method were 2.28960, 2.25265, 2.39486, 2.75285 Augmented Dickey Fuller (ADF) test since this test is the most

Table 1 The optimal weighting factors and the forecast data for August 2019 to December 2019 using the HWA and HWM methods for consumer
potato prices

Methods Factors Forecasted prices (2019 year)

α β γ August September October November December

HWA 0.00911 1.00000 0.00000 1.47809 1.41869 1.35909 1.39289 1.46809


HWM 0.67333 0.07678 1.00000 2.28960 2.25265 2.39486 2.75285 3.07948
Am. J. Potato Res.

Fig. 5 The monthly differences in DLPRICE


.6
the logarithmic potato prices (kg/
TL) from January 2005 to .4
July 2019
.2

.0

-.2

-.4

-.6
05 06 07 08 09 10 11 12 13 14 15 16 17 18 19

well-known in the literature. In econometrics, these test results Table 3 shows the results for the unit root test of the level
are easy to interpret and the test is quite efficient. This test is model. Once again, there is a unit root and LOGPRICE is
based on the following equation: nonstationary. In the first difference model, we reject this hy-
m
pothesis and conclude that D (LOGPRICE) does not have a
ΔY t ¼ β1 þ β2 t þ ðρ−1Þyt−1 þ ∑ αi ΔY t−i þ εt ð26Þ unit root. Namely, the time series are stationary, and similar
i¼1
results were found by the Phillips-Perron test. We denoted
where. DLOGPRICE as the first difference of LOGPRICE. In this
way, after differencing the LOGPRICE time series, we obtain
εt: pure white noise error term, and. stationary time series.
ΔYt − i: difference of Yt − i.

The Akaike information criterion (AIC) and the Schwarz or ARIMA(p,1,q) Model Selection for the Consumer Potato Prices
Bayesian information criterion (SBC) are used to determine the of Turkey (Two Important Criteria for Model Selection (AIC
time series lags. The ADF test (the τ statistic) determines the and BIC))
stationary of a time series. In our study, if there is a unit root,
namely, the null hypothesis is ρ = 1, we can conclude from this Akaike’s Information Criterion (AIC).
result that the time series is nonstationary. The alternative hy- 2 pþq
pothesis is ρ < 1, which means that the time series is stationary. If AIC ¼ logb
σ þ2 ð27Þ
n
ρ > 1, then the original time series will be explosive.

Table 2 Correlogram of DLPRICE


Am. J. Potato Res.

Table 3 Unit root test results using Eviews

Null hypothesis Augmented Dickey-Fuller

Test for unit root in Level model Test for unit root in the 1st difference model

LOGPRICE has a unit root D (LOGPRICE) does not have a unit root

ADF p value* AIC SBC ADF p value* AIC SBC

Constant −0.393300 0.9063 0.126189 0.372930 −4.084526 0.0014 0.114950 0.342711


Constant and trend −2.621380 0.2715 0.087804 0.333525 −4.226107 0.0051 0.119478 0.366219
None 0.906438 0.9021 0.118592 0.346353 −3.907704 0.0001 0.111749 0.320529

*Critical values at the 5% level

Schwarz or Bayesian Information Criterion (BIC or SBC) Diagnostic Test for Residual Autocorrelation
2 pþq
BIC ¼ logb
σ þ2 logðnÞ ð28Þ The (Ljung and Box 1978) Q-statistic is an objective diagnos-
n tic measure of white noise for a time series, which assesses
Usually, the model with the smallest AIC or BIC values is whether there are patterns in a group of autocorrelations.
preferred. While the two criteria differ in their trade-off be- As you can see from above figure, the estimated residual
tween fit and parsimony, the BIC criterion is preferred be- time series is nearly white noise. Auto correlation and partial
cause it has the property that it will almost surely select the auto correlation give the impression that the residuals estimat-
true model. ed from ARIMA (1,1,2) are approximately white noise.
The AR and MA roots are inside the unit circle and the
stability condition is satisfied. However, all variables’ coeffi- Ho: ACFs are not significantly different from white noise
cients are not significant. ACFs (i.e., ACFs = 0).
Then, the metrics were estimated for the ARIMA (1,1,0), H1: ACFs are significantly different from white noise
ARIMA (4,1,0), ARIMA (0,1,1), ARIMA (0,1,4), ARIMA ACFs (i.e., ACFs ≠ 0).
(4,1,4), ARIMA (5,1,5), ARIMA (1,1,4) and ARIMA
(1,1,2). Additionally, the optimal lag length and information The formula for the Ljung-Box Q Statistic is given below:
criteria for the ARIMA (p,1,q) for DLOGPRICE are given in
k r2j k ½ACF ð J Þ2
the following Table 4. Q k ¼ T ð T þ 2Þ ∑ ¼ T ð T þ 2Þ ∑ ð29Þ
The results of the ARIMA (p,d,q) are not shown here since j¼1 T −j j¼1 T−j
their estimation reveals insignificant coefficients. Although
the marginal change is very small, the information criteria
favor the ARIMA (1,1,2) and its results are given below in Table 5 ARIMA (1,1,2) results
Table 5.
Variable Coefficient Std. error t-Statistic Prob.

C 0.007780 0.001440 5.401713 0.0000


Table 4 Optimal lag length AR(1) 0.810530 0.047911 16.91724 0.0000
MA(1) −0.531620 0.074177 −7.166910 0.0000
ARIMA (p,1,q) AIC SBC
MA(2) −0.456308 0.073328 −6.222829 0.0000
ARIMA (1,1,0) −1.398852 −1.362397 R-squared 0.191497 Mean dependent var 0.011013
ARIMA (4,1,0) −1.442746 −1.350517 Adjusted R-squared 0.177144 S.D. dependent var 0.124959
ARIMA (0,1,1) −1.436073 −1.399762 S.E. of regression 0.113352 Akaike info criterion −1.497788
ARIMA (0,1,4) −1.450466 −1.359688 Sum squared resid 2.171425 Schwarz criterion −1.420880
ARIMA (4,1,4) −1.458840 −1.292827 Log likelihood 133.2127 Hannan-Quinn criter. −1.464210
ARIMA (5,1,5) −1.497779 −1.294058 F-statistic 13.34272 Durbin-Watson stat 1.989548
ARIMA (1,1,4) −1.487842 −1.378479 Prob(F-statistic) 0.000000
ARIMA (1,1,2)* −1.497788 −1.420880 Inverted AR Roots .81
Inverted MA Roots .99 −.46
*Optimal lag length
Am. J. Potato Res.

Table 6 Correlogram of the residuals of the ARIMA (1,1,2) model with DLOGPRICE

This Qk is compared with the χ2 value. When Qk>χ2, the This test is based on the sample kurtosis (K) and skewness (S).
null hypothesis is rejected; otherwise, it is not rejected and is This test is defined, and the results are given below in Fig. 6.
accepted. The Ljung-Box Statistics and their p values also According to these test results, the null hypothesis of the
look good. The null hypothesis that there is no residual auto- Jarque-Bera (JB) test is rejected. This means that the null
correlation is not rejected (Table 6). hypothesis may indicate that there are a few outlying obser-
vations and the error process is not homoscedastic.
A good forecasting model should take into consideration
Diagnostic Test for Normality of Residuals some characteristics. These determinants are given as follows.
First, the selected model fits the past data well. Second, the
In this study, we can improve the interpretation of the normal- plots of the actual data versus the fitted values are good, the
ity of the residuals. For that reason, in order to test the nor- adjusted R2 is high, and the RMSE, MAPE and MAD are low
mality of the residuals, we make a Jarque-Bera (JB) normality relative to other models, which is good. Third, the residuals
test, which gives us a goodness of fit measure for normality. are white noise (Table 7).

RESID
Fig. 6 Statistics of the residuals .5
of the ARIMA (1,1,2) model with .4

DLOGPRICE .3

.2

.1

.0

-.1

-.2

-.3

-.4
05 06 07 08 09 10 11 12 13 14 15 16 17 18 19

35
Series: RESID
30 Sample 2005M01 2019M07
Observations 173
25
Mean 0.005702
20 Median -0.006565
Maximum 0.452262
15 Minimum -0.363693
Std. Dev. 0.112213
10 Skewness 0.698734
Kurtosis 5.329569
5
Jarque-Bera 53.19611
0 Probability 0.000000
-0.3 -0.2 -0.1 0.0 0.1 0.2 0.3 0.4
Am. J. Potato Res.

Table 7 The test accuracies of the forecasting models for the HWA, HWM and ARIMA methods for consumer potato prices

Methods The criteria chosen to select the best model for making forecasts

RMSE MAPE MAD

HWA 1,204,450 234,4642 0,195,440


HWM 0,279,400 183,4870 1,427,065
ARIMA 0,201,759* 116,9075* 0,176,896*

*ARIMA is the best model for making forecasts

Conclusions References

In this research, we proposed and used different initial Alon, I., M. Qi, and R.J. Sadowski. 2001. Forecasting aggregate retail
sales: A comparison of artificial neural networks and traditional
values for the Holt-Winters method to forecast consumer
methods. Journal of Retailing and Consumer Services 8 (3): 147–
potato prices in Turkey, and the results are deeply evalu- 156.
ated. The HWA and HWM methods were tested. During Barnston, A. 1992. Correspondence among the correlation [root mean
these tests, different initial values were tried and applied square error] and Heidke verification measures; refinement of the
Heidke score. Weather Forecasting 7 (4): 699–709 Notes and
in the forecasting methods. The findings of this research
Correspondence. Climate Analysis Center.
revealed that the results generated by the HWA method Bowerman, B.L., and R.T. O’connell. 1987. Time Series Forecasting:
had good accuracy for forecasting consumer potato prices. Unified Concepts and Computer Implementation. 2nd ed. Boston:
To optimize the initial values, the RMSE was used in Duxbury Press.
practice. At the end, the forecasting results of the period Box, G.E.P., and G.M. Jenkins. 1976. Time Series Analysis: Forecasting
and Control. San Fransisco: Holden Day.
from August 2019 to December 2019 were also reported Chatfield, C. 2001. Time Series Forecasting. New York: Chapman &
in this research. In subsequent studies, other updated con- Hall.
sumer potato prices will be tested and evaluated using Erdal, H., G. Erdal, and K. Esengun. 2009. An analysis of production and
other econometric and statistical forecasting techniques. price relationship for potato in Turkey: A distributed lag model
application. Bulgarian Journal of Agricultural Science 15 (3):
For a time series, it is necessary to identify the ARIMA 243–250.
model, and thus we calculated and approximated different Ljung, G.M., and G.E.P. Box. 1978. On a measure of a lack of fit in time
ARIMA models. In our study, the logarithmized consumer series models. Biometrika 65 (2): 297–303.
prices were taken as the first order difference. It is the best Gentry, T.W., B.M. Wiliamowski, and L.R. Weatherford. 1995. A com-
way to select the ARIMA model. Some statistical tests were parison of traditional forecasting techniques and neural networks.
Intelligent Engineering Systems through Artificial Neural Networks.
evaluated according to the significance of the coefficients and 5: 765–770.
used to test the residuals. The Akaike information criterion Gooijer, J., and R. Hyndman. 2006. 25 years of time series forecasting.
(AIC) and the Bayes information criterion (BIC) are used to International Journal of Forecasting 22: 443–473.
evaluate the fit of the ARIMA models. Both the R2 and Holt, C.C. 2004. Forecasting seasonals and trends by exponentially
weighted moving averages. International Journal of Forecasting
Adjusted R2 were evaluated. The best ARIMA model was 20 (1): 5–10.
selected according to these criteria. https://people.duke.edu/~rnau/411arim.htm. (Access to 15.01.2020).
This study accomplished accurate forecasting for future Kalekar, P. S. 2004. Time series forecasting using Holt-Winters exponen-
periods via the ARIMA model. The autocorrelation and partial tial smoothing. Kanwak Rekhi School of Information Technology:
1–13.
autocorrelation give the impression that the residuals estimat-
Kim, J.H. 2003. Forecasting autoregressive time series with biascorrected pa-
ed from the ARIMA (1,1,2) are approximately white noise. rameter estimators. International Journal of Forecasting 19: 493–502.
There are some criteria to select the best model for making Libert, G. 1984. The m-competition with a fully automatic box–Jenkins
forecasts such as the mean absolute percentage error (MAPE), procedure. Journal of Forecasting 3: 325–328.
root mean square error (RMSE) and mean absolute deviation Maberly, E. 1986. The informal content of the interday price change with
respect to stock index futures. Journal of Futures Markets 6: 385–
(MAD). Comparing these criteria, the ARIMA (1,1,2) model 395.
estimation is the best model in this study since all criteria Mladenović, J., V. Lepojević, and V. Janković-Milić. 2016. Modelling
values for the ARIMA (1,1,2) model are the lowest. and prognosis of the export of the republic of Serbia by using sea-
We believe that the research methodology and the results sonal holt-winters and arıma method. Economic Themes 54 (2):
233–260.
given in this paper can be useful for the strategy setting of Montgomery, D.C., C.L. Jennings, and M. Kulahci. 2008. Introduction to
Turkish agricultural economists, economists and government Time Series Analysis and Forecasting. New Jersey: Wiley-
authorities. Interscience.
Am. J. Potato Res.

Poulos, L., A. Kvanlı, and R. Pavur. 1987. A comparison of the accuracy Turkstat. 2019. http:www.turkstat.gov.tr. Accessed 21 August 2019.
of the box–Jenkins method with that of automated forecasting Ahmad, W.K.A.W., and S. Ahmad. 2013. Arima model and exponential
methods. International Journal of Forecasting 3: 261–267. smoothing method: A comparison. AIP Conference Proceedings
Ravindran, A., and D.P. Warsing. 2013. Supply Chain Engineering: 1522: 1312. https://doi.org/10.1063/1.4801282 Published Online:
Models and Applications. Boca Raton, FL: CRC Press. 22 April 2013.
Slutsky, E. 1937. The summation of random causes as the source of cyclic Walker, G. 1931. On periodicity in series of related terms. Proceedings of
process. Econometrica 5. The Royal Society A 131(818): 518–532.
Suppalakpanya, K., R. Nikhom, A. Booranawong, and T. Booranawong. Wu, Y., and H. Zhang. 1997. Forward premiums as unbiased predictors
2018. An evaluation of Holt-Winters methods with different initial of future currency depreciation: A non-parametric analysis. Journal
trend values for forecasting crude palm oil production and prices ın of International Money and Finance 16: 609–623.
Thailand. Suranaree Journal of Science and Technology 26 (1): 13– Yaglom, A. 1955. The correlation theory of processes whose nth differ-
22. ence constitute a stationary process, American Mathematical
Tratar, L.F., and E. Srmenik. 2016. The comparison of Holt-winters Society.
method and regression methods: A case study. Energy 109: 266–
Yule, G.U. 1927. On the method of investigating periodicities ın dis-
276.
turbed series, with special reference to wolferts sunspot numbers.
Tratar, L.F., B. Mojskerc, and A. Toman. 2016. Demand forecasting with
Philosophical Transactions of the Royal Society London, Series A
four parameter exponential smoothing. International Journal of
226: 267–298.
Production Economics 181: 162–173.

También podría gustarte