<?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.2020.105047</article-id><article-id pub-id-type="publisher-id">OJS-103700</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>
 
 
  Modeling Seasonal Fractionally Integrated Autoregressive Moving Average-Generalized Autoregressive Conditional Heteroscedasticity Model with Seasonal Level Shift Intervention
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Lawrence</surname><given-names>Dhliwayo</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>Florance</surname><given-names>Matarise</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>Charles</surname><given-names>Chimedza</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><addr-line>Department of Statistics, University of Zimbabwe, Harare, Zimbabwe</addr-line></aff><aff id="aff2"><addr-line>School of Statistics and Actuarial Science, University of Witwatersrand, Johannesburg, South Africa</addr-line></aff><pub-date pub-type="epub"><day>26</day><month>10</month><year>2020</year></pub-date><volume>10</volume><issue>05</issue><fpage>810</fpage><lpage>831</lpage><history><date date-type="received"><day>19,</day>	<month>August</month>	<year>2020</year></date><date date-type="rev-recd"><day>24,</day>	<month>October</month>	<year>2020</year>	</date><date date-type="accepted"><day>27,</day>	<month>October</month>	<year>2020</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>
 
 
  This paper introduces the class of seasonal fractionally integrated autoregressive
   moving average
  -
  generalized conditional heteroskedastisticty (SARFIMA-
   
  GARCH) models, with level shift type intervention that are capable of capturing simultaneously four key features of time series: seasonality, long range dependence, volatility and level shift. The main focus is on modeling seasonal level shift (SLS) in fractionally integrated and volatile processes. A natural extension of the seasonal level shift detection test of the mean for a realization of time series satisfying SLS-SARFIMA and SLS-GARCH models w
  as
   derived. Test statistics that are useful to examine if seasonal level shift in a
  n
   SARFIMA-GARCH model 
  is
   statistically plausible were established. Estimation of SLS-SARFIMA and SLS-GARCH parameters w
  as
   also considered.
 
</p></abstract><kwd-group><kwd>Seasonality</kwd><kwd> Fractional Integration</kwd><kwd> Long-Memory</kwd><kwd> Level Shift</kwd><kwd> SLS-SARFIMA</kwd><kwd> SLS-GARCH</kwd><kwd> Volatility</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>The phenomenon of long memory or long range dependence in time series processes has been of interest in time series research. A popular way to analyze a long memory time series is to use seasonal autoregressive fractionally integrated moving average (SARFIMA) processes introduced by [<xref ref-type="bibr" rid="scirp.103700-ref1">1</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref2">2</xref>]. The works of [<xref ref-type="bibr" rid="scirp.103700-ref1">1</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref2">2</xref>] assume that the conditional variance of the time series is constant over time. However, non constant variance in non-linear time series is a challenging modelling exercise, considered among other things by [<xref ref-type="bibr" rid="scirp.103700-ref3">3</xref>]. In particular, the stylized fact that the volatility of financial time series is non constant has been long recognized in literature, see for example [<xref ref-type="bibr" rid="scirp.103700-ref4">4</xref>] [<xref ref-type="bibr" rid="scirp.103700-ref5">5</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref6">6</xref>].</p><p>The methodology for modelling time series with long memory behavior has been extended to long memory time series with time varying conditional variance, see for instance, [<xref ref-type="bibr" rid="scirp.103700-ref7">7</xref>] who developed the ARFIMA model with generalized autoregressive conditional heteroskedasticity (GARCH) type innovations, and [<xref ref-type="bibr" rid="scirp.103700-ref8">8</xref>] examine the daily average PM<sub>10</sub> concentration using a seasonal ARFIMA model with GARCH errors. Tong [<xref ref-type="bibr" rid="scirp.103700-ref9">9</xref>] analyzed the nonlinear time series using GARCH models and [<xref ref-type="bibr" rid="scirp.103700-ref10">10</xref>] used GARCH models for testing market efficiency. These models do not capture level shifts both in mean and variance, in this paper we introduce a new class of SARFIMA-GARCH models with seasonal level shift intervention in mean and volatility. This approach allows us to model mean and volatility seasonal level shifts in an SARFIMA-GARCH model which is often observed in financial or economics time series.</p><p>This article introduces detection of a mean and volatility level shifts innovation in an ARFIMA-GARCH model. The works of [<xref ref-type="bibr" rid="scirp.103700-ref11">11</xref>] first applied ARFIMA-GARCH models to price indices then [<xref ref-type="bibr" rid="scirp.103700-ref7">7</xref>] derived conditions for asymptotic normality of the approximate (Gaussian) maximum likelihood (ML) estimator in the ARFIMA-GARCH model. This paper also extends parameter estimation for an SARFIMA-GARCH model to case with seasonal level shift which we will denote Seasonal Level Shift SARFIMA (SLS-ARFIMA) and Seasonal Level Shift GARCH (SLS-GARCH) using quasi-maximum likelihood estimation.</p><p>The first concern of this paper is how one would formally address modeling mean and volatility seasonal level shifts in an SARFIMA-GARCH. The second concern is derivation of test statistics that are useful to examine presence of seasonal level shifts in mean and volatility for an SARFIMA-GARCH model. The layout of the paper is organised as follows. Section 2 reviews some theoretical results of SARFIMA-GARCH and intervention. In Section 3, we introduce the class of SLS-ARFIMA-SLS-GARCH models. Section 4 deals with parameter estimation in SLS-ARFIMA and SLS-GARCH models. Section 5 is dedicated to the proposed procedure of level shift detection in SARFIMA-GARCH models. The last section concludes with the main findings and limitations. Common acronyms used in this paper are given in <xref ref-type="table" rid="table1">Table 1</xref>.</p><table-wrap-group id="1"><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Common acronyms used in this paper</title></caption><table-wrap id="1_1"><table><tbody><thead><tr><th align="center" valign="middle" >Acronym</th><th align="center" valign="middle" >Explanation</th></tr></thead><tr><td align="center" valign="middle" >AO</td><td align="center" valign="middle" >Additive outlier</td></tr><tr><td align="center" valign="middle" >LS</td><td align="center" valign="middle" >Level shift</td></tr><tr><td align="center" valign="middle" >TC</td><td align="center" valign="middle" >Temporary change</td></tr><tr><td align="center" valign="middle" >IO</td><td align="center" valign="middle" >Innovative outlier</td></tr><tr><td align="center" valign="middle" >SLS</td><td align="center" valign="middle" >Seasonal level shift</td></tr><tr><td align="center" valign="middle" >ARMA</td><td align="center" valign="middle" >Autoregressive moving average</td></tr></tbody></table></table-wrap><table-wrap id="1_2"><table><tbody><thead><tr><th align="center" valign="middle" >ARFIMA</th><th align="center" valign="middle" >Autoregressive fractionally integrated moving average</th></tr></thead><tr><td align="center" valign="middle" >SARFIMA</td><td align="center" valign="middle" >Seasonal autoregressive fractionally integrated moving average</td></tr><tr><td align="center" valign="middle" >GARCH</td><td align="center" valign="middle" >Generalized autoregressive conditional heteroskedasticity</td></tr><tr><td align="center" valign="middle" >LS-ARFIMA</td><td align="center" valign="middle" >Level shift-autoregressive fractionally integrated moving average</td></tr><tr><td align="center" valign="middle" >LS-GARCH</td><td align="center" valign="middle" >Level shift-generalized autoregressive conditional heteroskedasticity</td></tr><tr><td align="center" valign="middle" >SLS-ARFIMA</td><td align="center" valign="middle" >Seasonal level shift-autoregressive fractionally integrated moving average</td></tr><tr><td align="center" valign="middle" >SLS-GARCH</td><td align="center" valign="middle" >Seasonal level shift-generalized autoregressive conditional heteroskedasticity</td></tr></tbody></table></table-wrap></table-wrap-group></sec><sec id="s2"><title>2. SARFIMA-GARCH Models</title><p>This section presents review of the ARFIMA models, SARFIMA models, GARCH models and the SARFIMA-GARCH models. The variance of GARCH model and intervention in ARFIMA models is also presented.</p><sec id="s2_1"><title>2.1. ARFIMA Process</title><p>Time series analysis has turned attention to the studies with long memory or long-range dependence characteristics. The ARFIMA ( p , d , q ) process, first introduced by [<xref ref-type="bibr" rid="scirp.103700-ref1">1</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref2">2</xref>], present this property when the differencing parameter d is in the interval (0, 0.5). This feature is reflected by the hyperbolic decay of its autocorrelation function or by the unboundedness of its spectral density function, while in the ARMA model, dependency between observations decays at a geometric rate.</p><p>Montanari et al. [<xref ref-type="bibr" rid="scirp.103700-ref12">12</xref>] introduced a special form of the generalized ARFIMA model considered by [<xref ref-type="bibr" rid="scirp.103700-ref13">13</xref>]. This formulation is able to reproduce short-and long memory periodicity in the autocorrelation function of the process. Using the [<xref ref-type="bibr" rid="scirp.103700-ref14">14</xref>] notation, the general form of the ARFIMA model is defined as follows:</p><p>Let { x t } t ∈ ℤ be a stochastic process, then { x t } t ∈ ℤ is a zero mean ARFIMA ( p , d , q ) process given by the expression</p><p>ϕ ( B ) ( 1 − B ) d x t = θ ( B ) ε t ,     for   t ∈ ℤ (1)</p><p>where { ε t } t ∈ ℤ is a white noise process with zero mean and variance σ ε 2 = E ( ε t 2 ) , B is the backward-shift operator, that is, B k x t = x t − k and ( 1 − B ) d is the non seasonal difference, ϕ ( ⋅ ) and θ ( ⋅ ) are the non-seasonal polynomials of degrees p and q, respectively, defined by:</p><p>ϕ ( B ) = ∑ i = 0 p ( − ϕ i ) B i ,     θ ( B ) = ∑ j = 0 q ( − θ j ) B j , (2)</p><p>where ϕ i , 1 ≤ i ≤ p , and θ j , 1 ≤ j ≤ q are constants and ϕ 0 = − 1 = θ 0 .</p><p>The difference operator ( 1 − B ) d is defined by means of the binomial expansion:</p><p>( 1 − B ) d = ∑ j = 0 ∞ ( d j ) ( − B ) j , (3)</p><p>where;</p><p>( d j ) = Γ ( 1 + d ) Γ ( 1 + j ) Γ ( 1 + d − j ) and Γ ( ⋅ ) is the well known gamma function.</p><p>The ARFIMA model is said to be stationary when − 0.5 &lt; d &lt; 0.5 . The model becomes nonstationary when d ≥ 0.5 and stationary but non invertible when d ≤ − 0.5 . The ARFIMA model represents a short memory if d = 0 and a unit root process is shown when d = 1 . Furthermore, the model has a positive dependence among distance observations or the so called long memory process if 0 &lt; d &lt; 0.5 ; and it also has an anti-persistent property or has an intermediate memory if − 0.5 &lt; d &lt; 0 .</p></sec><sec id="s2_2"><title>2.2. S A R F I M A ( p , d , q ) &#215; ( P , D , Q ) s Process</title><p>The seasonal autoregressive fractionally integrated moving average process, denoted hereafter by SARFIMA ( p , d , q ) &#215; ( P , D , Q ) s , is an extension of the long range dependence in the mean ARFIMA ( p , d , q ) process, proposed by [<xref ref-type="bibr" rid="scirp.103700-ref1">1</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref2">2</xref>]. The SARFIMA ( p , d , q ) &#215; ( P , D , Q ) s process describes time series with long memory or long range dependence or persistent periodical behavior at finite number of spectrum frequencies.</p><p>A special form of the generalized ARFIMA model was considered by [<xref ref-type="bibr" rid="scirp.103700-ref13">13</xref>]. This formulation is able to reproduce short and long memory periodicity in the autocorrelation function of the process. Using the [<xref ref-type="bibr" rid="scirp.103700-ref14">14</xref>] notation, the general form of the SARFIMA model is defined below:</p><p>Let { x t } t ∈ ℤ be a stochastic process, then { x t } t ∈ ℤ is a zero mean SARFIMA ( p , d , q ) &#215; ( P , D , Q ) s process given by the expression</p><p>ϕ ( B ) Φ ( B s ) ( 1 − B ) d ( 1 − B s ) D x t = θ ( B ) Θ ( B s ) ε t ,     for   t ∈ ℤ (4)</p><p>where s ∈ ℕ is the seasonal period, B is the backward-shift operator, that is, B s k x t = x t − s k , ( 1 − B s ) D is the seasonal difference operator, Φ ( ⋅ ) and Θ ( ⋅ ) are the polynomials of degrees P and Q, respectively, defined by:</p><p>Φ ( B s ) = ∑ i = 0 P ( − Φ i ) B s i ,     Θ ( B s ) = ∑ j = 0 Q ( − Θ j ) B s j (5)</p><p>where Φ i , 1 ≤ i ≤ P and Θ j , 1 ≤ j ≤ Q are constants and Φ 0 = − 1 = Θ 0 .</p><p>The seasonal difference operator ( 1 − B s ) D , with seasonality s ∈ ℕ , for all D &gt; − 1 , is defined by means of the binomial expansion;</p><p>( 1 − B s ) D = ∑ j = 0 ∞ ( D j ) ( − B s ) j , (6)</p><p>where;</p><p>( D j ) = Γ ( 1 + D ) Γ ( 1 + j ) Γ ( 1 + D − j ) (7)</p><p>A compact form of Equation (1) and Equation (4) is given by:</p><p>ϕ ( B ) Φ ( B s ) ∇ d x t = θ ( B ) Θ ( B s ) ε t ,     for   t ∈ ℤ (8)</p><p>In Equation (8), the operator ∇ d is defined by</p><p>∇ d = ( 1 − B ) d ( 1 − B s ) D (9)</p><p>where d = ( d , D ) ∈ ℝ 2 is the memory vector parameter, d and D are the fractionally parameters at non seasonal and seasonal frequencies, respectively. The fractional filters are:</p><p>( 1 − B k ) l = ∑ j = 0 ∞ ( l j ) ( − B k ) j , k = 1 , s     and     l = d , D (10)</p><p>where;</p><p>( l j ) = Γ ( 1 + l ) Γ ( 1 + j ) Γ ( 1 + l − j ) (11)</p><p>Suppose in Equation (8), ϕ ( B ) Φ ( B s ) = 0 and θ ( B ) Θ ( B s ) = 0 have no common zeros. Let also | d + D | &lt; 0.5 and | D | &lt; 0.5 , the process { x t } t ∈ ℤ has spectral density function is given by;</p><p>f x ( λ ) = σ ε 2 2 π | θ ( e − i λ ) | 2 | Θ ( e − i λ s ) | 2 | ϕ ( e − i λ ) | 2 | Φ ( e − i λ s ) | 2 [ 2 sin ( λ 2 ) ] − 2 d [ 2 sin ( λ s 2 ) ] − 2 D , (12)</p><p>where 0 &lt; λ ≤ π .</p><p>Note that according to [<xref ref-type="bibr" rid="scirp.103700-ref15">15</xref>]:</p><p>1) The processs { x t } t ∈ ℤ is stationary if d + D &lt; 0.5 , D &lt; 0.5 and ϕ ( B ) Φ ( B s ) ≠ 0 , for | B | ≤ 1 .</p><p>2) The stationary process { x t } t ∈ ℤ has a long memory property if 0 &lt; d + D &lt; 0.5 , 0 &lt; D &lt; 0.5 and ϕ ( B ) Φ ( B s ) ≠ 0 , for | B | ≤ 1 .</p><p>3) The stationary process { x t } t ∈ ℤ has an intermediate property if − 0.5 &lt; d + D &lt; 0 , − 0.5 &lt; D &lt; 0 and ϕ ( B ) Φ ( B s ) ≠ 0 , for | B | ≤ 1 .</p><p>For convenience, we introduce the notation ℤ ≥ = { k ∈ ℤ | k ≥ 0 } , ℤ ≤ = { k ∈ ℤ | k ≤ 0 } and A = { 1, ⋯ , s − 1 } ⊂ ℕ .</p><p>Theorem 2.1. Let { x t } t ∈ ℤ be the SARFIMA ( 0, d ,0 ) ( 0, D ,0 ) s process given by expression:</p><p>( 1 − B ) d ( 1 − B s ) D x t = ε t (13)</p><p>with zero mean, s ∈ ℕ as the seasonal period. Then the process { x t } t ∈ ℤ has autocovariance function of order h, h ∈ ℤ ≥ , given by</p><p>γ x ( h ) = { σ ε 2 ∑ ν ∈ ℤ ≥     γ z ( s ν ) γ y ( h − s ν ) , if   h = s l , l ∈ ℤ ≥ ; 0, if   h = s l + ζ , ζ ∈ A , (14)</p><p>where</p><p>1) The process { y t } t ∈ ℤ is an ARFIMA ( 0, d ,0 ) with autocovariance function of order h, h ∈ ℤ ≥ , given by</p><p>γ y ( h ) = ( − 1 ) h Γ ( 1 − 2 d ) Γ ( h − d + 1 ) Γ ( 1 − h − d ) (15)</p><p>2) The process { z t } t ∈ ℤ is an SARFIMA ( 0, D ,0 ) s with autocovariance function of order ν , ν ∈ ℤ ≥ , given by</p><p>γ z ( s ν + ξ ) = { ( − 1 ) ν Γ ( 1 − 2 D ) Γ ( ν − D + 1 ) Γ ( 1 − ν − D ) = γ x ( ν ) , if   ξ = 0 0 , if   ξ ∈ A (16)</p><p>For proof of Theorem (2.1) see [<xref ref-type="bibr" rid="scirp.103700-ref15">15</xref>] Theorem 2.1.</p><p>Theorem 2.2. Let { x t } t ∈ ℤ be a causal and invertible SARFIMA ( p , d , q ) ( P , D , Q ) s process given by the expression:</p><p>ϕ ( B ) Φ ( B s ) ( 1 − B ) d ( 1 − B s ) D x t = θ ( B ) Θ ( B s ) ε t     for   t ∈ ℤ (17)</p><p>with zero mean, s ∈ ℕ as the seasonal period. Suppose ϕ ( B ) Φ ( B s ) = 0 and θ ( B ) Θ ( B s ) = 0 have no common zeros. For | d + D | &lt; 0.5 , | D | &lt; 0.5 , then the process { x t } t ∈ ℤ has autocovariance function of order h, h ∈ ℤ ≥ , given by</p><p>γ x ( h ) = { σ ε 2 ∑ ν ∈ ℤ ≥ γ z ( s ν ) γ y ( h − s ν ) , if   h = s l , l ∈ ℤ ≥ ; 0 , if   h = s l + ζ , ζ ∈ A , (18)</p><p>where</p><p>1) the process { y t } t ∈ ℤ is an ARFIMA ( p , d , q ) with autocovariance function given by γ y ( ⋅ ) .</p><p>2) the process { z t } t ∈ ℤ is an SARFIMA ( P , D , Q ) s with autocovariance function given by γ z ( ⋅ ) .</p><p>For proof of Theorem (2.2) see [<xref ref-type="bibr" rid="scirp.103700-ref15">15</xref>] Theorem 2.2.</p></sec><sec id="s2_3"><title>2.3. The GARCH(m, r) Model</title><p>The GARCH ( m , r ) model can be obtained from Equation (1) by letting E [ ε t | F t − 1 ] = 0 and the conditional variance, E [ ε t 2 | F t − 1 ] = h t where F t − 1 is the σ field generated by the past information { ε t − 1 , ε t − 2 , ⋯ } . Let also ε t | F t − 1 ~ N ( 0, h t ) and</p><p>ε t = z t h t (19)</p><p>where z t is normal distributed with mean 0 and variance 1. [<xref ref-type="bibr" rid="scirp.103700-ref4">4</xref>] introduced the GARCH ( m , r ) model which defines the conditional variance equation as follows;</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i (20)</p><p>where ω 0 &gt; 0 , α 1 , ⋯ , α r , β 1 , ⋯ , β m ≥ 0 , r and m are positive integer. Note that the GARCH model defined by (20) can be replaced by other conditional heteroscedastic models.</p></sec><sec id="s2_4"><title>2.4. The General SARFIMA-GARCH Model</title><p>Let the SARFIMA ( p , d , q ) ( P , D , Q ) s -GARCH ( m , r ) model be the discrete time series model of { y t } given by the following equation.</p><p>y t = μ 0 + ϕ − 1 ( B ) Φ − 1 ( B s ) ( 1 − B ) − d ( 1 − B s ) − D θ ( B ) Θ ( B s ) ε t</p><p>ε t = z t h t , ε t | F t − 1 ~ N ( 0, h t )</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i (21)</p></sec><sec id="s2_5"><title>2.5. Variance of Variance in the Standard GARCH(m, r) Model</title><p>By rearranging the conditional variance Equation (20) for a GARCH(1,1) we obtain:</p><p>h t = ω 0 + ( α 1 + β 1 ) h t − 1 + α 1 ( ε t − 1 2 − h t − 1 ) = ω 0 + γ h t − 1 + α 1 h t − 1 η t − 1 (22)</p><p>where γ = α 1 + β 1 and η t = z t 2 − 1 . [<xref ref-type="bibr" rid="scirp.103700-ref16">16</xref>] have shown that the variance of variance is given by:</p><p>V a r ( h t ) = α 1 2 h t − 1 E [ η t − 1 ] = ( κ z − 1 ) α 1 2 h t − 1 2 (23)</p><p>where κ z denotes the conditional kurtosis of z t , which we assume to be finite constant. If the distribution of z t is standard normal, then κ z − 1 = 2 .</p><p>[<xref ref-type="bibr" rid="scirp.103700-ref16">16</xref>] further rearranged the terms in Equation (22), the conditional variance equation becomes:</p><p>h t − h t − 1 = φ ( τ − h t − 1 ) + α 1 h t − 1 η t − 1 = ω 0 + γ h t − 1 + α 1 h t − 1 η t − 1 (24)</p><p>where φ = 1 − γ determines the speed at which the conditional variance reverts to its long run mean τ , that is, E ( τ ) = ω 0 ( 1 − γ ) − 1 and its corresponding variance becomes:</p><p>V a r ( h t − h t − 1 ) = ( κ z − 1 ) α 1 2 h t − 1 (25)</p></sec><sec id="s2_6"><title>2.6. Intervention in ARIMA Models</title><p>Traditional time series analysis has considered four types of interventions, see for instance, [<xref ref-type="bibr" rid="scirp.103700-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.103700-ref18">18</xref>] [<xref ref-type="bibr" rid="scirp.103700-ref19">19</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref20">20</xref>]. The four types of interventions are:</p><p>1) Additive Outlier (AO): represents an isolated spike.</p><p>2) Level Shift (LS): represents a step function.</p><p>3) Transitory or Temporary Change (TC): represents a spike that takes a few periods to disappear.</p><p>4) Innovative Outlier (IO): represents effects that depend on the ARIMA model for the observed series.</p><p>According to [<xref ref-type="bibr" rid="scirp.103700-ref21">21</xref>], the effect of an AO, a LS, or a TC on an observed series is independent of the ARIMA model whereas the effect of an IO on an observed series consist of an initial shock that propagates in the subsequent observations with the weights of the ARIMA model.</p><p>Let y t be a time series that can be described with the SARIMA ( p , d , q ) ( P , D , Q ) s model:</p><p>ϕ ( B ) Φ ( B s ) ( 1 − B ) d ( 1 − B s ) D ( y t − μ 0 ) = θ ( B ) Θ ( B s ) ε t ,     for   t = 1, ⋯ , n (26)</p><p>and let x t be the contaminated series containing k outliers represented by:</p><p>x t = y t + ∑ j = 1 k     μ j G j ( B ) I t τ j (27)</p><p>where μ j is the initial impact of the outlier at time t = τ j ; I t τ j is an indicator variable such that it is 1 for t = τ j and 0 otherwise; and G j ( B ) determines the dynamics of the intervention occurring at time t = τ j according to the following schemes:</p><p>1) AO: G j ( B ) = 1 .</p><p>2) LS: G j ( B ) = ( 1 − B ) − 1 .</p><p>3) TC: G j ( B ) = ( 1 − δ B ) − 1 ,   0 &lt; δ &lt; 1 .</p><p>4) IO: G j ( B ) = ϕ − 1 ( B ) Φ − 1 ( B s ) ( 1 − B ) − d ( 1 − B s ) − D θ ( B ) Θ ( B s ) .</p><p>[<xref ref-type="bibr" rid="scirp.103700-ref21">21</xref>] came up with a new intervention type, Seasonal Level Shift (SLS), that can describe a perturbation mostly related to the seasonal component. Seasonal level shifts are the interventions that affect only certain quarters or months of a year. The SLS is a special kind of level shift that occurs in SARIMA ( p , d , q ) ( P , D , Q ) s at some point t = τ in time and reoccur regularly every year at same season say s and its effect carries up to subsequent seasons. The basic model with SLS suggested by [<xref ref-type="bibr" rid="scirp.103700-ref21">21</xref>] is given by</p><p>x t = y t + μ G ( B s ) I t τ     where     G ( B s ) = ( 1 − B s ) − 1 (28)</p><p>However G ( B s ) = ( 1 − B s ) − 1 causes an impact on trend which can only be removed by defining dynamic weights as</p><p>G ( B s ) = 1 1 − B s − 1 s ( 1 − B ) (29)</p><p>The dynamic impact was normalized as suggested by [<xref ref-type="bibr" rid="scirp.103700-ref22">22</xref>]:</p><p>G ( B s ) = s s − 1 [ ( 1 − B s ) − 1 − 1 s ( 1 − B ) − 1 ] = s s − 1 [ ( 1 + B s + B 2 s + B 3 s + ⋯ ) − 1 s ( 1 + B + B 2 + B 3 + ⋯ ) ] = [ 1 − s s − 1 B + s s − 1 B s ] ( 1 − B s ) − 1 ( 1 − B ) − 1 (30)</p><p>Thus model (28) becomes</p><p>x t = y t + μ G ( B s ) I t τ = y t + μ [ 1 − s s − 1 B + s s − 1 B s ] ( 1 − B s ) − 1 ( 1 − B ) − 1 I t τ (31)</p><p>Equation (31) is the observed series indicating series that the occurrence of SLS affects the time series for several seasons at same quarters or month with magnitude of outlier μ . The outlier is introduced in the model by generating a variable:</p><p>G ( B s ) I t τ = { 0 for     t &lt; τ 1 at     t = τ + s j − 1 s − 1 at     t = τ + s j + 1 , τ + s j + 2 , ⋯ , τ + s j + s − 1         j = 1 , 2 , ⋯ (32)</p><p>However in this research, for a SLS intervention at period t = τ , we shall stick to the simple specification model (28).</p></sec></sec><sec id="s3"><title>3. SARFIMA-GARCH Models with Level Shift</title><p>This section presents a natural extension of the SARFIMA-GARCH models to a case with level shift. We start with a standard shift in the mean, then a level shift in seasonality. We will also consider level shift in the volatility with its corresponding shift in seasonality.</p><sec id="s3_1"><title>3.1. The SARFIMA Model with Level Shift</title><p>The SARFIMA ( p , d , q ) ( P , D , Q ) s model is written as</p><p>ϕ ( B ) Φ ( B s ) ( 1 − B ) d ( 1 − B s ) D ( y t − μ 0 ) = θ ( B ) Θ ( B s ) ε t ,   for     t = 1 , ⋯ , n (33)</p><p>where y t is the time series at time t, μ 0 is the unconditional mean of the process. We assume the noise process ε t to be Gaussian, with expectation zero and variance σ ε 2 .</p><p>To allow for a mean level shift, after time t = τ of the data, we write the sum of an unobserved SARFIMA process and the term for the mean level shift which we will denote as LS-SARFIMA ( p , d , q ) ( P , D , Q ) s</p><p>x t = y t + μ 11 ( 1 − B ) − 1 I t τ (34)</p><p>= y t + μ 11 G 11 ( B ) I t τ (35)</p><p>where x t denotes the observed contaminated series; y t follows the SARFIMA process; I t τ is an indicator variable taking values 1 for t = τ , and 0 otherwise. The parameter μ 11 indicates the size of the mean level shift at time t = τ ; G 11 ( B ) determines the dynamics of the intervention occurring at time t = τ . The mean level shift is an abrupt but permanent shift by μ 11 in the series caused by an intervention.</p><p>The extension of (34) to k level shifts is straightforward. We define μ 1 j as the τ j t h shift in level, compared to the previous level, where j = 1, ⋯ , k . When we allow k level changes at pre-specified time t = τ j , we can extend Equation (34) and Equation (35) to</p><p>x t = y t + ∑ j = 1 k     μ 1 j ( 1 − B ) − 1 I t τ j (36)</p><p>= y t + ∑ j = 1 k     μ 1 j G 1 j ( B ) I t τ j (37)</p><p>The component ∑ j = 1 k     μ 1 j ( 1 − B ) − 1 I t τ j allows the intercept of the SARFIMA model to fluctuate over time between μ 0 and μ 0 + ∑ j = 1 k     μ 1 j .</p></sec><sec id="s3_2"><title>3.2. The SARFIMA Model with Seasonal Level Shift</title><p>Seasonal Level Shift in SARFIMA models denoted as SLS-SARFIMA type intervention display seasonal features in its pattern. Many economic series display breaks and anomalies within the previous restrictions. To illustrate the argument, the SLS is presented in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p><p>This paper covers the methodologically and computationally less complex approach by extending intervention detection procedures to cover shifts in the seasonal component in fractionally integrated SARFIMA models. The Seasonal Level Shift (SLS) intervention has an effect on the trend given by the step function of <xref ref-type="fig" rid="fig2">Figure 2</xref>(a), and an effect on the seasonal component shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>(b).</p><p>A Seasonal Level Shift intervention at period t = τ would affect the series y t and is represented by model (38):</p><p>x t = μ 21 G 21 ( B s ) I t τ + y t       where     G 21 ( B s ) = ( 1 − B s ) − 1 (38)</p><p>Assuming the observed series contains k seasonal level shifts at time t = τ j for j = 1 , ⋯ , k , their combined effect can be expressed in general form as:</p><p>x t = ∑ j = 1 k     μ 2 j G 2 j ( B s ) I t τ j + y t       where     G 2 j ( B s ) = ( 1 − B s ) − 1 (39)</p><p>The component ∑ j = 1 k     μ 2 j ( 1 − B s ) − 1 I t τ j allows the intercept of the SARFIMA model to fluctuate over time between μ 0 and μ 0 + ∑ j = 1 k     μ 2 j .</p></sec><sec id="s3_3"><title>3.3. The GARCH(m, r) Model with Level Shift</title><p>As indicated earlier, [<xref ref-type="bibr" rid="scirp.103700-ref4">4</xref>] introduced the GARCH(m, r) model which defines the conditional variance equation as follows;</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i (40)</p><p>To allow for a volatility level shift, denoted ω 11 , after time t = τ of the data, we write h t as the sum of an unobserved GARCH process and the term of the volatility level shift which we will denote as LS-GARCH(m, r).</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ω 11 ( 1 − B ) − 1 I t τ (41)</p><p>= ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ω 11 G 11 ( B ) I t τ (42)</p><p>where I t τ is an indicator variable taking values 1 for t = τ , and 0 otherwise. The parameter ω 11 indicates the size of the volatility level shift at time t = τ .</p><p>The extension of Equation (41) and Equation (42) to k volatility level shifts is straightforward. We define ω 1 j as the τ j t h shift in volatility level, compared to the previous level, where j = 1 , ⋯ , k . When we allow k volatility level changes at pre-specified time t = τ j , we can extend (41) and (42) to</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ∑ j = 1 k     ω 1 j ( 1 − B ) − 1 I t τ j (43)</p><p>= ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ∑ j = 1 k     ω 1 j G 1 j ( B ) I t τ j (44)</p><p>The component ∑ j = 1 k     ω 1 j ( 1 − B ) − 1 I t τ j governs the level shift movement of GARCH model intercept, that is baseline volatility, over time between ω 0 and ω 0 + ∑ j = 1 k     ω 1 j .</p></sec><sec id="s3_4"><title>3.4. The GARCH(r, m) Model with Seasonal Level Shift</title><p>Seasonal Level Shift in volatility denoted as SLS-GARCH type intervention display seasonal features in its pattern. The Seasonal Level Shift (SLS) intervention has an effect on the trend given by the step function and an effect on the seasonal component.</p><p>A Seasonal Level Shift intervention in GARCH model at period t = τ would affect the series h t and is represented by model (45) and (46):</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ω 21 ( 1 − B s ) − 1 I t τ (45)</p><p>= ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ω 21 G 21 ( B s ) I t τ (46)</p><p>Assuming the observed series contains k seasonal level shifts at time t = τ j for j = 1 , ⋯ , k , their combined effect can be expressed in general form as:</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ∑ j = 1 k     ω 2 j ( 1 − B s ) − 1 I t τ j (47)</p><p>= ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ∑ j = 1 k     ω 2 j G 2 j ( B s ) I t τ j (48)</p><p>The component ∑ j = 1 k     ω 2 j ( 1 − B s ) − 1 I t τ j allows the intercept of the GARCH model to fluctuate over time between ω 0 and ω 0 + ∑ j = 1 k     ω 2 j .</p></sec><sec id="s3_5"><title>3.5. The General SARFIMA-GARCH Model with Level Shift</title><p>Extension of y t the SARFIMA ( p , d , q ) ( P , D , Q ) s -GARCH ( m , r ) process to the case with standard level shift is given by the following equation which we will denote as LS-SARFIMA-LS-GARCH</p><p>x t = y t + ∑ j = 1 k     μ 1 j ( 1 − B ) − 1 I t τ j</p><p>ε t = z t h t , ε t | F t − 1 ~ N ( 0 , h t )</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ∑ j = 1 k     ω 1 j ( 1 − B ) − 1 I t τ j (49)</p><p>Similarly, extension of y t the SARFIMA ( p , d , q ) ( P , D , Q ) s -GARCH ( m , r ) process to the case with seasonal level shift is given by the following equation which we will denote as SLS-SARFIMA-SLS-GARCH</p><p>x t = y t + ∑ j = 1 k     μ 2 j ( 1 − B s ) − 1 I t τ j</p><p>ε t = z t h t , ε t | F t − 1 ~ N ( 0, h t )</p><p>h t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 m     β i h t − i + ∑ j = 1 k     ω 2 j ( 1 − B s ) − 1 I t τ j (50)</p></sec></sec><sec id="s4"><title>4. Estimation of SLS-SARFIMA-SLS-GARCH Model Parameters</title><sec id="s4_1"><title>4.1. Estimation of SLS-SARFIMA Model Parameters</title><p>The first step of estimation consists in estimating the SARFIMA ( p , d , q ) ( P , D , Q ) s assuming that the conditional variance is constant over time. By rearranging Equation (38) for one mean seasonal level shift we have:</p><p>ϕ ( B ) Φ ( B s ) ( 1 − B ) d ( 1 − B s ) D y t = μ 0 + θ ( B ) Θ ( B s ) ε t + μ 21 ( 1 − B s ) − 1 I t . (51)</p><p>Therefore the null hypothesis of unconditional mean constancy becomes: H 0 : μ 21 = 0 . Let ψ 1 = ( d , D , μ 0 , μ 21 , ϕ ′ , Φ ′ , θ ′ , Θ ′ , σ ε 2 ) ′ be the approximate likelihood estimator (MLE) ψ ^ 1 of ψ 1 that maximizes the conditional log-likelihood:</p><p>l t ( ψ 1 ) = − 1 2 ln 2 π − 1 2 ln σ ε 2 − 1 2 ε t 2 σ ε 2 . (52)</p><p>The partial derivatives evaluated under H 0 are given by:</p><p>∂ l t ∂ ψ 1 | H 0 = − ε ^ t σ ε 2 ∂ ε ^ t ∂ ψ 1 | H 0 (53)</p><p>&#183; ∂ ε t ∂ d | H 0 = ( 1 − B ) d ( 1 − B s ) D ϕ ^ ( B ) Φ ^ ( B s ) ∑ j t − 1 y t − j j + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ d                         + ∑ j = 0 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ d</p><p>&#183; ∂ ε t ∂ D | H 0 = ( 1 − B ) d ( 1 − B s ) D ϕ ^ ( B ) Φ ^ ( B s ) ∑ j t − 1 y t − j s j s + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ D                         + ∑ j = 0 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ D</p><p>&#183; ∂ ε t ∂ μ 0 | H 0 = − 1 + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ μ 0 + ∑ j = 0 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ μ 0</p><p>&#183; ∂ ε t ∂ μ 21 | H 0 = − ( 1 − B s ) − 1 I t + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ μ 21 + ∑ j = 0 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ μ 21</p><p>&#183; ∂ ε t ∂ ϕ | H 0 = Φ ^ ( B s ) ( 1 − B ) d ( 1 − B s ) D ( y t − 1 , ⋯ , y t − p ) + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ ϕ                         + ∑ j = 1 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ ϕ</p><p>&#183; ∂ ε t ∂ Φ | H 0 = ϕ ^ ( B ) ( 1 − B ) d ( 1 − B s ) D ( y t − s , ⋯ , y t − p s ) + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ Φ                         + ∑ j = 0 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ Φ</p><p>&#183; ∂ ε t ∂ θ | H 0 = ( ∑ j = 0 Q     Θ ^ j ε t − 1 − j s , ⋯ , ∑ j = 0 Q     Θ ^ j ε t − q − j s ) + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ θ                           + ∑ j = 1 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ θ</p><p>&#183; ∂ ε t ∂ Θ | H 0 = ( ε t − s , ε t − 2 s , ⋯ , ε t − Q s ) + ( ∑ i = 0 q     θ ^ i ε t − i − s , ⋯ , ∑ i = 0 q     θ ^ i ε t − i − Q s )                         + ∑ j = 1 Q     Θ ^ j ∂ ε ^ t − j s ∂ Θ + ∑ j = 0 Q   ∑ i = 0 q     Θ ^ j θ ^ i ∂ ε ^ t − i − j s ∂ Θ</p><p>&#183; ∂ ε t ∂ σ ε 2 | H 0 = − 1 2 σ ε 2 + ε ^ t 2 2 σ ε 4</p><p>Under H 0 , the LM-type statistics is asymptotically distributed as χ 2 with one degree of freedom:</p><p>L M 1 = 1 2 ∑ t = 1 n ∂ l t ∂ ψ 1 | H 0 ( ∑ t = 1 n [ ∂ ε t ∂ ψ 1 | H 0 ] [ ∂ ε t ∂ ψ 1 | H 0 ] ′ ) − 1 ∑ t = 1 n ∂ l t ∂ ψ 1 | H 0 (54)</p></sec><sec id="s4_2"><title>4.2. Estimation of SLS-GARCH Parameters</title><p>Once the SLS-SARFIMA model is estimated and the residuals ε t are obtained, we test the alternative of SLS-GARCH specification with one volatility level shift against the null hypothesis of GARCH model. Let us rearrange model (41) with one volatility level shift:</p><p>h t = ω 0 + α ( B ) ε t + β ( B ) h t + ω 21 ( 1 − B s ) − 1 I t (55)</p><p>Therefore the null hypothesis of the unconditional variance constancy becomes: H 0 : ω 21 = 0 . Let ψ 2 = ( ω 0 , ω 21 , α ′ , β ′ ) ′ be the vector of the SLS-GARCH model parameters and the quasi-likelihood function is given by:</p><p>l t ( ψ 2 ) = − 1 2 l n 2 π − 1 2 l n h t − 1 2 ε t 2 h t . (56)</p><p>The partial derivatives evaluated under H 0 are given by:</p><p>∂ l t ∂ ψ 2 | H 0 = 1 2 [ ε ^ t 2 h ^ 0 t − 1 ] ∂ ln h t ∂ ψ 2 | H 0 (57)</p><p>&#183; ∂ ln h t ∂ ω 0 | H 0 = ( h ^ 0 t ) − 1 [ 1 + ∑ j = 1 m β ^ j ∂ h ^ t − j ∂ ω 0 ]</p><p>&#183; ∂ ln h t ∂ ω 21 | H 0 = ( h ^ 0 t ) − 1 [ ( 1 − B s ) − 1 I t + ∑ j = 1 m β ^ j ∂ h ^ t − j ∂ ω 21 ]</p><p>&#183; ∂ ln h t ∂ α | H 0 = ( h ^ 0 t ) − 1 [ ( ε t − 1 2 , ⋯ , ε t − r ) ′ + ∑ j = 1 m β ^ j ∂ h ^ t − j ∂ α ]</p><p>&#183; ∂ ln h t ∂ β | H 0 = ( h ^ 0 t ) − 1 [ ( h t − 1 , ⋯ , h t − m ) ′ + ∑ j = 1 m β ^ j ∂ h ^ t − j ∂ β ]</p><p>Under the null hypothesis, the “hats” indicates the maximum likelihood estimator and h ^ 0 t denotes the conditional variance estimated at time t. Under H 0 , the LM-type statistics is asymptotically distributed as χ 2 with one degree of freedom:</p><p>L M 2 = 1 2 ∑ t = 1 n ∂ l t ∂ ψ 2 | H 0 ( ∑ t = 1 n [ ∂ ln h t ∂ ψ 2 | H 0 ] [ ∂ ln h t ∂ ψ 2 | H 0 ] ′ ) − 1 ∑ t = 1 n ∂ l t ∂ ψ 2 | H 0 (58)</p></sec></sec><sec id="s5"><title>5. Level Shift Detection and Estimation in SARFIMA-GARCH</title><p>In this section we discuss how the iterative detective procedure described in [<xref ref-type="bibr" rid="scirp.103700-ref23">23</xref>] and [<xref ref-type="bibr" rid="scirp.103700-ref24">24</xref>] can be extended to allow for both detection and estimation of SLS in SARFIMA-GARCH intervention to be denoted SLS-SARFIMA and SLS-GARCH.</p><sec id="s5_1"><title>5.1. Detection and Estimation in SLS-SARFIMA</title><p>Let ψ 1 = ( d , D , μ 0 , ϕ ′ , Φ ′ , θ ′ , Θ ′ , σ ε 2 ) ′ be the vector of parameters in model (59)</p><p>ϕ ( B ) Φ ( B s ) ( 1 − B ) d ( 1 − B s ) D y t = μ 0 + θ ( B ) Θ ( B s ) ε t , t = 1 , ⋯ , n (59)</p><p>and let us suppose, for the moment, that it is known. Further, suppose that the observed series is subject to the influence of a perturbation at time t = τ such that:</p><p>x t = μ 21 G ( B s ) I t τ + y t (60)</p><p>where we assume that model (59) is stationary. Model (60) can be rewritten as a linear regression model presented in model (61) and model (62)</p><p>x t = μ 21 Z t * ( τ ) + y t (61)</p><p>where Z t * ( τ ) = G ( B s ) I t τ is an n &#215; 1 . Writing model (61) in matrix form:</p><p>x = μ 21 Z * + y (62)</p><p>where x = ( x 1 , ⋯ , x n ) ′ ; y = ( y 1 , ⋯ , y n ) ′ and Z * = ( Z 1 * ( τ ) , ⋯ , Z n * ( τ ) ) ′ .</p><p>According to [<xref ref-type="bibr" rid="scirp.103700-ref21">21</xref>], model (62) is a regression model with autocorrelation residuals and therefore the problem of estimating μ 21 can be solved by Generalized Least Squares (GLS).</p><p>Let V a r ( x ) = σ ε 2 Σ with Σ a n &#215; n matrix which depends on ψ 1 and which is assumed to be positive definite, and let Σ = L ′ L be the Cholesky decomposition of Σ with L lower triangular. Pre-multiplying Equation (62) by L − 1 , and setting e * = L − 1 x , Z = L − 1 Z * and e = L − 1 y , we obtain the Ordinary Least Square (OLS) model</p><p>e * = μ 21 Z + e (63)</p><p>where V a r ( e ) = σ ε 2 I n . The OLS estimator of μ 21 and its variance are obtained from Equation (63) as</p><p>μ ^ 21 = ( Z ′ Z ) − 1 Z ′ e *       and     V a r ( μ ^ 21 ) = ( Z ′ Z ) − 1 σ ε 2 (64)</p><p>As argued in [<xref ref-type="bibr" rid="scirp.103700-ref24">24</xref>], to move from the GLS model in (62) to the OLS model in (63), there is no need to evaluate the matrix Σ , since the application of the Kalman filter on the observed series x yields the vector of standardized residuals e * = L − 1 x . Similarly, the application of the same filter on vector Z * provides the vector Z = L − 1 Z * from which Equation (64) can be computed.</p><p>To test the null hypothesis that the observation at time t = τ is not an intervention, one can use the standardized statistic.</p><p>λ = μ ^ 21 V a r ( μ ^ 21 ) (65)</p><p>which, for known ψ 0 , follows a standard normal distribution. By setting appropriate starting conditions (see, for example, ( [<xref ref-type="bibr" rid="scirp.103700-ref24">24</xref>] [<xref ref-type="bibr" rid="scirp.103700-ref25">25</xref>], or [<xref ref-type="bibr" rid="scirp.103700-ref26">26</xref>] ), the previous scheme extends in a straightforward manner to non-stationary series, for which y t follows model (59).</p></sec><sec id="s5_2"><title>5.2. Mean Level Shift Detection in SARFIMA-GARCH</title><p>The mean level shift detection test was previously derived by [<xref ref-type="bibr" rid="scirp.103700-ref27">27</xref>] for ARIMA models and extended by [<xref ref-type="bibr" rid="scirp.103700-ref20">20</xref>] for the fractionally integrated ARFIMA ( p , d , q ) models assuming conditional variance is constant over time. [<xref ref-type="bibr" rid="scirp.103700-ref28">28</xref>] extended the level shift detection test of the mean for a realization of time series { x t } satisfying LS-SARFIMA-LS-GARCH model. For our purpose a natural extension of the seasonal level shift detection test of the mean for a realization of time series { x t } satisfying SLS-SARFIMA and SLS-GARCH model was derived. In order to derive the test statistic, let us rewrite model (38), with only one mean seasonal level shift:</p><p>x t = y t + μ 21 ( 1 − B s ) − 1 I t τ (66)</p><p>The hypothesis to be tested is</p><p>H 0 : μ 21 = 0     against       H 1 : μ 21 ≠ 0 (67)</p><p>which is based on x 1 , x 2 , ⋯ , x n a realization of time series { x t } satisfying SARFIMA-GARCH model with mean seasonal level shift.</p><p>Model (66) can be rewritten as</p><p>( 1 − B s ) x t = ( 1 − B s ) y t + μ 21 I t τ</p><p>This implies transforming the series by differencing of ( 1 − B s ) . Thus if μ 21 = 0 , ( 1 − B s ) x t = ( 1 − B s ) y t . The intervention parameter μ 21 can be estimated using various methods like the maximum likelihood estimation and least square estimation. The least square estimate of μ 21 if the mean intervention is at time t = τ is given by</p><p>μ ^ 21 = ∑ t = 2 n ( 1 − B s ) x t I t τ ∑ t = 2 n I t 2 = ( 1 − B s ) x τ = ( 1 − B s ) y τ , τ = s + 1 , s + 2 , ⋯ , n (68)</p><p>Extension of [<xref ref-type="bibr" rid="scirp.103700-ref27">27</xref>] test statistics can be written as:</p><p>T n = max { | T n ( t ) | } = max { | μ ^ 21 ( t ) | V a r [ μ ^ 21 ( t ) ] } , t = s + 1 , s + 2 , ⋯ , n (69)</p><p>where μ ^ 21 ( t ) = x t − x t − s is the estimated intervention or impact at time t = τ and V a r [ μ ^ 21 ( t ) ] is an estimate of the variance of μ ^ 21 ( t ) .</p><p>The distribution of the statistics is based on the fact that it is originally Normally distributed and then transformed to the Gamma distribution both of which belong to the Domain of Attraction of the Gumbel distribution with normalizing constants:</p><p>1) Normal Distribution:</p><p>d n = 2 ln ( n ) − ln ( ln ( n ) ) + ln ( 4 π ) 2 2 ln ( n )   and   c n = 1 / 2 ln ( n ) (70)</p><p>2) Gamma Distribution:</p><p>d n = 2 ln ( n ) − ln ( ln ( n ) ) − 2 ln Γ ( π )   and   c n = 2 (71)</p><p>The maximum domain of attraction of the Gumbel is shown to some extent in [<xref ref-type="bibr" rid="scirp.103700-ref29">29</xref>] and in greater detail in [<xref ref-type="bibr" rid="scirp.103700-ref30">30</xref>].</p><p>Let the test statistics be given by</p><p>S n = T n 2 − d n c n (72)</p><p>Then under H 0 : μ 21 = 0 , the statistics S n satisfies</p><p>S n → D F ( y ) = exp ( − e − ( y − λ ) / δ ) , as   n → ∞ (73)</p><p>where D signifies convergence in distribution. Here, λ ∈ R is location parameter and δ is scale parameter. The location parameter is also the mode of the distribution. Inverse of the F ( y ) in Equation (73), is given by:</p><p>y = λ − δ ln ( − ln ( F ) ) (74)</p><p>Thus a test of hypothesis can be conducted by comparing the test statistic S n in Equation (72) with an appropriate critical value. The largest T n 2 ( t ) statistic is considered an intervention at the α significance if the S n value exceeds the critical value.</p></sec><sec id="s5_3"><title>5.3. Volatility Seasonal Level Shift Detection in SARFIMA-GARCH Model</title><p>The second step is a natural extension of mean seasonal level shift detection in SARFIMA-GARCH model to volatility seasonal level shift detection in SARFMA-GARCH model. After estimating the SLS-SARFIMA model and the residuals ε t are obtained, we test, the alternative hypothesis of SLS-GARCH volatility level shift against the null hypothesis of GARCH model. Let us rewrite model (47) with one volatility seasonal level shift:</p><p>h t = g t + ω 21 ( 1 − B s ) − 1 I t τ where     g t = ω 0 + ∑ i = 1 r     α i ε t − i 2 + ∑ i = 1 s     β i h t − i (75)</p><p>The hypothesis tested is</p><p>H 0 : ω 21 = 0       against     H 1 : ω 21 ≠ 0 (76)</p><p>which is based on h 1 , h 2 , ⋯ , h n a realization of time series { h t } from a GARCH model with seasonal level shift.</p><p>The derivation is based on the statistics</p><p>T n = max { | T n ( 1 ) | , ⋯ , | T n ( n ) | } = max { | ω ^ 21 ( 1 ) | V a r [ ω ^ 21 ( 1 ) ] , ⋯ , | ω ^ 21 ( n ) | V a r [ ω ^ 21 ( n ) ] } (77)</p><p>where ω ^ 21 ( t ) = h t − h t − s is the estimated intervention or impact at time t = τ and V a r [ ω ^ 21 ( t ) ] is an estimate of the variance of ω ^ 21 ( t ) .</p><p>Model (75) can be rewritten as</p><p>( 1 − B s ) h t = ( 1 − B s ) g t + ω 21 I t τ (78)</p><p>Thus if ω 21 = 0 , ( 1 − B s ) h t = ( 1 − B s ) g t . The intervention parameter ω 21 can be estimated using various methods like the maximum likelihood estimation and least square estimation. The least square estimate of ω 21 if the volatility intervention is at time t = τ is</p><p>ω ^ 21 = ∑ t = 2 n ( 1 − B s ) h t I t τ ∑ t = 2 n ( I t τ ) 2 = ( 1 − B s ) h τ = ( 1 − B s ) g τ , τ = s + 1 , s + 2 , ⋯ , n (79)</p><p>The distribution of the statistics is based on the fact that it is originally Normally distributed and then transformed to the Gamma distribution both of which belong to the Domain of Attraction of the Gumbel distribution with normalizing constants:</p><p>1) Normal Distribution:</p><p>d n = 2 ln ( n ) − ln ( ln ( n ) ) + ln ( 4 π ) 2 2 ln ( n )   and   c n = 1 / 2 ln ( n ) (80)</p><p>2) Gamma Distribution:</p><p>d n = 2 ln ( n ) − ln ( ln ( n ) ) − 2 ln Γ ( π )   and   c n = 2 (81)</p><p>The maximum domain of attraction of the Gumbel is shown to some extent in [<xref ref-type="bibr" rid="scirp.103700-ref29">29</xref>] and in greater detail in [<xref ref-type="bibr" rid="scirp.103700-ref30">30</xref>].</p><p>Let { h t } be a time series satisfying the volatility seasonal level shift model</p><p>( 1 − B s ) h t = ( 1 − B s ) g t + ω 21 I t τ (82)</p><p>For any realization h 1 , h 2 , ⋯ , h n of this time series, let the test statistics be given by:</p><p>S n = T n 2 − d n c n (83)</p><p>Then under H 0 : ω 21 = 0 , the statistics S n satisfies</p><p>S n → D F ( y ) = e x p ( − e − ( y − λ ) / δ ) , as   n → ∞ (84)</p><p>where D signifies convergence in distribution. Thus a test of hypothesis can be conducted by comparing the test statistic S n Equation (83) with an appropriate critical value. The largest T n 2 ( i ) statistic is considered as volatility intervention at the α level of significance if the test statistic S n value exceeds the critical value.</p></sec><sec id="s5_4"><title>5.4. Mean and Volatility Level Shift Detection in SARFIMA-GARCH</title><p>Summary of the detection procedure is presented below:</p><p>1) Plot the data to get a picture of the type of series and possible seasonal level shift in the data.</p><p>2) Assume that the underlying SARFIMA-GARCH series { y t } contains no level shift and use maximum likelihood procedure to estimate its parameters.</p><p>3) The first test is performed to check the mean seasonal level shift which can be conducted as follows:</p><p>a) State the hypothesis being tested, which is</p><p>H 0 : μ 21 = 0       against       H 1 : μ 21 ≠ 0 (85)</p><p>b) Compute the residuals, the impact μ 21 and the test statistics like the popular [<xref ref-type="bibr" rid="scirp.103700-ref27">27</xref>] ’s likelihood ratio test statistics given by</p><p>T n = max { | T n ( t ) | } = max { | μ ^ 21 ( t ) | V a r [ μ ^ 21 ( t ) ] } , t = s + 1 , s + 2 , ⋯ , n</p><p>Then compute the statistics:</p><p>S n = T n 2 − d n c n</p><p>c) Determine the critical values to use in the test.</p><p>d) Determine whether observations are seasonal level shifts and remove each from the series by subtracting the value of the impact μ 2 i , i = 1 , ⋯ , k then apply the SARFIMA-GARCH modeling procedure to obtain the adequate model.</p><p>4) The second test is performed to check the volatility level shift which can be conducted as follows:</p><p>a) State the hypothesis being tested, which is</p><p>H 0 : ω 21 = 0       against       H 1 : ω 21 ≠ 0 (86)</p><p>b) Compute the residuals, the impact ω 21 and the test statistics like the popular [<xref ref-type="bibr" rid="scirp.103700-ref27">27</xref>] ’s likelihood ratio test statistics given by</p><p>T n = max { | T n ( 1 ) | , ⋯ , | T n ( n ) | } = max { | ω ^ 21 ( 1 ) | V a r [ ω ^ 21 ( 1 ) ] , ⋯ , | ω ^ 21 ( n ) | V a r [ | ω ^ 21 ( n ) | ] } (87)</p><p>Then compute the statistics:</p><p>S n = T n 2 − d n c n</p><p>c) Determine the critical values to use in the test.</p><p>d) Determine whether observations are level shifts and remove each from the series by subtracting the value of the impact ω 2 i , [ i = 1 , ⋯ , k ] then apply the SARFIMA-GARCH modeling procedure to obtain the adequate model.</p></sec></sec><sec id="s6"><title>6. Conclusions</title><p>This paper focused on the theoretical derivation of the class of seasonal fractionally integrated autoregressive moving average-conditional heteroskedastisticty (SARFIMA-GARCH) models, with level shift type intervention. The following derivations were established:</p><p>1) A natural extension of the seasonal level shift detection test of the mean for a time series satisfies SLS-SARFIMA.</p><p>2) A natural extension of the seasonal level shift detection test of the volatility for a time series satisfies SLS-GARCH.</p><p>3) Test statistics that are useful to examine if seasonal level shift in an SARFIMA-GARCH model was established.</p><p>4) Estimation of SLS-SARFIMA and SLS-GARCH parameters was derived using quasi maximum likelihood estimation.</p><p>To appreciate the procedure, we derived a simulation study consisting of simulation of critical values for mean and volatility seasonal level shift, simulating different sizes of mean and volatility seasonal level shift impact, performing detection test and conducting the power of the mean level shift detection procedure which are considered in a separate paper by the same authors.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Dhliwayo, L., Matarise, F. and Chimedza, C. (2020) Modeling Seasonal Fractionally Integrated Autoregressive Moving Average-Generalized Autoregressive Conditional Heteroscedasticity Model with Seasonal Level Shift Intervention. Open Journal of Statistics, 10, 810-831. https://doi.org/10.4236/ojs.2020.105047</p></sec></body><back><ref-list><title>References</title><ref id="scirp.103700-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Granger, C.W. and Joyeux, R. (1980) An Introduction to Long-Memory Time Series Models and Fractional Differencing. Journal of Time Series Analysis, 1, 15-29. https://doi.org/10.1111/j.1467-9892.1980.tb00297.x</mixed-citation></ref><ref id="scirp.103700-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Hosking, J.R. (1981) Fractional Differencing. Biometrika, 68, 165-176. https://doi.org/10.1093/biomet/68.1.165</mixed-citation></ref><ref id="scirp.103700-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Robinson, P.M. and Zaffaroni, P. (1998) Nonlinear Time Series with Long Memory: A Model for Stochastic Volatility. Journal of Statistical Planning and Inference, 68, 359-371. https://doi.org/10.1016/S0378-3758(97)00149-3</mixed-citation></ref><ref id="scirp.103700-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Bollerslev, T. (1986) Generalized Autoregressive Conditional Heteroskedasticity. Journal of Econometrics, 31, 307-327. https://doi.org/10.1016/0304-4076(86)90063-1</mixed-citation></ref><ref id="scirp.103700-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Bollerslev, T., Engle, R.F. and Wooldridge, J.M. (1988) A Capital Asset Pricing Model with Time-Varying Covariances. Journal of Political Economy, 96, 116-131. https://doi.org/10.1086/261527</mixed-citation></ref><ref id="scirp.103700-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Weiss, A.A. (1984) ARMA Models with Arch Errors. Journal of Time Series Analysis, 5, 129-143. https://doi.org/10.1111/j.1467-9892.1984.tb00382.x</mixed-citation></ref><ref id="scirp.103700-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ling, S.Q. and Li, W.K. (1997) On Fractionally Integrated Autoregressive Moving-Average Time Series Models with Conditional Heteroscedasticity. Journal of the American Statistical Association, 92, 1184-1194. https://doi.org/10.1111/j.1467-9892.1984.tb00382.x</mixed-citation></ref><ref id="scirp.103700-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Reisen, V.A., Sarnaglia, A.J.Q., Reis Jr., N.C., L’Evy-Leduc, C. and Santos, J.M. (2014) Modeling and Forecasting Daily Average PM10 Concentrations by a Seasonal Long-Memory Model with Volatility. Environmental Modelling &amp; Software, 51, 286-295. https://doi.org/10.1016/j.envsoft.2013.09.027</mixed-citation></ref><ref id="scirp.103700-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Tong, H. (2011) Nonlinear Time Series Analysis.</mixed-citation></ref><ref id="scirp.103700-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Narayan, P.K., Liu, R. and Westerlund, J. (2016) A Garch Model for Testing Market Efficiency. Journal of International Financial Markets, Institutions and Money, 41, 121-138.</mixed-citation></ref><ref id="scirp.103700-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Baillie, R.T., Chung, C.-F. and Tieslau, M.A. (1996) Analysing Inflation by the Fractionally Integrated Arfima-Garch Model. Journal of Applied Econometrics, 11, 23-40. https://doi.org/10.1002/(SICI)1099-1255(199601)11:1%3C23::AID-JAE374%3E3.0.CO;2-M</mixed-citation></ref><ref id="scirp.103700-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Montanari, A., Rosso, R. and Taqqu, M.S. (2000) A Seasonal Fractional ARIMA Model Applied to the Nile River Monthly Flows at Aswan. Water Resources Research, 36, 1249-1259. https://doi.org/10.1029/2000WR900012</mixed-citation></ref><ref id="scirp.103700-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Giraitis, L. and Leipus, R. (1995) A Generalized Fractionally Differencing Approach in Long-Memory Modeling. Lithuanian Mathematical Journal, 35, 53-65. https://doi.org/10.1007/BF02337754</mixed-citation></ref><ref id="scirp.103700-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Box, G.E., Jenkins, G.M., Reinsel, G.C. and Ljung, G.M. (2015) Time Series Analysis: Forecasting and Control. John Wiley &amp; Sons, Hoboken.</mixed-citation></ref><ref id="scirp.103700-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Bisognin, C. and Lopes, S.R.C. (2009) Properties of Seasonal Long Memory Processes. Mathematical and Computer Modelling, 49, 1837-1851. https://doi.org/10.1016/j.mcm.2008.12.003</mixed-citation></ref><ref id="scirp.103700-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Ishida, I. and Engle, R.F. (2002) Modeling Variance of Variance: the Square Root, the Affine, and the Cev Garch Models. Dept. Finances, New York.</mixed-citation></ref><ref id="scirp.103700-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Fox, A.J. (1972) Outliers in Time Series. Journal of the Royal Statistical Society: Series B (Methodological), 34, 350-363. https://doi.org/10.1111/j.2517-6161.1972.tb00912.x</mixed-citation></ref><ref id="scirp.103700-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Tsay, R.S. (1986) Time Series Model Specification in the Presence of Outliers. Journal of the American Statistical Association, 81, 132-141. https://doi.org/10.1080/01621459.1986.10478250</mixed-citation></ref><ref id="scirp.103700-ref19"><label>19</label><mixed-citation publication-type="other" xlink:type="simple">Chen, C. and Liu, L.-M. (1993) Joint Estimation of Model Parameters and Outlier Effects in Time Series. Journal of the American Statistical Association, 88, 284-297. https://doi.org/10.1080/01621459.1993.10594321</mixed-citation></ref><ref id="scirp.103700-ref20"><label>20</label><mixed-citation publication-type="other" xlink:type="simple">Chareka, P., Matarise, F. and Turner, R. (2006) A Test for Additive Outliers Applicable to Long Memory Time Series. Journal of Economic Dynamics and Control, 30, 595-621. https://doi.org/10.1016/j.jedc.2005.01.003</mixed-citation></ref><ref id="scirp.103700-ref21"><label>21</label><mixed-citation publication-type="other" xlink:type="simple">Kaiser, R. and Maravall Herrero, A. (1999) Seasonal Outliers in Time Series. Banco de Espana, Documentos de trabajo No. 9915, Madrid.</mixed-citation></ref><ref id="scirp.103700-ref22"><label>22</label><mixed-citation publication-type="other" xlink:type="simple">Palate, J. (2006) Reusable Components for Seasonal Adjustment: A New Implementation of Tramo-Seats. Proceedings of the Conference on Seasonality, Seasonal Adjustment and Their Implications for Short-Term Analysis and Forecasting, Eurostat, Luxembourg, 1-25. http://ec.europa.eu/eurostat/documents/4578629/4579724/PALATE-FINAL.pdf</mixed-citation></ref><ref id="scirp.103700-ref23"><label>23</label><mixed-citation publication-type="other" xlink:type="simple">Tsay, R. (2005) Analysis of Financial Time Series. Vol. 543, Financial Econometrics, John Wiley &amp; Sons, Hoboken, New Jersey.</mixed-citation></ref><ref id="scirp.103700-ref24"><label>24</label><mixed-citation publication-type="other" xlink:type="simple">G’Omez, V. and Maravall, A. (1994) Estimation, Prediction, and Interpolation for Nonstationary Series with the Kalman Filter. Journal of the American Statistical Association, 89, 611-624. https://doi.org/10.1080/01621459.1994.10476786</mixed-citation></ref><ref id="scirp.103700-ref25"><label>25</label><mixed-citation publication-type="other" xlink:type="simple">Kohn, R. and Ansley, C.F. (1985) Efficient Estimation and Prediction in Time Series Regression Models. Biometrika, 72, 694-697. https://doi.org/10.1093/biomet/72.3.694</mixed-citation></ref><ref id="scirp.103700-ref26"><label>26</label><mixed-citation publication-type="other" xlink:type="simple">Bell, W. and Hillmer, S. (1991) Initializing the Kalman Filter for Nonstationary Time Series Models. Journal of Time Series Analysis, 12, 283-300. https://doi.org/10.1111/j.1467-9892.1991.tb00084.x</mixed-citation></ref><ref id="scirp.103700-ref27"><label>27</label><mixed-citation publication-type="other" xlink:type="simple">Chang, I., Tiao, G.C. and Chen, C. (1988) Estimation of Time Series Parameters in the Presence of Outliers. Technometrics, 30, 193-204. https://doi.org/10.1080/00401706.1988.10488367</mixed-citation></ref><ref id="scirp.103700-ref28"><label>28</label><mixed-citation publication-type="other" xlink:type="simple">Dhliwayo, L., Matarise, F. and Chimedza, C. (2020) Autoregressive Fractionally Integrated Moving Average-Generalized Autoregressive Conditional Heteroskedasticity Model with Level Shift Intervention. Open Journal of Statistics, 10, 341-362. https://doi.org/10.4236/ojs.2020.102023</mixed-citation></ref><ref id="scirp.103700-ref29"><label>29</label><mixed-citation publication-type="other" xlink:type="simple">Leadbetter, M.R., Lindgren, G. and Rootzen, H. (1983) Extreme and Related Properties of Random Sequence and Processes. Springer-Verlag, New York.</mixed-citation></ref><ref id="scirp.103700-ref30"><label>30</label><mixed-citation publication-type="other" xlink:type="simple">Embrechts, P., Klppelberg, C. and Mikosch, T. (1997) Modeling Extremal Events for Insurance and Finance. Springer-Verlag, Berlin. https://doi.org/10.1007/978-3-642-33483-2</mixed-citation></ref></ref-list></back></article>