<?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">JDAIP</journal-id><journal-title-group><journal-title>Journal of Data Analysis and Information Processing</journal-title></journal-title-group><issn pub-type="epub">2327-7211</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/jdaip.2014.22007</article-id><article-id pub-id-type="publisher-id">JDAIP-46380</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>COMPUTER SCIENCE &amp; COMMUNICATIONS</subject><subject>PHYSICS &amp; MATHEMATICS</subject></subj-group></article-categories><title-group><article-title>Time Series Modelling with Application to Tanzania Inflation Data</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Edward</surname><given-names>Ngailo</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>Eliab</surname><given-names>Luvanda</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Estomih</surname><given-names>S. Massawe</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff3"><addr-line>Department of Mathematics, University of Dares Salaam, Dares Salaam, Tanzania</addr-line></aff><aff id="aff2"><addr-line>Department of Economics, University of Dares Salaam, Dares Salaam, Tanzania</addr-line></aff><aff id="aff1"><addr-line>Dares Salaam University College of Education, Dares Salaam, Tanzania</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>estomihmassawe@yahoo.com(ESM)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>28</day><month>05</month><year>2014</year></pub-date><volume>02</volume><issue>02</issue><fpage>49</fpage><lpage>59</lpage><history><date date-type="received"><day>18</day>	<month>March</month>	<year>2014</year></date><date date-type="rev-recd"><day>20</day>	<month>April</month>	<year>2014</year>	</date><date date-type="accepted"><day>11</day>	<month>May</month>	<year>2014</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>
	In this paper, time series modelling is examined with a special application to modelling inflation data in Tanzania. In particular the theory of univariate non linear time series analysis is explored and applied to the inflation data spanning from January 1997 to December 2010. Time series models namely, the autoregressive conditional heteroscedastic (ARCH) (with their extensions to the generalized autoregressive conditional heteroscedasticity ARCH (GARCH)) models are fitted to the data. The stages in the model building namely, identification, estimation and checking have been explored and applied to the data. The best fitting model is selected based on how well the model captures the stochastic variation in the data (goodness of fit). The goodness of fit is assessed through the Akaike Information Criteria (AIC), Bayesian Information Criteria (BIC) and minimum standard error (MSE). Based on minimum AIC and BIC values, the best fit GARCH models tend to be GARCH(1,1) and GARCH(1,2). After estimation of the parameters of selected models, a series of diagnostic and forecast accuracy test are performed. Having satisfied with all the model assumptions, GARCH(1,1) model is found to be the best model for forecasting. Based on the selected model, twelve months inflation rates of Tanzania are forecasted in sample period (that is from January 2010 to December 2010). From the results, it is observed that the forecasted series are close to the actual data series.
</p></abstract><kwd-group><kwd>Time Series</kwd><kwd> Inflation</kwd><kwd> Autoregressive</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The concept of time series is based on the historical observations. It involves explaining past observations in order to try to predict those in the future [<xref ref-type="bibr" rid="scirp.46380-ref1">1</xref>] . A time series is a collection of observations measured sequentially through time. These measurements may be made continuously through time or be taken at a discrete set of time points [<xref ref-type="bibr" rid="scirp.46380-ref2">2</xref>] .</p><p>Inflation as described by [<xref ref-type="bibr" rid="scirp.46380-ref3">3</xref>] is the persistent increase in the level of consumer prices or persistent decline in the purchasing power of money. Inflation can also be expressed as a situation where the demand for goods and services exceeds their supply in the economy [<xref ref-type="bibr" rid="scirp.46380-ref4">4</xref>] . In reality inflation means that your money can not buy as much as what it could have bought yesterday.</p><p>In recent years, inflation has become one of the major economic challenges facing most countries in the world especially those in Africa including Tanzania. Inflation is a major focus of economic policy worldwide as de- scribed by [<xref ref-type="bibr" rid="scirp.46380-ref5">5</xref>] . Inflation dynamics and evolution can be studied using a stochastic modelling approach that cap- tures the time dependent structure embedded in the time series inflation data. The autoregressive conditional he- teroscedasticity (ARCH) models, with its extension to generalized autoregressive conditional heteroscedasticity (GARCH) models as introduced by [<xref ref-type="bibr" rid="scirp.46380-ref6">6</xref>] and [<xref ref-type="bibr" rid="scirp.46380-ref7">7</xref>] respectively accommodate the dynamics of conditional heteros- cedasticity (the changing variance nature of the data). Heteroscedasticity affects the accuracy of forecast confi- dence limits and thus has to be handled properly by constructing appropriate non-constant variance models [<xref ref-type="bibr" rid="scirp.46380-ref8">8</xref>] .</p><p>The most common way of measuring inflation is the consumer price index (CPI) over monthly, quarterly or yearly. The inflation rate <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ee62d9a2-77a3-4fef-94ce-4395407a75ce.png" xlink:type="simple"/></inline-formula> at time <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\f7ea39f9-a3e2-4e19-83e8-3331aa2a35de.png" xlink:type="simple"/></inline-formula> is calculated as</p><disp-formula id="scirp.46380-formula3634"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0865cc14-10be-4463-9cb0-2dfafd766574.png"/></disp-formula><p>where</p><p><inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\7cef235a-d9be-4ff4-be8c-89340dea54b6.png" xlink:type="simple"/></inline-formula>is the current average price level of an economic basket of goods and services;</p><p><inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\8ee6b6e8-84f7-437f-86f2-7f89caee12cd.png" xlink:type="simple"/></inline-formula>is the average price level of the basket a year ago.</p><p>Within time series modelling, there are two approaches available for forecasting: the univariate and multiva- riate. In particular this paper will forecast future values of inflation time series data using the univariate fore- casting approach, in which forecasts depend only on present and past values of a single series being forecasted.</p></sec><sec id="s2"><title>2. Conditional Heteroscedasticity: Arch-Garch Models</title><p>Let <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\6065d8c2-0464-4ecd-aedc-a101bdad1af6.png" xlink:type="simple"/></inline-formula> be the mean-corrected return or rate of inflation, <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e425bfe7-6e0b-453b-92f8-58a583143e3c.png" xlink:type="simple"/></inline-formula>be the Gaussian white noise with zero mean and unit variance and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4318a97c-993f-43c9-ad60-1cbd52b289ff.png" xlink:type="simple"/></inline-formula> be the information set at time <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\07b13216-b9df-4139-b815-9a1d90fc414b.png" xlink:type="simple"/></inline-formula> given by<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c4fae28a-21b3-4a5e-9a6d-34381fb7a37f.png" xlink:type="simple"/></inline-formula>. Then according to Engle [<xref ref-type="bibr" rid="scirp.46380-ref6">6</xref>] , the process <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\de805669-58ac-47b1-8cc8-4a2cfa24b408.png" xlink:type="simple"/></inline-formula> is ARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4dcbf34f-7f17-4932-b9b3-7cc5841ea2d6.png" xlink:type="simple"/></inline-formula> if</p><disp-formula id="scirp.46380-formula3635"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ca07d0a4-43b3-4091-92f9-26766cf1e9e2.png"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\389e457c-ab44-4922-9b3f-892dcb766e23.png" xlink:type="simple"/></inline-formula> is the standard deviation and</p><disp-formula id="scirp.46380-formula3636"><label>(1)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\9258ca41-6f91-44df-bed4-058c514fd629.png"/></disp-formula><disp-formula id="scirp.46380-formula3637"><label>(2)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\adfb3ddb-b2d5-40b9-b699-678184b82b14.png"/></disp-formula><p>and the error term <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\f6b3031c-23af-4aee-89a8-0be3e6eaad89.png" xlink:type="simple"/></inline-formula> is such that</p><disp-formula id="scirp.46380-formula3638"><label>(3)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\6d1c69b8-35f0-4848-a01e-5282662377e5.png"/></disp-formula><disp-formula id="scirp.46380-formula3639"><label>(4)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e588fb66-bacb-435d-91e3-0e037795ceb8.png"/></disp-formula><p>with non-negativity condition that <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\b5df0669-0771-4971-ae2f-e975cf26422c.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\a564cd19-5108-419b-b09a-e8c8e568e22b.png" xlink:type="simple"/></inline-formula> for all <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\71a758df-5ebf-4bb0-b72f-dc1f02559294.png" xlink:type="simple"/></inline-formula></p><p>The ARCH (1) model is a particular case of the general ARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\5934cf53-68ee-464c-9fe2-d2018dae8036.png" xlink:type="simple"/></inline-formula> model given by</p><disp-formula id="scirp.46380-formula3640"><label>(5)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\2cb50325-496e-4927-92fb-a945cd70ce18.png"/></disp-formula><p>with non-negativity condition that <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\a8aaef6d-12c1-4cba-ac78-103696095914.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ce5c8a06-0a9c-49a5-801e-574389dc6287.png" xlink:type="simple"/></inline-formula>. <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\454f11a2-414d-4fa1-9a06-c86256bebbbb.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c2168ce6-edab-44ac-8cf1-c392c3c95f62.png" xlink:type="simple"/></inline-formula> are unknown parameters.</p><sec id="s2_1"><title>Forecasting with the ARCH Model</title><p>The ARCH models provide good estimates of the series before it is realized. Let <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e784b376-acec-4c87-bf43-853e7825373f.png" xlink:type="simple"/></inline-formula> be an observed time series. Then the l-step ahead forecast, for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\05da9413-ad72-4a4e-a777-6083cefe059c.png" xlink:type="simple"/></inline-formula> at the origin<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\8906a729-24ee-4219-b03c-d45a96c6b4c9.png" xlink:type="simple"/></inline-formula>, denoted by<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\1a772011-16e4-4028-bf2d-398f03b6b7f1.png" xlink:type="simple"/></inline-formula>, is taken to be the</p><p>minimum mean squared error prediction, that is <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c98b25d5-6291-41cb-b244-1560eb066051.png" xlink:type="simple"/></inline-formula> minimizes <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\81888571-c295-483f-9940-956f2ce60308.png" xlink:type="simple"/></inline-formula> where <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e3023db4-42ab-4382-9bd0-dae41311c6f5.png" xlink:type="simple"/></inline-formula> is a function</p><p>of the observations. Then according to [<xref ref-type="bibr" rid="scirp.46380-ref9">9</xref>] ,</p><disp-formula id="scirp.46380-formula3641"><label>(6)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\3e0f3899-82f3-4a5f-8c9c-38da0cfa493f.png"/></disp-formula><p>The forecasts for the <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\736ac70a-60ad-4375-8b32-13426c638b40.png" xlink:type="simple"/></inline-formula> series do not provide helpful information. It is therefore more useful to consider the squared returns <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\1e1f1836-c6de-4ca3-bc19-6a2aa9d431e3.png" xlink:type="simple"/></inline-formula> given by</p><disp-formula id="scirp.46380-formula3642"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\15585b10-2e1a-4be7-9136-a23aae5439af.png"/></disp-formula><p>[<xref ref-type="bibr" rid="scirp.46380-ref10">10</xref>] . The l-step ahead forecast for the <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e55c1789-a451-47df-9375-7f58ced082e0.png" xlink:type="simple"/></inline-formula> is given by</p><disp-formula id="scirp.46380-formula3643"><label>(7)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\efe72693-1bf5-419b-a396-2c303f0b3ce9.png"/></disp-formula><p>The obvious possible problem in using the ARCH formulation is that the approach can lead to a highly para- metric model if the <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\048895b3-7993-4a68-a9a5-29f1ae05abd0.png" xlink:type="simple"/></inline-formula> is large. This necessitates the use of the GARCH model as an extension to the ARCH model.</p></sec></sec><sec id="s3"><title>3. The GARCH Model</title><p>A process <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\bae9d002-665e-4895-a098-4123d9d49cc9.png" xlink:type="simple"/></inline-formula> is GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\2842ff20-4fbd-4358-afa3-164a6187dd02.png" xlink:type="simple"/></inline-formula> if</p><disp-formula id="scirp.46380-formula3644"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4fc2c168-2e8a-4877-8758-18331049e4f9.png"/></disp-formula><disp-formula id="scirp.46380-formula3645"><label>(8)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\30fc3dc8-4e28-443b-9618-65b551bbd8ea.png"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e5f8c9d9-2301-4c93-abad-e1eb9a6e1e6e.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\99ef8ab1-e2f5-430b-9f3b-7688ce89f570.png" xlink:type="simple"/></inline-formula> are polynomials in the backshift operator given by</p><disp-formula id="scirp.46380-formula3646"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\1c99be11-9bd0-4e05-8605-c228951fac32.png"/></disp-formula><disp-formula id="scirp.46380-formula3647"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\1c99be11-9bd0-4e05-8605-c228951fac32.png"/></disp-formula><p>with the restrictions <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\b4adc1f0-1270-4776-a514-0224aaf4ee6c.png" xlink:type="simple"/></inline-formula> <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\768ceb86-b16e-474c-9e49-adbd5dc6eead.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0f1c955d-5d63-4994-ac9c-c2d86c708d1d.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\2a407f8b-2f5d-4d07-b96b-01a460e31670.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\defab5f9-4794-4a91-90df-9d3a64589f4e.png" xlink:type="simple"/></inline-formula> being imposed in order to have the conditional variance remaining positive. Equation (8) can be expressed as</p><disp-formula id="scirp.46380-formula3648"><label>(9)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c32a5b96-c853-43ad-ab9c-82947c2e9edf.png"/></disp-formula><p>The GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\cc347f53-e567-4050-8a59-6d6b971a630b.png" xlink:type="simple"/></inline-formula> model does not show autocorrelation in the return series<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\8162787a-3547-4f5b-be67-304bb42ef611.png" xlink:type="simple"/></inline-formula>. However the squared returns show autocorrelation even though the returns are not correlated. Writing <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\6f554457-804f-4ca6-8dc7-9d786a0090ec.png" xlink:type="simple"/></inline-formula> in terms of <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\bcd2be38-ea49-4402-bbb1-a3cc75ae79d7.png" xlink:type="simple"/></inline-formula> yields</p><disp-formula id="scirp.46380-formula3649"><label>(10)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0ac7b234-cfaa-46b7-b0d6-9c0ee2b66479.png"/></disp-formula><p>Let<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\30aff40b-3718-4cc7-84cc-182f6f7868fb.png" xlink:type="simple"/></inline-formula>. Then</p><disp-formula id="scirp.46380-formula3650"><label>(11)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0cd1d895-97a0-4181-8259-c19d66d3b646.png"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e143c508-c31c-4891-beb7-897252b9fba3.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\80bcd018-69b5-41d7-8e04-48fc4236ca58.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\59370057-2bb3-47e9-bc93-7448d9f33914.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\f5f4b9d8-50c1-4046-b822-5ce9baa336b0.png" xlink:type="simple"/></inline-formula>. Thus the equation of <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4d4cbb5b-80ce-4cb5-bfc6-966184aafe2b.png" xlink:type="simple"/></inline-formula> has an autoregressive moving average ARMA<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\303fa15e-9bd6-4888-89c2-fb03041647f3.png" xlink:type="simple"/></inline-formula> representation.</p><p>In order to find the GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\de5c341e-be9a-43e7-9f81-7db85a3d33c4.png" xlink:type="simple"/></inline-formula> process, we consider solving for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\d66ebea8-e199-4970-8535-ee62f946a9fb.png" xlink:type="simple"/></inline-formula> in Equation (8) and let the variance of <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\fb66bbe3-0898-4f36-aba9-0d28905ea75f.png" xlink:type="simple"/></inline-formula> be<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0824fe39-9ca6-4ce3-a4e5-82e295fa567c.png" xlink:type="simple"/></inline-formula>, getting</p><disp-formula id="scirp.46380-formula3651"><label>. (12)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\087d0477-f021-41ce-9dbc-5c04d41c30b3.png"/></disp-formula><p>Substituting Equation (12) into the Equation (11) one gets</p><disp-formula id="scirp.46380-formula3652"><label>(13)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0fee928b-9db3-4afc-adf8-5dc53c0f51f3.png"/></disp-formula><p>Therefore</p><disp-formula id="scirp.46380-formula3653"><label>(14)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\9cde5903-352f-41f6-8e89-4aa81a9142a8.png"/></disp-formula><p>Multiplying both sides of Equation (14) by <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\32ec3b12-7c48-410d-9894-eeb37e15183c.png" xlink:type="simple"/></inline-formula> and taking expectations we get</p><disp-formula id="scirp.46380-formula3654"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\dd6be515-c040-44c4-947e-85f5590f2963.png"/></disp-formula><p>But</p><disp-formula id="scirp.46380-formula3655"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\d7226b86-fa6b-4214-ba3e-eed729246adb.png"/></disp-formula><p>and since <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\74601091-5961-47ea-9fed-e14391fc0be4.png" xlink:type="simple"/></inline-formula> is a martingale difference, also</p><p><inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\06ccf4b8-1e62-4d62-8b0e-09ccf0adf0b0.png" xlink:type="simple"/></inline-formula>for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\a0e06b48-27a0-47fa-8330-15cc7b2fd5ed.png" xlink:type="simple"/></inline-formula></p><p>Thus the autocovariance of the squared returns for the GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\af212cca-c230-4968-bd66-5a43704950e8.png" xlink:type="simple"/></inline-formula> model is given by</p><disp-formula id="scirp.46380-formula3656"><label>(15)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e0bf0ccc-7d1d-44af-bd09-1bcb840cda9f.png"/></disp-formula><p>Dividing both sides of Equation (15) by <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\d97ef7f8-f6ee-4649-8a44-96d54019d422.png" xlink:type="simple"/></inline-formula> gives the autocorrelation function at <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\a447b90d-c613-43e3-8b23-31ab2dca538a.png" xlink:type="simple"/></inline-formula> as</p><disp-formula id="scirp.46380-formula3657"><label>. (16)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\de99ac2e-a652-4267-8c73-f67e630c5924.png"/></disp-formula><p>Letting <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\b72cf549-cd20-4282-bc5c-0a33cc37b6f3.png" xlink:type="simple"/></inline-formula> to denote the <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\a5f278b9-e011-4605-818c-be7a27026884.png" xlink:type="simple"/></inline-formula> partial autocorrelation for<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\daaa97d1-c490-4220-95d8-42caa731902c.png" xlink:type="simple"/></inline-formula>, Equation (16) can be written as</p><disp-formula id="scirp.46380-formula3658"><label>(17)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c3bbf062-4f52-45fa-beed-e089011db6cd.png"/></disp-formula><p>By Equation (17), <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4d433b2b-6ee0-4361-ada6-0acc003c2188.png" xlink:type="simple"/></inline-formula>cuts off after <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4f215c4e-810c-4508-8a45-33cfd789c571.png" xlink:type="simple"/></inline-formula> for an ARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\9e4cf089-1b82-4203-b242-4108ef08184e.png" xlink:type="simple"/></inline-formula> process such that <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e0f7568b-bb09-487e-b4a0-da00a581a9e2.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\19965e4d-5106-40ab-b8a9-dd852963b18e.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e66984a4-4fbd-48cf-b138-dab4832ee8fb.png" xlink:type="simple"/></inline-formula> for<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c8b402f3-3ebb-472f-bfa7-6bafe13930e4.png" xlink:type="simple"/></inline-formula>. This is identical to the partial ACF (PACF) for an AR<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\58b60f46-9629-4534-8a02-cfc26062d846.png" xlink:type="simple"/></inline-formula> process and decays exponentially [<xref ref-type="bibr" rid="scirp.46380-ref11">11</xref>] .</p><p>Assuming <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\cb588842-f51b-4cb2-ae81-321b5e0922b4.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ec94bb38-9622-48b8-b2ce-56c3f78a52b8.png" xlink:type="simple"/></inline-formula> are known, the conditional maximum likelihood estimates of the GARCH Model can be obtained by maximizing the conditional log-likelihood given by</p><disp-formula id="scirp.46380-formula3659"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\2c4a9810-c197-4dda-86d5-77f5f945f670.png"/></disp-formula><p>with <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4bb450ae-7fb5-4d00-945f-e3ce0499c53e.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\0498775f-629c-422d-ad39-4d7a88acc6e0.png" xlink:type="simple"/></inline-formula></p><sec id="s3_1"><title>Forecasting with GARCH(p,q) Models</title><p>The l-step ahead forecast of the conditional variance in a GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\86f48509-e007-459a-9db2-730d1b2bbfd4.png" xlink:type="simple"/></inline-formula> model is given by</p><disp-formula id="scirp.46380-formula3660"><label>(18)</label><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\77ce09ec-b29d-4539-979d-60068183f245.png"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\a8b5ce5f-2217-4a84-94f7-5ed6538939cd.png" xlink:type="simple"/></inline-formula> for <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c8443935-7c45-4554-9212-1e7308b6c4e4.png" xlink:type="simple"/></inline-formula> is given recursively by</p><disp-formula id="scirp.46380-formula3661"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\35db8687-d330-4fc6-9e2d-f4a571b21fc2.png"/></disp-formula></sec></sec><sec id="s4"><title>4. Data Analysis</title><p>This section is dedicated to fitting the GARCH family of models to the Tanzania inflation rate data which we obtained from the Tanzania National Bureau of Statistics. The original data set consist of 168 monthly observa- tions of the Tanzania inflation rates spanning from January 1997 to December 2010 as shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p><sec id="s4_1"><title>4.1. Pre-Estimation Analysis</title><p>To avoid the difficulties of possible premature convergence we perform a pre-fit analysis. This will lead to selecting the appropriate model that adequately describes the data. In this pre-estimation or pre-fit analysis, data are loaded in the form of a price series, and then converted to a return series (stabilized series). The pre-fit anal- ysis checks the return series for correlation and then quantifies the correlation. Because GARCH modelling as- sumes a return series, we need to convert inflation data (raw data) to returns. <xref ref-type="fig" rid="fig1">Figure 1</xref> below displays raw data of inflation rate and <xref ref-type="fig" rid="fig2">Figure 2</xref> displays the return series converted from the raw.</p><p>The returns appear to be quite stable over time and the transformations from Inflation rate data to returns has produced a stationary time series. The GARCH model assumes that return series is a stationary process. This may seem limiting, but the inflation data to return transformation is common and generally guarantees a stable data set for GARCH modelling.</p><p>According to [<xref ref-type="bibr" rid="scirp.46380-ref6">6</xref>] any autocorrelations in the series have to be removed before a GARCH model is constructed. This is done by regressing the squares of the series <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e6126223-4896-4444-bd7f-209a32e46fbb.png" xlink:type="simple"/></inline-formula> on its past squared values <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\8f2d5084-4484-48f2-9c05-fe81d59531d5.png" xlink:type="simple"/></inline-formula> with the number of lags determined by the form of the ACF and PACF. The figures below display the sample autocorrelation function (ACF) of the returns based on the assumption that all autocorrelations are zero beyond lag zero.</p><p>In <xref ref-type="fig" rid="fig3">Figure 3</xref> and <xref ref-type="fig" rid="fig4">Figure 4</xref>, the ACF and PACF provide no indication of the correlation characteristics of the returns. The ACF of squared returns in <xref ref-type="fig" rid="fig5">Figure 5</xref> shows significant correlation and die out slowly. These results indicate that the variance of returns series is conditional on its past history and may change over time.</p><p>Statistical test for heteroscedasticity is carried out in order to establish the presence of ARCH effects in the data. This is shown in <xref ref-type="table" rid="table2">Table 2</xref>, <xref ref-type="table" rid="table3">Table 3</xref> and <xref ref-type="table" rid="table4">Table 4</xref>. This is done using Ljung-Box-Pierce <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ef793d98-2b92-4c3e-904a-32257c484dd6.png" xlink:type="simple"/></inline-formula> and Engle’s ARCH test ([<xref ref-type="bibr" rid="scirp.46380-ref6">6</xref>] [<xref ref-type="bibr" rid="scirp.46380-ref12">12</xref>] ).</p><table-wrap id="table1"  position="float"><object-id pub-id-type="pii">Table 1</object-id><label>Table 1</label><caption><p>. Summary for statistics for Tanzania’s monthly inflation</p></caption><table><thead><tr><th align="center" valign="middle" >Period</th><th align="center" valign="middle" >Average</th><th align="center" valign="middle" >Standard Deviation</th></tr></thead><tbody><tr><td align="center" valign="middle" >Jan 1997-Sept 2001</td><td align="center" valign="middle" >9.94</td><td align="center" valign="middle" >4.3</td></tr><tr><td align="center" valign="middle" >Oct 2001-July 2005</td><td align="center" valign="middle" >5.1</td><td align="center" valign="middle" >1.58</td></tr><tr><td align="center" valign="middle" >Aug 2005-April 2009</td><td align="center" valign="middle" >8.24</td><td align="center" valign="middle" >2.52</td></tr><tr><td align="center" valign="middle" >May 2009-Dec 2010</td><td align="center" valign="middle" >8.9</td><td align="center" valign="middle" >3.0</td></tr><tr><td align="center" valign="middle"  colspan="3"  >Overall Period</td></tr><tr><td align="center" valign="middle" >Jan 1997-Dec 2010</td><td align="center" valign="middle" >8.1</td><td align="center" valign="middle" >3.7</td></tr></tbody></table></table-wrap><fig id="fig1"><label>Figure 1</label><caption><p> Time plot of monthly inflation in Tanzania</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\435d8f05-0b8c-4935-8ca6-c41e010ded8c.png"/></fig><fig id="fig2"><label>Figure 2</label><caption><p> First difference of Log of CPI</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\bf570ce5-00e0-4667-8e58-b9de40ff2695.png"/></fig><fig id="fig3"><label>Figure 3</label><caption><p> ACF with bounds for raw return series</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\3a4af7b4-ea26-4054-8479-3d20e6af1acb.png"/></fig><fig id="fig4"><label>Figure 4</label><caption><p> PACF with bounds for the raw returns series</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\f648b764-6132-4821-baef-832f1f83f78e.png"/></fig><fig id="fig5"><label>Figure 5</label><caption><p> ACF of the squared returns</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\f5dbb1a2-06ac-429c-a87e-cd3f97be667d.png"/></fig><table-wrap id="table2"  position="float"><object-id pub-id-type="pii">Table 2</object-id><label>Table 2</label><caption><p>. Ljung-Box-Pierce Q-test for autocorrelation (at 95% confidence)</p></caption><table><thead><tr><th align="center" valign="middle" >Lag</th><th align="center" valign="middle" >H</th><th align="center" valign="middle" >p-value</th><th align="center" valign="middle" >Stat</th><th align="center" valign="middle" >Critical Value</th></tr></thead><tbody><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.0721</td><td align="center" valign="middle" >17.1019</td><td align="center" valign="middle" >18.3070</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.2359</td><td align="center" valign="middle" >18.529</td><td align="center" valign="middle" >24.9958</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >0</td><td align="center" valign="middle" >0.3888</td><td align="center" valign="middle" >21.1416</td><td align="center" valign="middle" >31.4104</td></tr></tbody></table></table-wrap><table-wrap id="table3"  position="float"><object-id pub-id-type="pii">Table 3</object-id><label>Table 3</label><caption><p>. Ljung-Box-Pierce Q-test for squared returns (at 95% confidence)</p></caption><table><thead><tr><th align="center" valign="middle" >Lag</th><th align="center" valign="middle" >H</th><th align="center" valign="middle" >P-value</th><th align="center" valign="middle" >Stat</th><th align="center" valign="middle" >Critical Value</th></tr></thead><tbody><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >0.0000</td><td align="center" valign="middle" >57.3782</td><td align="center" valign="middle" >18.3070</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >0.0000</td><td align="center" valign="middle" >76.7057</td><td align="center" valign="middle" >24.9958</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >0.0000</td><td align="center" valign="middle" >82.7525</td><td align="center" valign="middle" >31.4104</td></tr></tbody></table></table-wrap><table-wrap id="table4"  position="float"><object-id pub-id-type="pii">Table 4</object-id><label>Table 4</label><caption><p>. Engle ARCH test for heteroscedasticity (at 95% confidence)</p></caption><table><thead><tr><th align="center" valign="middle" >Lag</th><th align="center" valign="middle" >H</th><th align="center" valign="middle" >p-value</th><th align="center" valign="middle" >Stat</th><th align="center" valign="middle" >Critical value</th></tr></thead><tbody><tr><td align="center" valign="middle" >10</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >0.0000</td><td align="center" valign="middle" >68.6467</td><td align="center" valign="middle" >18.3070</td></tr><tr><td align="center" valign="middle" >15</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >0.0000</td><td align="center" valign="middle" >67.9727</td><td align="center" valign="middle" >24.9958</td></tr><tr><td align="center" valign="middle" >20</td><td align="center" valign="middle" >1.000</td><td align="center" valign="middle" >0.0000</td><td align="center" valign="middle" >66.2913</td><td align="center" valign="middle" >31.4104</td></tr></tbody></table></table-wrap><p>From <xref ref-type="table" rid="table2">Table 2</xref> it can be seen that there is no significant correlation in the raw returns at the 5% level of significance since H = 0. However, there is significant serial correlation in the squared returns in <xref ref-type="table" rid="table3">Table 3</xref> when tested with the same inputs.</p><p><xref ref-type="table" rid="table4">Table 4</xref> is the Engle’s test for return series which shows that there is a significant correlation in the series, indicating presence of ARCH effects that is heteroscedasticity. Each of these tests extracts the sample mean from the actual inflation series.</p></sec><sec id="s4_2"><title>4.2. Model Estimation and Evaluation</title><sec id="s4_2_1"><title>4.2.1. Model Selection</title><p>The strategy used in selecting the appropriate model from competing models is based on the Akaike information criterion<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\867a0219-9811-4a1d-8ffc-9a1d4c8bfb16.png" xlink:type="simple"/></inline-formula>, the Bayesian information criterion <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\99b3b9b7-af20-4753-b319-8db2da2234df.png" xlink:type="simple"/></inline-formula> and standard error <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\fa25c73e-b45b-48c6-a8a6-eef18343457d.png" xlink:type="simple"/></inline-formula> and on the significance tests.</p><p>MATLAB software is used to perform trial and error evaluations to determine the best fitting model. The idea is to have a parsimonious model that captures as much variation in the data as possible. Usually the simple GARCH model captures most of the variability in most stabilized series. Small lags for p and q are common in applications. Typically GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\905fdbb0-bf40-4a68-a703-ea930f4b779d.png" xlink:type="simple"/></inline-formula>, GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\8a3368ad-6712-425e-bbf4-6322857d9aff.png" xlink:type="simple"/></inline-formula> or GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\10b0d5af-c0bd-4926-8f6d-479f88d021f6.png" xlink:type="simple"/></inline-formula> models are adequate for modelling vo- latilities even over long sample periods [<xref ref-type="bibr" rid="scirp.46380-ref7">7</xref>] .</p><p>From the derived models, using the method of maximum likelihood the estimated parameters of GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\66956450-110e-472f-9827-a7a9c9c58595.png" xlink:type="simple"/></inline-formula> model is summarized in the <xref ref-type="table" rid="table5">Table 5</xref>:</p><disp-formula id="scirp.46380-formula3662"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\dc1c09d5-bc04-4782-adc4-fc249daf0d12.png"/></disp-formula><disp-formula id="scirp.46380-formula3663"><inline-graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\dc1c09d5-bc04-4782-adc4-fc249daf0d12.png"/></disp-formula><p>The standard errors are used to assess the accuracy of the estimates, the smaller the better. The model fit sta- tistics used to assess how well the model fit the data are the AIC and BIC. The corresponding values are: AIC = 474.8 and BIC = 487.3 with the log likelihood function of 233.4. The standard errors are quiet small suggesting precise estimates. Based on 95% confidence level, the coefficients of the GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\2ceb208b-c905-453a-adfb-86f7697b76d2.png" xlink:type="simple"/></inline-formula> model are significantly different from zero and the estimated values satisfy the stability condition, that is<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\dfed7fb6-1f1c-474e-bcac-bd7dcec37e5b.png" xlink:type="simple"/></inline-formula>.</p><table-wrap id="table5"  position="float"><object-id pub-id-type="pii">Table 1</object-id><label>Table 6 below summarizes fit statistics for the other GARCH models which were considered</label><caption><p></p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink"  xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e8d3a4bd-0881-41e6-9373-d9a4626a97c6.png"/></table-wrap></sec><sec id="s4_2_2"><title>4.2.2. Diagnostic Checking of the GARCH(1,1) Model</title><p>One of the assumptions of GARCH models is that, for a good model, the residuals must follow a white noise process. <xref ref-type="fig" rid="fig6">Figure 6</xref> inspects the relationship between the innovations (residuals) derived from the fitted model, the corresponding conditional standard deviations and the observed returns.</p><p>It can be observed that both innovations and returns exhibit volatility clustering. However if we plot the, standardized innovations (the innovations divided by their conditional standard deviation), they appear generally stable with little clustering as seen in <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p><p>The time plot of the residuals given in <xref ref-type="fig" rid="fig7">Figure 7</xref> is used to check whether the residuals are random. The normality check is also done by analyzing the histogram of residuals and normal probability plot. <xref ref-type="fig" rid="fig8">Figure 8</xref> gives</p><table-wrap id="table6"  position="float"><object-id pub-id-type="pii">Table 6</object-id><label>Table 5</label><caption><p>. Parameter estimates for GARCH(1,1)</p></caption><table><thead><tr><th align="center" valign="middle" >Parameter</th><th align="center" valign="middle" >C</th><th align="center" valign="middle" >K</th><th align="center" valign="middle" >GARCH (1)</th><th align="center" valign="middle" >ARCH(1)</th></tr></thead><tbody><tr><td align="center" valign="middle" >Estimates</td><td align="center" valign="middle" >0.0272</td><td align="center" valign="middle" >0.0753</td><td align="center" valign="middle" >0.4573</td><td align="center" valign="middle" >0.5427</td></tr><tr><td align="center" valign="middle" >Standard Error</td><td align="center" valign="middle" >0.0283</td><td align="center" valign="middle" >0.0254</td><td align="center" valign="middle" >0.0681</td><td align="center" valign="middle" >0.0958</td></tr><tr><td align="center" valign="middle" >t-value</td><td align="center" valign="middle" >0.9627</td><td align="center" valign="middle" >2.9656</td><td align="center" valign="middle" >6.7136</td><td align="center" valign="middle" >5.6619</td></tr><tr><td align="center" valign="middle" ></td><td align="center" valign="middle" >0.8315</td><td align="center" valign="middle" >&lt;0.0001</td><td align="center" valign="middle" >&lt;0.0001</td><td align="center" valign="middle" >&lt;0.0001</td></tr></tbody></table></table-wrap><table-wrap id="table7"  position="float"><object-id pub-id-type="pii">Table 7</object-id><label>Table 6</label><caption><p>. Comparison of suggested GARCH models</p></caption><table><thead><tr><th align="center" valign="middle" >Model</th><th align="center" valign="middle" >AIC</th><th align="center" valign="middle" >BIC</th><th align="center" valign="middle" >MSE</th><th align="center" valign="middle" >Log-Likelihood</th></tr></thead><tbody><tr><td align="center" valign="middle" >GARCH(0,1)</td><td align="center" valign="middle" >489.0200</td><td align="center" valign="middle" >498.3560</td><td align="center" valign="middle" >0.1026</td><td align="center" valign="middle" >241.5100</td></tr><tr><td align="center" valign="middle" >GARCH(1,1)</td><td align="center" valign="middle" >474.8236</td><td align="center" valign="middle" >487.2715</td><td align="center" valign="middle" >0.0544</td><td align="center" valign="middle" >233.4118</td></tr><tr><td align="center" valign="middle" >GARCH(0,2)</td><td align="center" valign="middle" >478.5589</td><td align="center" valign="middle" >491.0068</td><td align="center" valign="middle" >0.0860</td><td align="center" valign="middle" >235.2794</td></tr><tr><td align="center" valign="middle" >GARCH(1,2)</td><td align="center" valign="middle" >491.1419</td><td align="center" valign="middle" >491.1419</td><td align="center" valign="middle" >0.0863</td><td align="center" valign="middle" >232.7910</td></tr><tr><td align="center" valign="middle" >GARCH(2,1)</td><td align="center" valign="middle" >476.8236</td><td align="center" valign="middle" >492.3835</td><td align="center" valign="middle" >0.0735</td><td align="center" valign="middle" >233.4118</td></tr><tr><td align="center" valign="middle" >GARCH(2,2)</td><td align="center" valign="middle" >477.1047</td><td align="center" valign="middle" >495.7766</td><td align="center" valign="middle" >0.0654</td><td align="center" valign="middle" >232.5524</td></tr></tbody></table></table-wrap><fig id="fig6"><label>Figure 6</label><caption><p> Plot for return, estimated volatility and innovations (residuals)</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\54c8fb67-8fec-4ead-bbe4-bf96e7a109d4.png"/></fig><fig id="fig7"><label>Figure 7</label><caption><p> Time plot of residuals from GARCH(1,1)</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\8c672fd6-9066-430a-8bf3-763c50453608.png"/></fig><fig id="fig8"><label>Figure 8</label><caption><p> Histogram of residuals from GARCH (1, 1)</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ca51ca48-6512-4f02-a9ed-b03257683c8a.png"/></fig><p>the histogram of the residuals from the GARCH(1,1) model. The histogram shows almost a symmetric bell- shaped distribution which is indicative of the residuals following a normal distribution. The slight negative skewness is expected since the residuals may also come from student’s <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\7c782d88-ff3f-431d-945c-08ef4da4ba13.png" xlink:type="simple"/></inline-formula> distribution. The negative skewness tendency is also supported by negative large residuals in <xref ref-type="fig" rid="fig7">Figure 7</xref>.</p><p><xref ref-type="fig" rid="fig9">Figure 9</xref> gives the plot of the ACF of the squared standardized innovations. The plot shows no correlation left. <xref ref-type="table" rid="table7">Table 7</xref> and <xref ref-type="table" rid="table8">Table 8</xref> compare the results of the <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\cb1e9c20-b750-4a3c-b031-305dd28d242f.png" xlink:type="simple"/></inline-formula> and the ARCH test with the results of these same tests in the pre-estimation analysis in <xref ref-type="table" rid="table2">Table 2</xref> and <xref ref-type="table" rid="table3">Table 3</xref> respectively. In the pre-estimation analysis, both the <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\ce5315ab-811f-4717-8ecb-644c2b5931e0.png" xlink:type="simple"/></inline-formula> and the ARCH test indicated rejection (<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\4f4d125c-cfee-44f7-a7f9-370464fd1bc8.png" xlink:type="simple"/></inline-formula>with <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\5e062037-bff0-49d3-b8d0-588f17eb7ad4.png" xlink:type="simple"/></inline-formula> value<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\56b840ee-d1b7-4424-8dbf-d045964e7838.png" xlink:type="simple"/></inline-formula>) of their respective null hypothesis showing significant evidence in support of GARCH effects. In the post estimation analysis using standardized innovations based on the estimated model, these same tests indicate acceptance (<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\fded0f56-8c5d-47b2-9e86-1644895916bb.png" xlink:type="simple"/></inline-formula>with highly significant <inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\f70f945f-a1c1-45bb-ae3c-6b0857de2d98.png" xlink:type="simple"/></inline-formula>-values) of their respective null hypothesis and confirm the explanatory power of GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\c8ff857d-e7be-4ee4-aaf8-61b97efeb0d2.png" xlink:type="simple"/></inline-formula>. The tests showed that no any ARCH effects left (no heteroscedasticity).</p></sec></sec><sec id="s4_3"><title>4.3. Forecasting with the GARCH(1,1) Model</title><table-wrap id="table8"  position="float"><object-id pub-id-type="pii">Table 1</object-id><label>Table 7 shows the various measures of forecasting errors, namely the mean absolute error (MAE), the root mean squared error (RMSE), and Thiele’s U test for two models seemed to be adequately suitable to fit the data</label><caption><p>. The first two forecast error statistics depend on the scale of the dependent variable. These are used as relative measure to compare forecasts for the same series across different models. The smaller the error, the better the fore</p></caption><graphic xmlns:xlink="http://www.w3.org/1999/xlink"  xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\de33879a-d300-4605-a0f1-377508c8680e.png"/></table-wrap><p><xref ref-type="fig" rid="fig9">Figure 9</xref>. Time plot of inflation rate and one year forecasts by GARCH(1,1).</p><table-wrap id="table9"  position="float"><object-id pub-id-type="pii">Table 9</object-id><label>Table 7</label><caption><p>. Forecast Accuracy Test on the most likely suggested GARCH models</p></caption><table><thead><tr><th align="center" valign="middle" >Model</th><th align="center" valign="middle" >MSE</th><th align="center" valign="middle" >MAE</th><th align="center" valign="middle" >RMSE</th><th align="center" valign="middle" >Thiele’s U test</th></tr></thead><tbody><tr><td align="center" valign="middle" >GARCH(1,1)</td><td align="center" valign="middle" >0.5848</td><td align="center" valign="middle" >0.7483</td><td align="center" valign="middle" >0.8651</td><td align="center" valign="middle" >0.8528</td></tr><tr><td align="center" valign="middle" >GARCH(1,2)</td><td align="center" valign="middle" >0.6034</td><td align="center" valign="middle" >0.9812</td><td align="center" valign="middle" >0.7768</td><td align="center" valign="middle" >0.9821</td></tr></tbody></table></table-wrap><table-wrap id="table10"  position="float"><object-id pub-id-type="pii">Table 10</object-id><label>Table 8</label><caption><p>. Inflation forecast by GARCH(1,1) model for period of January 2010 to December 2010</p></caption><table><thead><tr><th align="center" valign="middle" >Month</th><th align="center" valign="middle" >Forecast (%)</th><th align="center" valign="middle" >Observed value (%)</th><th align="center" valign="middle" >Forecast error</th></tr></thead><tbody><tr><td align="center" valign="middle" >January</td><td align="center" valign="middle" >11.32</td><td align="center" valign="middle" >10.9</td><td align="center" valign="middle" >0.42</td></tr><tr><td align="center" valign="middle" >February</td><td align="center" valign="middle" >10.43</td><td align="center" valign="middle" >9.6</td><td align="center" valign="middle" >0.83</td></tr><tr><td align="center" valign="middle" >March</td><td align="center" valign="middle" >9.66</td><td align="center" valign="middle" >9.0</td><td align="center" valign="middle" >0.66</td></tr><tr><td align="center" valign="middle" >April</td><td align="center" valign="middle" >10.08</td><td align="center" valign="middle" >9.4</td><td align="center" valign="middle" >0.66</td></tr><tr><td align="center" valign="middle" >May</td><td align="center" valign="middle" >7.90</td><td align="center" valign="middle" >7.2</td><td align="center" valign="middle" >0.70</td></tr><tr><td align="center" valign="middle" >June</td><td align="center" valign="middle" >8.74</td><td align="center" valign="middle" >7.9</td><td align="center" valign="middle" >0.84</td></tr><tr><td align="center" valign="middle" >July</td><td align="center" valign="middle" >7.29</td><td align="center" valign="middle" >6.3</td><td align="center" valign="middle" >0.99</td></tr><tr><td align="center" valign="middle" >August</td><td align="center" valign="middle" >7.48</td><td align="center" valign="middle" >6.6</td><td align="center" valign="middle" >0.88</td></tr><tr><td align="center" valign="middle" >September</td><td align="center" valign="middle" >5.03</td><td align="center" valign="middle" >4.5</td><td align="center" valign="middle" >0.53</td></tr><tr><td align="center" valign="middle" >October</td><td align="center" valign="middle" >4.81</td><td align="center" valign="middle" >3.9</td><td align="center" valign="middle" >0.91</td></tr><tr><td align="center" valign="middle" >November</td><td align="center" valign="middle" >5.14</td><td align="center" valign="middle" >4.3</td><td align="center" valign="middle" >0.84</td></tr><tr><td align="center" valign="middle" >December</td><td align="center" valign="middle" >6.30</td><td align="center" valign="middle" >5.6</td><td align="center" valign="middle" >0.70</td></tr></tbody></table></table-wrap><p>casting ability of that model. The remaining two statistics are scale invariant. The Theil inequality coefficient always lies between zero and one, where zero indicates a perfect fit.</p><p>From <xref ref-type="table" rid="table7">Table 7</xref>, it can be seen that the accuracy test favour GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\e4d161a5-03da-41a8-806b-4ad114bc06d0.png" xlink:type="simple"/></inline-formula> model. Also the Thiele’s statistics is less than one (<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\efecba8f-da5d-49f1-a3ff-403671ab0183.png" xlink:type="simple"/></inline-formula>) which indicates that, the forecasts are fairly accurate. <xref ref-type="table" rid="table8">Table 8</xref> below shows the forecast of Inflation by GARCH(1,1) for a period of one year from January 2010 to December 2010.</p><p>The <xref ref-type="fig" rid="fig9">Figure 9</xref> displays the actual inflation rate and the predicted inflation rate by the GARCH<inline-formula><inline-graphic xlink:href="http://file.scirp.org/Html/htmlimages\2-2870016x\843cc0e5-33e2-40f5-8620-dfcbeb902e47.png" xlink:type="simple"/></inline-formula> model. The figure also displays how the forecasted values behave.</p><p>It can be observed from the <xref ref-type="fig" rid="fig9">Figure 9</xref> that the forecasted inflation is closer to the actual inflation.</p></sec></sec><sec id="s5"><title>5. Discussion and Conclusion</title><p>In this paper, time series modelling was examined with a special application to modelling inflation data in Tan- zania. In particular, the theory of univariate nonlinear time series analysis was explored and applied to the infla- tion data spanning from January 1997 to December 2010. The best fitting model was selected based on how well the model captures the stochastic variation in the data. Based on minimum Akaike Information Criteria (AIC) and Bayesian Information Criteria (BIC) values, it was observed that the best fit GARCH models were GARCH(1,1) and GARCH(1,2). However, after estimation of the parameters of selected models, a series of diagnostic and forecast accuracy test were performed and GARCH(1,1) model was found to be the best. Based on the selected model, twelve months inflation rates of Tanzania were forecasted in sample period (from January 2010 to December 2010). From the results, it is observed that the forecasted series are close to the actual data series.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.46380-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">AHIATI, V.S. (2007) DISCRETE TIME SERIES ANALYSIS WITH ARMA MODELS. REVISED EDITION, HOLDEN-DAY, OAKLAND.</mixed-citation></ref><ref id="scirp.46380-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">CHATFIELD, C. (2000) TIME SERIES FORECASTING. CHAPMAN AND HALL, LONDON.</mixed-citation></ref><ref id="scirp.46380-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">WEBSTER, D. (2000) WEBSTER’S NEW UNIVERSAL UNABRIDGED DICTIONARY. BARNES AND NOBLE, NEW YORK.</mixed-citation></ref><ref id="scirp.46380-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">HALL, R. (1982) INFLATION, CAUSES AND EFFECTS. CHICAGO UNIVERSITY PRESS, CHICAGO.</mixed-citation></ref><ref id="scirp.46380-ref5"><label>5</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>DAVID</surname><given-names> F.H. </given-names></name>,<etal>et al</etal>. (<year>2001</year>)<article-title>MODELLING UK INFLATION, 1875-1991</article-title><source> JOURNAL OF APPLIED ECONOMETRICS</source><volume> 16</volume>,<fpage> 255</fpage>-<lpage>275</lpage>.<pub-id pub-id-type="doi">HTTP://DX.DOI.ORG/10.1002/JAE.615</pub-id></mixed-citation></ref><ref id="scirp.46380-ref6"><label>6</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>ENGLE</surname><given-names> R. </given-names></name>,<etal>et al</etal>. (<year>1982</year>)<article-title>THE USE OF ARCH/GARCH MODELS IN APPLIED ECONOMETRICS</article-title><source> JOURNAL OF ECONOMIC PERSPECTIVES</source><volume> 15</volume>,<fpage> 157</fpage>-<lpage>168</lpage>.<pub-id pub-id-type="doi">HTTP://DX.DOI.ORG/10.1257/JEP.15.4.157</pub-id></mixed-citation></ref><ref id="scirp.46380-ref7"><label>7</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>BOLLERSLEV</surname><given-names> T. </given-names></name>,<etal>et al</etal>. (<year>1986</year>)<article-title>GENERALIZED AUTOREGRESSIVE CONDITIONAL HETEROSCEDASTICITY</article-title><source> JOURNAL OF ECONOMETRICS</source><volume> 31</volume>,<fpage> 307</fpage>-<lpage> 327</lpage>.<pub-id pub-id-type="doi">HTTP://DX.DOI.ORG/10.1016/0304-4076(86)90063-1</pub-id></mixed-citation></ref><ref id="scirp.46380-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">AMOS, C. (2010) TIME SERIES MODELLING WITH APPLICATION TO SOUTH AFRICAN INFLATION DATA. MASTER’S THESIS, UNIVERSITY OF KWAZULU NATAL, KWAZULU NATAL.</mixed-citation></ref><ref id="scirp.46380-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">TSAY, R.S. (2002) ANALYSIS OF FINANCIAL TIME SERIES. JOHN WILEY &amp; SONS, HOBOKEN. HTTP://DX.DOI.ORG/10.1002/0471264105</mixed-citation></ref><ref id="scirp.46380-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">SHEPHARD, N. (1996) STATISTICAL ASPECTS OF ARCH AND STOCHASTIC VOLATILITY TIME SERIES IN ECONOMETRICS, FINANCE AND OTHER FIELDS. CHAPMAN AND HALL, LONDON.</mixed-citation></ref><ref id="scirp.46380-ref11"><label>11</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>BOLLERSLEV</surname><given-names> T.</given-names></name>,<name name-style="western"><surname> CHOU</surname><given-names> R.Y. </given-names></name>,<name name-style="western"><surname> KRONER</surname><given-names> K.F. </given-names></name>,<etal>et al</etal>. (<year>1992</year>)<article-title>ARCH MODELING IN FINANCE: A SELECTIVE REVIEW OF THE THEORY AND EMPIRICAL EVIDENCE</article-title><source> JOURNAL OF ECONOMETRICS</source><volume> 52</volume>,<fpage> 5</fpage>-<lpage>59</lpage>.<pub-id pub-id-type="doi">HTTP://DX.DOI.ORG/10.1016/0304-4076(92)90064-X</pub-id></mixed-citation></ref><ref id="scirp.46380-ref12"><label>12</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>LJUNG</surname><given-names> G.M. </given-names></name>,<name name-style="western"><surname> BOX</surname><given-names> G.E.P. </given-names></name>,<etal>et al</etal>. (<year>1978</year>)<article-title>ON A MEASURE OF LACK OF FIT IN TIME SERIES MODELS</article-title><source> BIOMETRIKA</source><volume> 65</volume>,<fpage> 297</fpage>-<lpage>303</lpage>.<pub-id pub-id-type="doi">HTTP://DX.DOI.ORG/10.1093/BIOMET/65.2.297</pub-id></mixed-citation></ref></ref-list></back></article>