<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">OJS</journal-id><journal-title-group><journal-title>Open Journal of Statistics</journal-title></journal-title-group><issn pub-type="epub">2161-718X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/ojs.2017.74050</article-id><article-id pub-id-type="publisher-id">OJS-78762</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Univariate Time-Series Analysis of Second-Hand Car Importation in Zambia
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Stanley</surname><given-names>Jere</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Bornwell</surname><given-names>Kasense</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Bwalya</surname><given-names>Bupe Bwalya</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Mathematics and Statistics, Mulungushi University, Kabwe, Zambia</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>sjere@mu.ac.zm(SJ)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>21</day><month>07</month><year>2017</year></pub-date><volume>07</volume><issue>04</issue><fpage>718</fpage><lpage>730</lpage><history><date date-type="received"><day>7,</day>	<month>July</month>	<year>2017</year></date><date date-type="rev-recd"><day>26,</day>	<month>August</month>	<year>2017</year>	</date><date date-type="accepted"><day>29,</day>	<month>August</month>	<year>2017</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Zambia largely depend
  s
   on the international second-hand car (SHC) market for their motor vehicle supply. The importation of Second hand Cars in Zambia presents a time series problem. The data used in this paper is monthly data on SHC importation from 1<sup>st</sup> January, 2014 to 31<sup>st</sup> December, 2016. 
  Data was analyzed using 
  Exponential Smoothing (
  ES) and 
  Autoregressive Integrated Moving Average 
  (ARIMA) models. The results showed that ARIMA (2, 1, 2)
   
  was the best fit for the SHC importation since its errors were smaller than those of the SES, DES and TES. The four error measures used were 
  Root-mean-square error (
  RMSE), 
  Mean absolute error (
  MAE), 
  Mean percentage error
   (MPE) and 
  Mean absolute percentage error (
  MAPE). The forecasts were also produced using the ARIMA (2, 1, 2) model for the next 18 months from January 2017. Although there is percentage increase of 90.6% from November 2015 to December 2016, the SHC importation 
  generally 
  is
   
  on the decrease in Zambia with percentage change of 59.5% from January 2014 to December 2016. The forecasts also show a gradual percentage decrease of 1.12% by June 2018. These results are more useful to policy and decision makers of Government departments such as Zambia Revenue Authority (ZRA) and Road Development Agency (RDA) in a bid to plan and execute their duties effectively.
 
</p></abstract><kwd-group><kwd>Zambia</kwd><kwd> Importation</kwd><kwd> Second Hand Car</kwd><kwd> Exponential Smoothing Models</kwd><kwd> ARIMA Models</kwd><kwd> Forecasting</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Over the last two decades private vehicle ownership in the developing countries has increased at an unprecedented pace. Between 1990 and 2005 the total number of registered vehicles in developing countries rose from 110 million to 210 million, and by some estimates it is forecast to reach 1.2 billion by 2030 [<xref ref-type="bibr" rid="scirp.78762-ref1">1</xref>] . Rising incomes explain a large share of this growth; as people get richer, they can afford the personal mobility that an automobile confers. High-income countries export large numbers of second-hand vehicles to low-income countries, and this trade will probably grow [<xref ref-type="bibr" rid="scirp.78762-ref2">2</xref>] . Zambia, being one of the developing countries, has experienced strong economic growth over the last decade and the country’s growth outlook is also positive [<xref ref-type="bibr" rid="scirp.78762-ref3">3</xref>] . The sustained positive growth of the Zambian economy has resulted in many shifts in consumption patterns of Zambian households. The economic reality of Zambia is that the majority of the population is middle class and hence middle income earners. This economic reality has forced Zambians to depend on the second-hand market for their motor vehicle supply. This is supported by [<xref ref-type="bibr" rid="scirp.78762-ref3">3</xref>] who noted that consumers with less purchasing power are more likely to be able to afford to buy second-hand motor vehicles. In addition, the car purchasing pattern in most developing countries has been high due to a rapid increase in ICT usage-Internet and mobile penetration, rising GDP and an emerging middle-class society [<xref ref-type="bibr" rid="scirp.78762-ref4">4</xref>] .</p><p>The importation of Second-hand Cars in Zambia presents a time series problem. There are several techniques that use time series but in this study we shall only concentrate on the Exponential Smoothing (ES) and Autoregressive Integrated Moving Average (ARIMA) models. In [<xref ref-type="bibr" rid="scirp.78762-ref5">5</xref>] , various smoothing techniques discussed include: The Simple Exponential Smoothing (SES) which is applied when the pattern is nearly horizontal; The Double Exponential Smoothing (DES) also known as the Holt’s Exponential Smoothing (HES) applied when data shows a trend; The Holt Winters (HW) also known as Triple Exponential Smoothing (TES) in which the data shows both trend and seasonality. The Best fit of the three models will be compared with the ARIMA model depending on whether the data used will exhibit a level and/or trend and/or seasonality. The ARIMA model is another method that is used to model and forecast time series data. The ARIMA models are also known as the “Box-Jenkins” approach following the work of Box and Jenkins [<xref ref-type="bibr" rid="scirp.78762-ref6">6</xref>] . This paper therefore, focuses on the major tools of decision making called univariate time-series-models.</p></sec><sec id="s2"><title>2. Methodology</title><p>Below is the flowchart of the methodology.</p><p>Two main classes of models are considered in this paper: The Exponential Smoothing (ES) and Autoregressive Integrated Moving Average (ARIMA) models. The first class involves the SES, DES and TES models. The three models will be analysed and the best fit model will be chosen depending on whether the data used will exhibit a level and/or trend and/or seasonality. The second class involves the ARIMA models with the following model-building process: Tentative identification of a model, Estimation of parameters in the identified model and Diagnostic checks. The Best fit from the two classes will finally be compared to</p><p>choose the model for forecasting (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><sec id="s2_1"><title>2.1. Exponential Smoothing (ES) Models</title><sec id="s2_1_1"><title>2.1.1. Simple Exponential Smoothing (SES)</title><p>The SES is applied when the data pattern is nearly horizontal, and shows no particular trend or seasonal variation exists in previous data sets. For the series ϕ 1 , ϕ 2 , ⋯ , ϕ t the forecast for the preceding value ϕ t + 1 , say #Math_5#, is based on the weights 1 − α and α to the recent observation ϕ t and forecast ϕ &#175; t respectively. Where α is the smoothing constant called alpha, ϕ t is the actual value for period t, ϕ &#175; t is the forecast value for period t. The model is of the form</p><p>ϕ &#175; t + 1 = ϕ &#175; t + α ( ϕ t − ϕ &#175; t ) ,     0 &lt; α &lt; 1   and   t &gt; 0. (1)</p><p>The value of α is subjectively such that a value close to zero is for smoothing out unwanted cyclical and irregular components and a value close to one is for forecasting.</p></sec><sec id="s2_1_2"><title>2.1.2. Double Exponential Smoothing (DES)</title><p>This technique is used when the data exhibits a trend in its pattern. If you have a time series that can be described using an additive model with increasing or decreasing trend and no seasonality. The model is</p><p>ϕ &#175; t = α ϕ t + ( 1 − α ) ( ϕ &#175; t − 1 + β t − 1 ) ,     0 &lt; α &lt; 1 , (2)</p><p>β t = θ ( ϕ &#175; t − ϕ &#175; t − 1 ) + ( 1 − θ ) β t − 1 ,     0 &lt; θ &lt; 1 , (3)</p><p>ϕ ^ t + m = ϕ &#175; t + β t m (4)</p><p>where ϕ t is the actual value in time t, ϕ &#175; t is the level of series at time t, β t is the slope (trend) of the time series at time t. α and β ( = 0.1 , 0.2 , ⋯ , 0.9 ) are the smoothing coefficient for level and smoothing coefficient for trend respectively. The best values of α and β correspond to the minimum mean square error (MSE).</p></sec><sec id="s2_1_3"><title>2.1.3. Triple Exponential Smoothing (TES)</title><p>The TES model is applied when time series data exhibit seasonality. It incorporates three smoothing equations; first for the level, second for trend and third for seasonality. The Triple exponential smoothing model is:</p><p>ϕ &#175; t = α ϕ t S t − p + ( 1 − α ) ( ϕ &#175; t − 1 + β t − 1 ) ,     0 &lt; α &lt; 1 , (5)</p><p>β t = θ ( ϕ &#175; t − ϕ &#175; t − 1 ) + ( 1 − θ t − 1 ) β t − 1 ,     0 &lt; θ &lt; 1 , (6)</p><p>S t = γ ϕ t ϕ &#175; t + ( 1 − γ ) S t − p ,     0 &lt; γ &lt; 1 , (7)</p><p>So we have our prediction for time period T + τ :</p><p>ϕ ^ T + τ = ( ϕ &#175; T + τ θ T ) S T (8)</p><p>where: ϕ &#175; T is the smoothed estimate of the level at time T, θ T is the smoothed estimate of the change in the trend value at time T, S T is the smoothed estimate of the appropriate seasonal component at T. α, β and γ are the level, trend and seasonal smoothing parameters respectively. ϕ &#175; t is the smoothed level at time t, θ t is the change in the trend at time t, S t is the seasonal smooth at time t and p is the number of seasons per year.</p></sec></sec><sec id="s2_2"><title>2.2. Autoregressive Integrated Moving Average (ARIMA) Model</title><p>The ARIMA model has the following stages: identification, estimation, diagnosis and prediction. “I” stands for integrated process which implies that the process needs to undergo differentiation and that, upon completion of the modelling, the results undergo an integration process to produce final predictions and estimates [<xref ref-type="bibr" rid="scirp.78762-ref7">7</xref>] . The function representing the ARIMA model is denoted ARIMA (p, d, q), which produces a stationary function ARMA (p, q) upon differentiation with respect to time. In the ARIMA (p, d, q), p stands for the order of autoregressive (AR) part, d stands for the number of times the data needs to be differenced to become stationary and q stands for the moving average (MA) part. The R statistical package was used to perform the ARIMA modelling of identification, estimation, diagnosis and prediction. The expressions for MA, AR and ARMA are:</p><p>AR model:</p><p>Y ^ t = ϑ 1 Y t − 1 + ϑ 2 Y t − 2 + ⋯ + ϑ p Y t − p + ε t = ∑ i = 1 p ϑ i Y t − i + ε t , (9 )</p><p>MA model:</p><p>Y ^ t = φ 1 ε t − 1 + φ 2 ε t − 2 + ⋯ + φ q ε t − q = ∑ i = 1 q φ i ε t − i , (10)</p><p>and ARMA model:</p><p>Y ^ t = ∑ i = 1 p ϑ i Y t − i + ε t + ∑ i = 1 q φ i ε t − i (11)</p><p>where ϑ t is the auto-regressive parameter at time t, ε t is the error term at time t and φ t is the moving-average parameter at time t.</p></sec><sec id="s2_3"><title>2.3. Assumption: Stationarity</title><p>The stationarity assumption implies that the mean, variance and autocorrelation structures do not change over time. Stationarity will mean a flat looking series, without trend, constant variance over time and no periodic fluctuations (seasonality). However, this assumption of stationarity applies to ARIMA models and not ES models. When the data is found to be non-stationary, the first difference (d = 1) will be used. Only in extreme cases will second difference (d = 2) be applied.</p></sec><sec id="s2_4"><title>2.4. Model-Selection Criteria</title><p>Four model-selection metrics to evaluate the performance of the estimated Exponential Smoothing models and the estimated ARIMA model are used. The best fit model is one with a high number of smaller errors. These errors are; the Root Mean Square Error (RMSE), the Mean Absolute Percentage Error (MAPE), the Mean Percentage Error (MPE) and the Mean Absolute Error (MAE).</p><p><xref ref-type="table" rid="table1">Table 1</xref> shows how the errors measures are calculated.</p></sec></sec><sec id="s3"><title>3. Results and Discussion</title><p>The data collected was called into R version 3.3.3 to perform the necessary analysis as outlined in the subsections to follow. <xref ref-type="fig" rid="fig2">Figure 2</xref> show a plot of the original SHC imports data.</p><p><xref ref-type="fig" rid="fig2">Figure 2</xref> indicates a trend.</p><sec id="s3_1"><title>3.1. Exponential Smoothing Output</title><p>Using the appropriate coding in R, the following output was automatically generated.</p><sec id="s3_1_1"><title>3.1.1. Simple Exponential Smoothing</title><p>The R output for the SES model was as shown in <xref ref-type="table" rid="table2">Table 2</xref>. The alpha level was</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Model accuracy metrics</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Criteria</th><th align="center" valign="middle" >Formula</th><th align="center" valign="middle" >Criteria</th><th align="center" valign="middle" >Formula</th></tr></thead><tr><td align="center" valign="middle" >RMSE</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/14-1240913x42.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >MAPE</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/14-1240913x43.png" xlink:type="simple"/></inline-formula></td></tr><tr><td align="center" valign="middle" >MPE</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/14-1240913x44.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/14-1240913x45.png" xlink:type="simple"/></inline-formula></td></tr></tbody></table></table-wrap><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> Model Information for Simple Exponential Smoothing</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="7"  >Model information:</th></tr></thead><tr><td align="center" valign="middle" >Smoothing parameters:</td><td align="center" valign="middle" >Initial states:</td><td align="center" valign="middle" >sigma:</td><td align="center" valign="middle"  colspan="2"  >AIC</td><td align="center" valign="middle" >AICc</td><td align="center" valign="middle" >BIC</td></tr><tr><td align="center" valign="middle" >alpha = 0.9104</td><td align="center" valign="middle" >l = 5521.3676</td><td align="center" valign="middle" >473.3778</td><td align="center" valign="middle" >578.5190</td><td align="center" valign="middle"  colspan="2"  >579.2690</td><td align="center" valign="middle" >583.2696</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Model Information for Double Exponential Smoothing</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="6"  >Model information:</th></tr></thead><tr><td align="center" valign="middle" >Smoothing parameters:</td><td align="center" valign="middle" >Initial states:</td><td align="center" valign="middle" >sigma:</td><td align="center" valign="middle" >AIC</td><td align="center" valign="middle" >AICc</td><td align="center" valign="middle" >BIC</td></tr><tr><td align="center" valign="middle" >alpha = 0.8006 beta = 0.0004</td><td align="center" valign="middle" >l = 6033.9228 b = −118.9081</td><td align="center" valign="middle" >465.3511</td><td align="center" valign="middle" >581.2877</td><td align="center" valign="middle" >583.2877</td><td align="center" valign="middle" >589.2053</td></tr></tbody></table></table-wrap><p>estimated at α = 0.9104 with initial state, l = 5521.3676 and AIC = 578.5190</p><p>And the fitted model for this result took the form of</p><p>ϕ &#175; t + 1 = 0.9104 ϕ t + 0.0896 ϕ &#175; t (12)</p></sec><sec id="s3_1_2"><title>3.1.2. Double Exponential Smoothing</title><p>The R output for the DES model was as shown in <xref ref-type="table" rid="table3">Table 3</xref>. The level and trend components were estimated at α = 0.8006 and β = 0.0004 respectively, with initial states, l = 6033.9228 and b = − 118.9081 . AIC = 581.2877 .</p><p>The following equations constituted the fitted DES model for SHC importation using Equations ((2) and (3)).</p><p>ϕ &#175; t = 0.8006 ϕ t + 0.1994 ( ϕ &#175; t − 1 + β t − 1 ) , (13)</p><p>β t = 0.0004 ( ϕ &#175; t − ϕ &#175; t − 1 ) + 9.9996 β t − 1 ,</p><p>β t = 0.0004 ( ϕ &#175; t − ϕ &#175; t − 1 ) + 9.9996 β t − 1 , (14)</p></sec><sec id="s3_1_3"><title>3.1.3. Triple Exponential Smoothing</title><p><xref ref-type="table" rid="table4">Table 4</xref> shows the R output for the HW model. The smoothing parameters level, trend and gamma were estimated at α = 0.8006 , β = 0 and γ = 1 respectively. The coefficients are; a = 2158.93914 and.</p><p>Using Equations (5)-(7), we fitted the HW model for SHC imports as;</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Model Information for Triple Exponential Smoothing</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Model information:</th><th align="center" valign="middle" ></th></tr></thead><tr><td align="center" valign="middle" >Smoothing parameters:</td><td align="center" valign="middle" >Coefficients:</td></tr><tr><td align="center" valign="middle" >alpha: 0.7706147 beta: 0 gamma: 1</td><td align="center" valign="middle" >[,1] a 2158.93914 b −116.18546</td></tr></tbody></table></table-wrap><p>ϕ &#175; t = 0.7706147 ϕ t S t − p + 0.2293853 ( ϕ &#175; t − 1 + β t − 1 ) , (15)</p><p>β t = β t − 1 , (16)</p><p>S t = ϕ t ϕ &#175; t (17)</p></sec><sec id="s3_1_4"><title>3.1.4. Choice of Appropriate Exponential Smoothing Technique</title><p><xref ref-type="fig" rid="fig3">Figure 3</xref> shows the plots for three fitted ES techniques and original data models for easy of comparisons and choosing.</p><p><xref ref-type="fig" rid="fig3">Figure 3</xref>(a), which shows TES, is eliminated easily because, by graphical inspection, it does not closely mimic the time plot for observed data as good as the other two. Now the choice was to be made between <xref ref-type="fig" rid="fig3">Figure 3</xref>(b) and <xref ref-type="fig" rid="fig3">Figure 3</xref>(c) which clearly look so closely alike and both were mimicking the observed data plot quite well. Therefore, to make a good choice the AIC for both were calculated and compared with the model giving a smaller AIC being chosen.</p><p>Clearly the AICs in <xref ref-type="table" rid="table5">Table 5</xref> show that the SES was a better fit than DES. Hence the appropriate ES technique of the three ES compared was chosen to be SES.</p></sec></sec><sec id="s3_2"><title>3.2. Autoregrassive Integrated Moving Average</title><sec id="s3_2_1"><title>3.2.1. Model Identification and Selection</title><p>To model an ARIMA, a time plot is the first step. <xref ref-type="fig" rid="fig4">Figure 4</xref> shows a time plot of the SHC imports for d = 0 and d = 1. <xref ref-type="fig" rid="fig4">Figure 4</xref>(b) is as a result of non-stationarity nature of the observed data as evidenced by <xref ref-type="fig" rid="fig4">Figure 4</xref>(a) and the ACF and PACF plots in <xref ref-type="fig" rid="fig5">Figure 5</xref>. ARIMA modelling requires that observed data be stationary and if not, it must be made stationary.</p><p>Hence <xref ref-type="fig" rid="fig4">Figure 4</xref>(b) and <xref ref-type="fig" rid="fig5">Figure 5</xref>(c) and <xref ref-type="fig" rid="fig5">Figure 5</xref>(d) which are as a result of first difference, that is d = 1.</p><p>Model selection requires that the ACF and PACF plots for d = 1 in <xref ref-type="fig" rid="fig4">Figure 4</xref> be examined to establish the most suitable ARIMA. But the ACF and PACF plots did not give clear indication of significant spikes at any one lag. Hence, several tentative ARIMA models and their respective AICs were examined as shown in <xref ref-type="table" rid="table6">Table 6</xref>. <xref ref-type="table" rid="table6">Table 6</xref> shows ARIMA (2, 1, 2) was chosen as the best fit of the tentative ARIMA models examined. Although the first six had smaller AICs, their parameters were found to be insignificant. ARIMA (2, 1, 2) had all its parameters estimated significant as <xref ref-type="table" rid="table7">Table 7</xref> shows.</p></sec><sec id="s3_2_2"><title>3.2.2. Estimation</title><p>When estimating the parameters, R gave the following output for ARIMA (2, 1, 2) in <xref ref-type="table" rid="table7">Table 7</xref>(a). Then their significance was tested by use of p-value (see <xref ref-type="table" rid="table7">Table 7</xref>(b) for p-values of each parameter).</p><p>The parameters found significant were AR (1), AR (2), MA (1), and MA (2) at</p><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> AIC for SES and DES</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Model</th><th align="center" valign="middle" >AIC</th><th align="center" valign="middle" >Ranking</th></tr></thead><tr><td align="center" valign="middle" >SES</td><td align="center" valign="middle" >578.5190</td><td align="center" valign="middle" >1</td></tr><tr><td align="center" valign="middle" >DES</td><td align="center" valign="middle" >589.2877</td><td align="center" valign="middle" >2</td></tr></tbody></table></table-wrap><table-wrap id="table6" ><label><xref ref-type="table" rid="table6">Table 6</xref></label><caption><title> Measure of Accuracy for selected ARIMA models</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Tentative model</th><th align="center" valign="middle" >ARIMA (0, 1, 1)</th><th align="center" valign="middle" >ARIMA (1, 1, 0)</th><th align="center" valign="middle" >ARIMA (2, 1, 0)</th><th align="center" valign="middle" >ARIMA (1, 1, 1)</th><th align="center" valign="middle" >ARIMA (0, 1, 2)</th><th align="center" valign="middle" >ARIMA (1, 1, 2)</th><th align="center" valign="middle" >ARIMA (2, 1, 2)</th><th align="center" valign="middle" >ARIMA (3, 1, 0)</th></tr></thead><tr><td align="center" valign="middle" >AIC</td><td align="center" valign="middle" >535.51</td><td align="center" valign="middle" >535.55</td><td align="center" valign="middle" >537.31</td><td align="center" valign="middle" >537.44</td><td align="center" valign="middle" >537.81</td><td align="center" valign="middle" >538.81</td><td align="center" valign="middle" >538.93</td><td align="center" valign="middle" >539.29</td></tr><tr><td align="center" valign="middle" >Rank</td><td align="center" valign="middle" >1</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >5</td><td align="center" valign="middle" >6</td><td align="center" valign="middle" >7</td><td align="center" valign="middle" >8</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" >**</td><td align="center" valign="middle" >****</td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Tentative model</td><td align="center" valign="middle" >ARIMA (2, 1, 1)</td><td align="center" valign="middle" >ARIMA (0, 1, 3)</td><td align="center" valign="middle" >ARIMA (1, 1, 3)</td><td align="center" valign="middle" >ARIMA (3, 1, 1)</td><td align="center" valign="middle" >ARIMA (0, 1, 4)</td><td align="center" valign="middle" >ARIMA (4, 1, 0)</td><td align="center" valign="middle" >ARIMA (4, 1, 1)</td><td align="center" valign="middle" >ARIMA (1, 1, 4)</td></tr><tr><td align="center" valign="middle" >AIC</td><td align="center" valign="middle" >539.3</td><td align="center" valign="middle" >539.29</td><td align="center" valign="middle" >540.77</td><td align="center" valign="middle" >540.78</td><td align="center" valign="middle" >541.12</td><td align="center" valign="middle" >541.28</td><td align="center" valign="middle" >542.72</td><td align="center" valign="middle" >543.28</td></tr><tr><td align="center" valign="middle" >Rank</td><td align="center" valign="middle" >9</td><td align="center" valign="middle" >10</td><td align="center" valign="middle" >11</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >15</td><td align="center" valign="middle" >16</td></tr><tr><td align="center" valign="middle" >Tentative model</td><td align="center" valign="middle" >ARIMA (3, 1, 2)</td><td align="center" valign="middle" >ARIMA (3, 1, 3)</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >AIC</td><td align="center" valign="middle" >543.29</td><td align="center" valign="middle" >544.17</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr><tr><td align="center" valign="middle" >Rank</td><td align="center" valign="middle" >17</td><td align="center" valign="middle" >18</td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap><p>Note: *Number of significant parameters and lesser prediction errors</p><table-wrap-group id="7"><label><xref ref-type="table" rid="table7">Table 7</xref></label><caption><title> (a) Model Information for ARIMA (2,1,2); (b). p-values for estimated coefficients</title></caption><table-wrap id="7_1"><caption><title> (b)</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="5"  >Model information:</th></tr></thead><tr><td align="center" valign="middle" >parameters:</td><td align="center" valign="middle" >s.e.</td><td align="center" valign="middle" >sigma<sup>2</sup></td><td align="center" valign="middle" >log likelihood</td><td align="center" valign="middle" >AIC</td></tr><tr><td align="center" valign="middle" >ar1 = −1.0536 ar2 = −0.9947 ma1 = 1.0907 ma2 = 0.9983</td><td align="center" valign="middle" >0.0881 0.0258 0.1881 0.1942</td><td align="center" valign="middle" >198,508</td><td align="center" valign="middle" >−264.47</td><td align="center" valign="middle" >538.93</td></tr></tbody></table></table-wrap><table-wrap id="7_2"><caption><title></title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Variables</th><th align="center" valign="middle" >Coefficients</th><th align="center" valign="middle" >p-value</th></tr></thead><tr><td align="center" valign="middle" >AR(1)</td><td align="center" valign="middle" >−1.0536</td><td align="center" valign="middle" >0*</td></tr><tr><td align="center" valign="middle" >AR(2)</td><td align="center" valign="middle" >−0.9947</td><td align="center" valign="middle" >0*</td></tr><tr><td align="center" valign="middle" >MA(1)</td><td align="center" valign="middle" >1.0907</td><td align="center" valign="middle" >0.000000006720324*</td></tr><tr><td align="center" valign="middle" >MA(2)</td><td align="center" valign="middle" >0.9983</td><td align="center" valign="middle" >0.0000002724817*</td></tr></tbody></table></table-wrap></table-wrap-group><p>Note: *implies p-value &lt; 0.05 hence significant coefficient.</p><p>5% significance level. Hence the fitted ARIMA (2, 1, 2) using equation 11 was;</p><p>X ⌢ t = 1.0907 ε t − 1 + 0.9983 ε t − 2 − 1.0536 X t − 1 − 0.9947 X t − 2 (18)</p><p><xref ref-type="fig" rid="fig6">Figure 6</xref> is a plot of the fitted model to the observed SCH imports which shows that the model fluctuates so closely to the actual SHC imports.</p></sec><sec id="s3_2_3"><title>3.2.3. Diagnostic Checking</title><p>The model with best fit was identified by analysis of residuals to ensure they form a white noise process. The ACF of residual, the Q-Q plot and the histogram of residuals were used to show that the residuals of the fit form a white noise process. <xref ref-type="fig" rid="fig7">Figure 7</xref> below shows that the residual are white noise and all p-values of the Ljung Box test are greater than 0.05. Hence ARIMA (2, 1, 2) is indeed the best fit model.</p></sec></sec><sec id="s3_3"><title>3.3. Discussion</title><p>The preceding sections revealed that of the three Exponential Smoothing techniques used for this analysis that is SES, DES and TED, SES was chosen as fitting the SHC imports data better than DES and TES. Its fitted model was estimated to be</p><p>F t + 1 = 0.9104 Y t + 0.0896 F t .</p><p>It was also revealed that ARIMA (2, 1, 2) fitted the data well as compared to other tentative ARIMA models suggested. ARIMA (2, 1, 2) was estimated to be</p><p>Y ^ t = 1.0907 ε t − 1 + 0.9983 ε t − 2 − 1.0536 Y t − 1 − 0.9947 Y t − 2 .</p><p>But then the question remains as to what is the best fit for the SHC imports</p><table-wrap id="table8" ><label><xref ref-type="table" rid="table8">Table 8</xref></label><caption><title> Criteria for selecting the better model between SES, DES, TES and ARIMA</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Measures of accuracy (Errors)</th><th align="center" valign="middle" >SES</th><th align="center" valign="middle" >DES</th><th align="center" valign="middle" >TES</th><th align="center" valign="middle" >ARIMA</th></tr></thead><tr><td align="center" valign="middle" >RMSE</td><td align="center" valign="middle" >480.0931</td><td align="center" valign="middle" >465.3511</td><td align="center" valign="middle" >580.6247</td><td align="center" valign="middle" >439.3114*</td></tr><tr><td align="center" valign="middle" >MAE</td><td align="center" valign="middle" >358.1159</td><td align="center" valign="middle" >366.8639</td><td align="center" valign="middle" >372.0239</td><td align="center" valign="middle" >325.0751*</td></tr><tr><td align="center" valign="middle" >MPE</td><td align="center" valign="middle" >−5.300821*</td><td align="center" valign="middle" >−0.09889986</td><td align="center" valign="middle" >0.7725993</td><td align="center" valign="middle" >−4.472449</td></tr><tr><td align="center" valign="middle" >MAPE</td><td align="center" valign="middle" >15.39877</td><td align="center" valign="middle" >15.67945</td><td align="center" valign="middle" >18.14711</td><td align="center" valign="middle" >13.46418*</td></tr><tr><td align="center" valign="middle" >Model ranking</td><td align="center" valign="middle" >2</td><td align="center" valign="middle" >3</td><td align="center" valign="middle" >4</td><td align="center" valign="middle" >1</td></tr></tbody></table></table-wrap><p>Note: Smaller error (*) implies better fit.</p><p>data of all the four considered in this report as highlighted in <xref ref-type="fig" rid="fig1">Figure 1</xref>. The accuracy of each fit was evaluated by using four metrics, as discussed in the preceding section. Each approach was applied to determine and rank the performances of the models for the given time series. <xref ref-type="table" rid="table8">Table 8</xref> summarizes the four models and their forecasting performances.</p><p>The results indicate that the ARIMA model performs better than either of the other models for this given time series. The ARIMA (2, 1, 2) has more smaller prediction errors than the SES and so it was rightfully concluded that ARIMA (2, 1, 2) is the best model fit for the SHC imports data. Thus it can be used to even forecast future imports of SHCs.Note, however, that although the SES model exhibits the second best forecast after that of the ARIMA model, the performance of each model relies on the data used.</p><p>Here, it should be noted that differences between their performances are related to the differences between the methods of determining forecasts in the ES and in the ARIMA models. The forecasting method in the ES models relies on a weighted average of the past observed values in which the weights decline exponentially. This basically implies that the data for more recent observations contribute significantly more than the previous data does. The ARIMA model, however, has three parts: autoregression, integration and moving average, with the future value of a variable being a linear combination of the past values and the associated errors.</p></sec></sec><sec id="s4"><title>4. Forecasting</title><p>Forecasting is usually the last stage in time series analysis as stated in <xref ref-type="fig" rid="fig1">Figure 1</xref>. It plays a significant role in planning and decision making to policy makers. When both current and future events are taken into account, near perfect to perfect decisions are made by those in whom powers are bestowed of decision making. Thus, no matter how uncertain forecasts might appear, they need not be ignored and decision maker are compelled never to ignore forecasts because of their vital nature on the entire process. Hence, <xref ref-type="table" rid="table9">Table 9</xref> shows forecasts of 18 months (from January 2017 to June 2018).</p><p><xref ref-type="fig" rid="fig8">Figure 8</xref> is a graphical representation of the forecast for ARIMA (2, 1, 2) for a future period of 18 months starting at January 2017.</p></sec><sec id="s5"><title>5. Conclusion</title><p>Zambia largely depends on the international second-hand car market for their motor vehicle supply. In this paper, monthly time series data on second hand car</p><table-wrap id="table9" ><label><xref ref-type="table" rid="table9">Table 9</xref></label><caption><title> ARIMA (2, 1, 2) forecasts for the next 18 months</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Time (months)</th><th align="center" valign="middle" >Point Forecast</th><th align="center" valign="middle" >Lo 80</th><th align="center" valign="middle" >Hi 80</th><th align="center" valign="middle" >Lo 95</th><th align="center" valign="middle" >Hi 95</th></tr></thead><tr><td align="center" valign="middle" >Jan 2017</td><td align="center" valign="middle" >2045.993</td><td align="center" valign="middle" >1463.52478</td><td align="center" valign="middle" >2628.462</td><td align="center" valign="middle" >1155.18458</td><td align="center" valign="middle" >2936.802</td></tr><tr><td align="center" valign="middle" >Feb 2017</td><td align="center" valign="middle" >2047.141</td><td align="center" valign="middle" >1217.04098</td><td align="center" valign="middle" >2877.242</td><td align="center" valign="middle" >777. 61237</td><td align="center" valign="middle" >3316.670</td></tr><tr><td align="center" valign="middle" >Mar 2017</td><td align="center" valign="middle" >2237.907</td><td align="center" valign="middle" >1236.01893</td><td align="center" valign="middle" >3239.796</td><td align="center" valign="middle" >705.65127</td><td align="center" valign="middle" >3770.163</td></tr><tr><td align="center" valign="middle" >Apr 2017</td><td align="center" valign="middle" >2035.770</td><td align="center" valign="middle" >876.03471</td><td align="center" valign="middle" >3195.505</td><td align="center" valign="middle" >262.10811</td><td align="center" valign="middle" >3809.431</td></tr><tr><td align="center" valign="middle" >May 2017</td><td align="center" valign="middle" >2059.000</td><td align="center" valign="middle" >757.79151</td><td align="center" valign="middle" >3360.209</td><td align="center" valign="middle" >68.97329</td><td align="center" valign="middle" >4049.027</td></tr><tr><td align="center" valign="middle" >Jun 2017</td><td align="center" valign="middle" >2235.582</td><td align="center" valign="middle" >818.66531</td><td align="center" valign="middle" >3652.498</td><td align="center" valign="middle" >68.59512</td><td align="center" valign="middle" >4402.568</td></tr><tr><td align="center" valign="middle" >Jul 2017</td><td align="center" valign="middle" >2026.425</td><td align="center" valign="middle" >493.22452</td><td align="center" valign="middle" >3559.625</td><td align="center" valign="middle" >−318.40260</td><td align="center" valign="middle" >4371.252</td></tr><tr><td align="center" valign="middle" >Aug 2017</td><td align="center" valign="middle" >2071.159</td><td align="center" valign="middle" >428.86885</td><td align="center" valign="middle" >3713.450</td><td align="center" valign="middle" >−440.50729</td><td align="center" valign="middle" >4582.826</td></tr><tr><td align="center" valign="middle" >Sep 2017</td><td align="center" valign="middle" >2232.065</td><td align="center" valign="middle" >496.66342</td><td align="center" valign="middle" >3967.467</td><td align="center" valign="middle" >−422.00285</td><td align="center" valign="middle" >4886.133</td></tr><tr><td align="center" valign="middle" >Oct 2017</td><td align="center" valign="middle" >2018.035</td><td align="center" valign="middle" >185.98431</td><td align="center" valign="middle" >3850.086</td><td align="center" valign="middle" >−783.84482</td><td align="center" valign="middle" >4819.915</td></tr><tr><td align="center" valign="middle" >Nov 2017</td><td align="center" valign="middle" >2083.496</td><td align="center" valign="middle" >159.69855</td><td align="center" valign="middle" >4007.294</td><td align="center" valign="middle" >−858.69851</td><td align="center" valign="middle" >5025.691</td></tr><tr><td align="center" valign="middle" >Dec 2017</td><td align="center" valign="middle" >2227.411</td><td align="center" valign="middle" >223.49336</td><td align="center" valign="middle" >4231.330</td><td align="center" valign="middle" >−837.31682</td><td align="center" valign="middle" >5292.140</td></tr><tr><td align="center" valign="middle" >Jan 2018</td><td align="center" valign="middle" >2010.667</td><td align="center" valign="middle" >−77.89577</td><td align="center" valign="middle" >4099.231</td><td align="center" valign="middle" >−1183.51437</td><td align="center" valign="middle" >5204.849</td></tr><tr><td align="center" valign="middle" >Feb 2018</td><td align="center" valign="middle" >2095.888</td><td align="center" valign="middle" >−73.16495</td><td align="center" valign="middle" >4264.941</td><td align="center" valign="middle" >−1221.39227</td><td align="center" valign="middle" >5413.168</td></tr><tr><td align="center" valign="middle" >Mar 2018</td><td align="center" valign="middle" >2221.684</td><td align="center" valign="middle" >−18.82067</td><td align="center" valign="middle" >4462.188</td><td align="center" valign="middle" >−1204.87199</td><td align="center" valign="middle" >5648.239</td></tr><tr><td align="center" valign="middle" >Apr 2018</td><td align="center" valign="middle" >2004.377</td><td align="center" valign="middle" >−312.46350</td><td align="center" valign="middle" >4321.218</td><td align="center" valign="middle" >−1538.92478</td><td align="center" valign="middle" >5547.679</td></tr><tr><td align="center" valign="middle" >May 2018</td><td align="center" valign="middle" >2108.213</td><td align="center" valign="middle" >−281.03488</td><td align="center" valign="middle" >4497.461</td><td align="center" valign="middle" >−1545.82639</td><td align="center" valign="middle" >5762.253</td></tr><tr><td align="center" valign="middle" >Jun 2018</td><td align="center" valign="middle" >2214.954</td><td align="center" valign="middle" >−239.45714</td><td align="center" valign="middle" >4669.366</td><td align="center" valign="middle" >−1538.74416</td><td align="center" valign="middle" >5968.653</td></tr></tbody></table></table-wrap><p>(SHC) importation was analyzed using SES, DES, TES and ARIMA techniques. The quality of all the techniques was determined by comparing each one of the fitted model’s predictive power with the observed data. The results showed that ARIMA (2, 1, 2) was the best fit for the SHC importation because its errors were smaller than those of the SES, DES and TES. The four error measures used were RMSE, MAE, MPE and MAPE. The forecasts were also produced using the ARIMA (2, 1, 2) model for the next 18 months from January 2017. Although there is percentage increase of 90.6% from November 2015 to December 2016, the SHC importation generally has been on the decrease in Zambia with percentage change of 59.5% from January 2014 to December 2016. The forecasts also show a gradual percentage decrease of 1.12% by June 2018. Ultimately, these results can be used by Government departments like Zambia Revenue Authority and Road Development Agency in the bid to plan and execute their duties effectively.</p></sec><sec id="s6"><title>Cite this paper</title><p>Jere, S., Kasense, B. and Bwalya, B.B. (2017) Univariate Time-Series Analysis of Second-Hand Car Importation in Zambia. Open Journal of Statistics, 7, 718-730. https://doi.org/10.4236/ojs.2017.74050</p></sec></body><back><ref-list><title>References</title><ref id="scirp.78762-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Dargay, J., Dermot, G. and Martin, S. (2007) Vehicle Ownership and Income Growth, Worldwide: 1960-2030. Energy Journal, 28, 143-170. 
https://doi.org/10.5547/ISSN0195-6574-EJ-Vol28-No4-7</mixed-citation></ref><ref id="scirp.78762-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Davis, L.W. and Kahn, M.E. (2011) Cash for Clunkers? The Environmental Impact of Mexico’s Demand for Used Vehicles. Access, No. 38, 15.  
http://www.accessmagazine.org/articles/spring-2011/cash-clunkers-environmental-impact-mexicos-demand-used-vehicles/</mixed-citation></ref><ref id="scirp.78762-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Chikuba, Z. (2014) Zambia Institute for Policy Analysis and Research (ZIPAR). Used Motor Vehicle Imports and the Impact on Transportation in Zambia. Working Paper No. 21.</mixed-citation></ref><ref id="scirp.78762-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Kamau, H. (2014) Trade in Second-Hand Vehicles: Sustainable Transport Africa.</mixed-citation></ref><ref id="scirp.78762-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Gardener, E.S. (1985) Exponential Smoothing—The State of the Art. Journal of Forecasting, 4, 1-28. https://doi.org/10.1002/for.3980040103</mixed-citation></ref><ref id="scirp.78762-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Box, G. and Jenkins, G. (1970) Time Series Analysis: Forecasting and Control. Holden-Day, San Francisco.</mixed-citation></ref><ref id="scirp.78762-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">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. 
https://doi.org/10.4236/ajor.2016.63023</mixed-citation></ref></ref-list></back></article>