Modèles GARCH en R
Kris Boudt
Professor of finance and econometrics
$$ \mu_{t} = \mu + \lambda \sigma^2_{t} $$
$\lambda > 0$ est le paramètre risque/rendement indiquant l'augmentation du rendement espéré par unité de variance du risque.
Modifiez l'argument mean.model dans ugarchspec() de list(armaOrder = c(0, 0)) à list(armaOrder = c(0, 0), archm = TRUE, archpow = 2) :
garchspec <- ugarchspec(
mean.model = list(armaOrder = c(0, 0)),
variance.model = list(model = "gjrGARCH"),
distribution.model = "sstd")
garchspec <- ugarchspec(
mean.model = list(armaOrder = c(0, 0), archm = TRUE, archpow = 2),
variance.model = list(model = "gjrGARCH"),
distribution.model = "sstd")
Estimation
garchfit <- ugarchfit(data = sp500ret, spec = garchspec)
Inspection des coefficients estimés pour la moyenne
round(coef(garchfit)[1:2], 4)
mu archm
0.0002 1.9950
Rendements moyens prévus
$$ \hat{\mu}_{t} = 0.0002 + 1.9950 \hat{\sigma}^2_{t} $$
plot(fitted(garchfit))

$$ \mu_{t} = \mu + \rho(R_{t-1} - \mu) $$
$$ \mu_{t} = \mu + \rho(R_{t-1} - \mu) $$
$$ \mu_{t} = \mu + \rho(R_{t-1} - \mu) $$
Spécification et estimation d'un AR(1)-GJR GARCH avec distribution sst
garchspec <- ugarchspec(
mean.model = list(armaOrder = c(1, 0)),
variance.model = list(model = "gjrGARCH"),
distribution.model = "sstd")
garchfit <- ugarchfit(data = sp500ret, spec = garchspec)
Estimations du modèle AR(1)
round(coef(garchfit)[1:2], 4)
mu ar1
0.0003 -0.0292
Le modèle à moyenne mobile d'ordre 1 utilise l'écart du rendement à sa moyenne conditionnelle :
$$ \mu_{t} = \mu + \theta(R_{t-1} - \mu_{t-1}) $$
ARMA(1,1) combine AR(1) et MA(1) :
$$ \mu_{t} = \mu + \rho(R_{t-1} - \mu) + \theta(R_{t-1} - \mu_{t-1}) $$
MA(1)
garchspec <- ugarchspec(
mean.model = list(armaOrder = c(0, 1)),
variance.model = list(model = "gjrGARCH"),
distribution.model = "sstd")
ARMA(1, 1)
garchspec <- ugarchspec(
mean.model = list(armaOrder = c(1, 1)),
variance.model = list(model = "gjrGARCH"),
distribution.model = "sstd")
Modèles GARCH en R