nag_forecast_agarchI (g13fbc) forecasts the conditional variances,
,
from a type I AGARCH
sequence, where
is the forecast horizon (see
Engle and Ng (1993)).
Assume the standard
GARCH
process can be represented by:
or type I AGARCH
process with conditional variance
given by:
has been modelled by
nag_estimate_agarchI (g13fac) and the estimated conditional variances and residuals are contained in the arrays
ht and
et respectively. Then nag_forecast_agarchI (g13fbc) 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
- 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.