Forecasting is key in many fields of science. In this paper, three methods are of interest and they are: SES, HWES and ARIMA. Throughout the paper the methods are illustrated using Zambia’s annual net FDI inflows. The best fit model is used to forecast Zambia’s annual net foreign direct investment (FDI) from 1970 to 2014.
SES method is a simple tool for forecasting time series data. Smoothing implies removing the unwanted noise so that the general path is created. This method is suitable for forecasting data without trend or seasonal pattern. It is basically a recursive computing procedure  . The HWES method prediction items are obtained as a weighted average of past observed values where the weights reduce exponentially so that the values of recent observations contribute to the forecast more than the values of earlier observations  . ARIMA models can be used to produce forecasts for time series data. The ARIMA model has three parts. Not all parts are always necessary but it depends on the type of time series data at hand. The three parts are the autoregressive (AR), the integrated (I) and lastly, the moving average (MA). Assumption for the AR part of a time series data is that the observed value depends on some linear combinations of previous observed values up to some maximum lags plus error term. Assumption for the MA part of time series data is that the observed value is a random error term plus some linear combinations of previous random error terms up to some maximum lags  .
FDI is foreign capital investment to a country. Foreign direct investment to a country results in increasing productivity, reducing unemployment, and increasing the use of technology. The need for FDI came as a result of shortages in domestic funding sources to finance development projects in developing countries. These developing countries realized that it is through FDI that they can achieve economic growth. According to  , FDI excludes loan from international organizations, foreign governments, private commercial banks, stocks and bonds purchased by foreigners but it is an investment where managerial control is done by foreign investors. According to  FDI constitute activities such as decision making that are done by firms or groups of firms outside to the country of investment. Furthermore  , FDI is defined as an investment that arises when the investor in the mother country invests in another country with an intension to have control on how to manage and run it.
Studies by  indicate that there is a positive relationship between FDI and economic growth. However, this positive relationship depends on human capital available in that economy. Furthermore, for countries with very low levels of human capital, then the direct effect of FDI is negative. They further argued that FDI result to competition with domestic investors and as a result the local and already existing businesses are affected negatively hence the weak positive relationship with Economic Growth. Studies by  indicate that, FDI inflows in developing countries led to “crowd in” other investment at macro level. Studies by  found that FDI inflows led to higher per capita GDP, economic growth rate, productivity growth, higher export in host country and increased backward, forward linkages with affiliates to multinationals.
The main goal for the Zambia government is to increase and sustain FDI inflows beyond the current levels to highly benefit the country. Zambian FDI inflows are mainly in copper and cobalt extraction, agricultural sector particular in horticulture and floriculture production, and in tourism. Firms or groups of firms from countries like United Kingdom and South Africa have traditionally been the main contributors of foreign direct investment though FDI inflow from other countries drastically increases. The net inflow to other countries is negative indicating outflows that are FDI from those countries (inflows) are less than those from Zambia (outflows). However, the scope of this research is to discuss FDI inflows (Net) to Zambia. An analysis of the FDI flows by source country in 2012 shows that Canada (US $724.3 million), South Africa (US $426.0 million), the Netherlands (US $262.2 million) and the United Kingdom (US $227.2 million), were the major source countries of Zambia’s FDI inflows, accounting for 94.7 per cent of total inflows, collectively. The other source countries are Switzerland (US $166.9 million), China (US $141.9 million), Nigeria (US $94.6 million), Singapore (US $62.0 million), Congo DR (US $28.6 million) and France (US $20.2 million)    .
Forecasting results plays a vital role to policy makers. Decision making, coming up with good policies and suitable strategic plans, depends on accurate forecasts  .
2.1. Simple Exponential Smoothing Model (SES)
Simple exponential smoothing method involves smoothing out random fluctuations of time series data. The method is suitable for forecasting data without trend or seasonal pattern. This method gives past data weights known as smoothing constants that decrease exponentially with time. Below is the exponential smoothing model for time series data is shown below:
2.2. Holt-Winters Exponential Smoothing Model (HWES)
Holt-Winters exponential smoothing method is an extension of SES and uses a linear combination of the previous values of a series for generating and modeling future values. It is applies to time series data that has trend. Recent time series recordings are key to forecasting future values of a series. The model for time series data is as shown below:
where is the smoothing constant, is the trend smoothing constants, is raw data, is smoothed data and is the trend estimates.
The -step-ahead forecast equation is
(  ) (5)
2.3. Autoregressive Integrated Moving Average Model (ARIMA)
Stochastic models attributed to Box-Jenkins known as the ARIMA have been found to be more efficient and reliable even for short term forecasting. Further, stochastic models are distribution-free as no assumptions are required about the data  . The ARIMA model consists of the following expressions called the order of autoregressive (AR) model (p), differencing order (d) and the order of moving average (MA) model (q). The Box-Jenkin models are denoted by ARIMA (p, d, q). “I” implies that the process need to undergo differentiation and when the modelling is done, the results undergo an integration process to produce forecasts and estimates. The expressions for MA, AR and ARMA are as follows:
AR model: (6)
MA model: (7)
ARMA model: (8)
where is the autoregressive parameter at time t, is the error term at time t and is the moving-average parameter at time t  .
2.4. The Error Measures for Model-Selection
The error measures are used to compare how well models fit the time series. According to  , the best fit or forecasting model is one with minimal errors. The following error indicators were used in this paper:
3. Results and Discussion
The SES, HWES and ARIMA models are used to forecasting Zambia’s annual Net Foreign direct investment (FDI) inflows from 1970 to 2014. R is a widely used statistical software package for statistical analysis. It was used to come up with SES, HWES and ARIMA models. R contains built-in functions that allow the user to determine model parameters spontaneously; the only requirement in this software is the time series data to be analysed. Using R, the SES model indicates that the parameter is the best parameter value. The equation for this model thus takes the form
The HWES model indicate that the parameters and , giving us the following equations:
For ARIMA model, the procedure is achieved by considering the following steps: identification, model selection, parameter estimation and diagnostic check  . The steps are illustrated below:
Step 1: ARIMA model identification:
Time plot is the first step of ARIMA model identification of time series. A time plot of the FDI is plotted in Figure 1 for d = 0 and d = 1. Stationarity can now be checked using visual display of the ACF and PACF graphs in Figure 2. The ACF and PACF plots in Figure 2 show that the FDI’s time series data are not stable for d = 0 due to its slow decay and therefore nonstationary. For d = 1, the time plot is stationary. According to   , converting a nonstationary time series to a stationary one through differencing (where needed) is an important part of the process of fitting an ARIMA model.
Step 2: Model selection
The ACF and PACF plots for d = 1 in Figure 2 indicate that the first differenced FDI series are stationary hence require further examination to establish the most suitable ARIMA. Table 1 shows the formula for each error indicator considered in this study. Table 2 shows the details of various ARIMA models along the error measures. Results by  demonstrate that an ARIMA model with lowest error measures specifically the AIC is considered the best model for forecasting. In this case an ARIMA (1, 1, 5) is considered as best fit model because it has the lowest value of the AIC statistics.
Step 3: Model fitting and Parameter estimation.
R output (version 0.99.903) for estimated parameter and p-value:
Arima (1, 1, 5))
ar1 ma1 ma2 ma3 ma4 ma5
0.8300 −1.3240 0.4039 0.5289 −0.8271 0.6342
sigma^2 estimated as 27972: log likelihood = −290.67, aic = 595.33
The parameters found to be significance at 5% in Table 3 are AR (1), MA (1), MA (2), MA (3), MA (4), and MA (5). The ARIMA (1, 1, 5) model equation can
Figure 1. Time plots for d = 0 and d = 1.
Figure 2. Plots of ACF and PACF for d = 0 and d = 1.
Table 1. The error indicators.
Table 2. The AIC statistics measures for selected ARIMA models.
therefore be written as
Step 4: Diagnostic Checking
Goodness of fit for time series models involves testing if the model residuals form a white noise process. It is through diagnostic checks that a model can be declared statistically adequate and thereafter can be used to forecast. According to  , if the diagnostic tests fails a new process (cycle) of identification, estimation and diagnosis is done until the best fit model is found.
The Plots of ACF, Normal Q-Q and Histogram of Residuals show that the residual are a white noise process. Thus, diagnostic check for an ARIMA (1,1,5) model in Figure 3 indicates that the model is good (best fit).
The results in Table 4 show that the ARIMA (1,1,5) model performed better than the SES and HWES models on FDI data for Zambia due to the minimal error. Hence, this model was picked for forecasting.
Forecasting results plays a vital role to policy makers in creating good policies and coming up with suitable strategic plans on FDI. R output of ARIMA (1,1,5) forecasts for the next 10 years of annual net Zambia’s FDI’s inflow is shown in Table 5.
Table 5 shows ten year forecasts for FDI using ARIMA (1, 1, 5). Trajectory of
Figure 3. Plots of ACF, Normal Q-Q and histogram of residuals.
forecasts in the period from 2014 to 2024 is shown in Figure 4. Forecasting results give a gradual increase in annual net FDI inflows of about 44.36% by 2024.
Forecasting is key to every field of science. ARIMA (1, 1, 5) can be used to forecast the annual net inflows of FDI to Zambia. This model can be used for both
Table 3. Estimate of ARIMA (1,1,5).
Note: *p value < 0.05.
Table 4. Measure of the errors for the three models.
Table 5. R output of ARIMA (1, 1, 5) forecasts for the next 10 years.
Figure 4. R output of ARIMA (1,1,5) forecasts for the next 10 years.
short and long term forecasting. Best strategies can only be created with accurate forecasting results. Studies have shown that FDI affects the growth of GDP. Therefore, the importance of FDI is acknowledged world over. FDI also helps diversify the country’s economy (through job creation and increase in productivity), increase export in host country, improve efficiency and have technological spillovers on the already existing firms.
Three models of univariate time-series analysis were considered in this study: SES, HWES and ARIMA models. The best fit of the three models used in this study was picked based on the model indicating minimum errors. The ARIMA (1,1,5) showed smallest error than that of the SES or HWES models. Forecasting results give a gradual increase in annual net FDI inflows of about 44.36% by 2024. Policy makers use accurate forecasts to come up good policies. Therefore, the Zambian government should use such forecasts in formulating policies and making strategies that will promote FDI industry. Future research should go further and consider non-linear models such as Autoregressive Conditional Heteroscedasticity (ARCH), Generalized Autoregressive Conditional Heteroscedasticity (GARCH).
The authors are thankful to Zambia Development Agency (ZDA) for providing time series data on FDI. Many thanks also go to the Dean, School of Science, Engineering and Technology Dr Douglas Kunda for the encouragements. Not forgetting Mulungushi University for making it possible through provision of resources to come up with this research work. Also many other colleagues who made good comments on this paper.
 Fried, R. and George, A.C. (2014) Exponential and Holt-Winters Smoothing. International Encyclopedia of Statistical Science, Springer, Berlin Heidelberg.
 Box, G.E. and Jenkins, G.M. (1994) Time Series Analysis: Forecasting and Control. Prentice Hall, Englewood Cliffs.
 Fu, J. (2000) Institutions and Investments: Foreign Direct Investment in China during an Era of Reforms. University of Michigan Press, Ann Arbor.
 Abdul Hasan, S. and Al-Samarrai, H. (1998) A Seminar on Foreign Investment Justification and Notification. Bayt al-Hikma, Baghdad.
 Borensztein, E., De Gregorio, J. and Lee, J.-W. (1998) How Does Foreign Direct Investment Affect Economic Growth? Journal of International Economics, 45, 115-135.
 Tularam, G.A. and Saeed, T. (2016) Oil-Price Forecasting Based on Various Univariate Time-Series Models. American Journal of Operations Research, 6, 226-235.