Software implementation and testing of GARCH models

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
i =1 i =1 j =1
q
q
p
where z t =
εt ht
and E[| z t− i | ] denotes the expected value of | z t −i |
In all these models the shocks , ε t , can either have a Gaussian distribution or Student's tdistribution with a specified number of degrees of freedom.
ht = α 0 + ∑ (α i + γS t−1 )ε
i =1
q
2 t− i
+ ∑ β i ht− j
j =1
p
where S t = 1 if ε t < 0 and S t = 0 if ε t ≥ 0 EGARCH( p,q), or exponential GARCH
ln( ht ) = α 0 + ∑ α i z t− i + ∑ φ i ( | z t− i | −E[| z t -i |] ) + ∑ β i ln( ht − j )
All the GARCH processes above are uniquely described by the parameter vector θ , where T θ = (b0 , b T , ω T ), ω = (α 0 ,α 1 ,α 2 ,K,α q , β1 , β 2 ,K, β p , γ ) and bT = ( b1 ,K, bk ) . The GARCH model implementations here all rely on finding the value of θ which maximises the conditional log-likelihood (objective) function
TR4/2000
2
NP3533
2 The GARCH models
The standard (symmetric) regression-GARCH( p,q) model [3] [4] [5], with Gaussian shocks ε t , takes the following form:
Software implementation and testing of GARCH models
G F LEVY
NAG Ltd, Wilkinson House, Jordan Hill Road, Oxford, OX2 8DR, U.K. (email: george@nag.co.uk)
∑α
i =1
q
i
z t −i . In an EGARCH(1,1), if
α 1 < 0 then a negative shock ε t −1 < 0 increases the value of ht , that is ln {h (− z t −1 )} > ln {h( z t −1 )}.
TR4/2000
1
NP3533
Abstract: This paper describes the software implementation of GARCH routines in Fortran 77. The routines considered here cover both symmetric and asymmetric GARCH and also shocks having Gaussian and non-Gaussian distributions. Extensive examples of using the software are provided and the test results from Monte Carlo simulations are presented.
TR4/2000
3
NP3533
In AGARCH-type1 the asymmetric effects are modelled via the extra parameter γ . For example, in the standard GARCH(1,1) model when ht−1 is fixed ht = h(ε t−1 ) is a parabola with a minimum at ε t −1 = 0. The introduction of the additional parameter γ shifts the parabola horizontally so that the minimum occurs at ε t −1 = −γ . The conditional variance following negative shocks can therefore be enhanced by choosing γ < 0, so that h (−ε t −1 ) > h(ε t −1 ) for ε t −1 > 0. In an AGARCH-type2 model the inclusion of γ can also result in an enhancement of ht following a negative shock ε t −1 . For a GARCH(1,1) model h (−ε t−1 ) > h(ε t−1 ) for ε t −1 > 0 and γ < 0. Similarly in the GJR-GARCH(1,1) model the value of ht is increased above the symmetric case when ε t −1 < 0 and γ > 0. For EGARCH, asymmetric response arises from the terms
Since both the NAG Fortran 77 and C libraries are implemented as Dynamic Link Libraries (DLLs) the GARCH software can be easily used from the Microsoft Windows environment. This means that the GARCH routines can be readily incorporated into Microsoft software such as Excel, Visual Basic, etc.
y t = b0 + x T t b + ε t , ε t | ψ t −1 = N (0, ht ) ht = α 0 + ∑ α i ε
i =1 q 2 t −1
+ ∑ β i ht − j
j =1
p
This process is described by q + 1 coefficients α , i = 0, K, q , p coefficients β i , i = 1,K , p, mean i b0 , k linear regression coefficients bi , i = 1,K , k , endogenous/exogenous variables yt and x t respectively, shocks ε t , conditional variance ht , and the set of all information up to time t, ψ t . It should be noted that for p = 0 a GARCH( p,q) model is also called an ARCH( q) model. Empirical studies on financial time series have shown that they are characterised by increased conditional variance ht following negative shocks (bad news). The distribution of the shocks have been also found to exhibit considerable leptokurtosis. Since the standard Gaussian GARCH model cannot capture these effects various GARCH model extensions have been developed [6]. The asymmetric GARCH models considered here are: AGARCH( p,q)-type1
ht = α 0 + ∑ α i (ε t− i + γ ) 2 + ∑ β i ht− j
i =1 j =1
q
p
AGARCH( p,q)-type2
ht = α 0 + ∑ α i (|ε t −i | + γε t− i ) + ∑ β i ht− j
2 i =1 j =1
q
p
GJR-GARCH( p,q), or Glosten, Jagannathan and Runkle GARCH [7]
Keywords: GARCH, ARCH, maximum likelihood estimation, volatility, generalised autoregressive heteroskedasticity, asymmetry, Fortran 77
1 IntroductionБайду номын сангаас
The modelling of sequences with time-dependent variance is crucial to many areas of mathematical finance. This technical report describes the software implementation and testing of a set of univariate generalised autoregressive conditional heteroskedastic (GARCH) routines that have been developed at NAG Ltd for its numerical libraries. Although we are primarily concerned with GARCH software that has been developed for the next release of the NAG Fortran 77 Library [1], some GARCH software is already contained in the current version of the NAG C Library [2]. The Fortran 77 software described here can be used for GARCH( p,q) models with arbitrary values of p and q. There are routines for the generation of GARCH sequences, model estimation and volatility forecasting. The estimation routines return not only the parameter estimates but also other important statistics such as: the standard errors, the scores and the value of the log-likelihood function for the calculated model parameters. Other capabilities of the software include the following: • • • • regression-GARCH( p,q) models symmetric models asymmetric models shocks with Gaussian and non-Gaussian distributions
相关文档
最新文档