nag_forecast_garchGJR (g13ffc) forecasts the conditional variances,
,
from a GJR GARCH
sequence, where
is the forecast horizon (see
Glosten et al. (1993)).
Assume the GARCH
process can be represented by:
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.
Engle R (1982) Autoregressive conditional heteroskedasticity with estimates of the variance of United Kingdom inflation Econometrica 50 987–1008
Glosten L, Jagannathan R and Runkle D (1993) Relationship between the expected value and the volatility of nominal excess return on stocks Journal of Finance 48 1779–1801
- 1:
num – IntegerInput
On entry: the number of terms in the arrays
ht and
et from the modelled sequence.
Constraint:
.
- 2:
nt – IntegerInput
On entry: , the forecast horizon.
Constraint:
.
- 3:
p – IntegerInput
-
On entry: the GARCH argument .
Constraint:
.
- 4:
q – IntegerInput
-
On entry: the GARCH argument .
Constraint:
.
- 5:
theta[] – 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:
gamma – doubleInput
-
On entry: the asymmetry argument for the GARCH sequence.
- 7:
fht[nt] – doubleOutput
-
On exit: the forecast values of the conditional variance, , for .
- 8:
ht[num] – const doubleInput
-
On entry: the sequence of past conditional variances for the GARCH process, , for .
- 9:
et[num] – const doubleInput
-
On entry: the sequence of past residuals for the GARCH process, , for .
- 10:
fail – NagError *Input/Output
-
The NAG error argument (see
Section 3.6 in the Essential Introduction).
Not applicable.
Not applicable.
None.