nag_forecast_garchGJR (g13ffc) forecasts the conditional variances, , from a GJR GARCH sequence, where is the forecast horizon (see Glosten et al. (1993)).
where , if , and , if has been modelled by nag_estimate_garchGJR (g13fec) and the estimated conditional variances and residuals are contained in the arrays ht and et respectively. Then nag_forecast_garchGJR (g13ffc) will use the last elements of the arrays ht and et to estimate the conditional variance forecasts, , where and is the forecast horizon.
4
References
Bollerslev T (1986) Generalised autoregressive conditional heteroskedasticity Journal of Econometrics31 307–327
Engle R (1982) Autoregressive conditional heteroskedasticity with estimates of the variance of United Kingdom inflation Econometrica50 987–1008
Engle R and Ng V (1993) Measuring and testing the impact of news on volatility Journal of Finance48 1749–1777
Glosten L, Jagannathan R and Runkle D (1993) Relationship between the expected value and the volatility of nominal excess return on stocks Journal of Finance48 1779–1801
Hamilton J (1994) Time Series Analysis Princeton University Press
5
Arguments
1:
– IntegerInput
On entry: the number of terms in the arrays ht and et from the modelled sequence.
Constraint:
.
2:
– IntegerInput
On entry: , the forecast horizon.
Constraint:
.
3:
– IntegerInput
On entry: the GARCH argument .
Constraint:
.
4:
– IntegerInput
On entry: the GARCH argument .
Constraint:
.
5:
– const doubleInput
On entry: the first element must contain the coefficient and the next q elements must contain the coefficients , for . The remaining p elements must contain the coefficients , for .
6:
– doubleInput
On entry: the asymmetry argument for the GARCH sequence.
7:
– doubleOutput
On exit: the forecast values of the conditional variance, , for .
8:
– const doubleInput
On entry: the sequence of past conditional variances for the GARCH process, , for .
9:
– const doubleInput
On entry: the sequence of past residuals for the GARCH process, , for .
10:
– NagError *Input/Output
The NAG error argument (see Section 3.7 in How to Use the NAG Library and its Documentation).
6
Error Indicators and Warnings
NE_2_INT_ARG_LT
On entry, while . These arguments must satisfy .
NE_ALLOC_FAIL
Dynamic memory allocation failed.
NE_INT_ARG_LT
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
On entry, .
Constraint: .
7
Accuracy
Not applicable.
8
Parallelism and Performance
nag_forecast_garchGJR (g13ffc) is not threaded in any implementation.