arch.univariate.EGARCH¶
-
class arch.univariate.EGARCH(p: int =
1, o: int =0, q: int =1)[source]¶ EGARCH model estimation.
- Parameters:¶
- Raises:¶
TypeError – If
p,oorqis not an integer.ValueError – If
p,oorqis negative, orpandoare both 0.
Notes
In this class of processes, the variance dynamics are
\[\ln\sigma_{t}^{2}=\omega +\sum_{i=1}^{p}\alpha_{i} \left(\left|e_{t-i}\right|-\sqrt{2/\pi}\right) +\sum_{j=1}^{o}\gamma_{j} e_{t-j} +\sum_{k=1}^{q}\beta_{k}\ln\sigma_{t-k}^{2}\]where \(e_{t}=\epsilon_{t}/\sigma_{t}\).
Examples
>>> from arch.univariate import EGARCHSymmetric EGARCH(1,1)
>>> egarch = EGARCH(p=1, q=1)Standard EGARCH process
>>> egarch = EGARCH(p=1, o=1, q=1)Exponential ARCH process
>>> earch = EGARCH(p=5)Methods
backcast(resids)Construct values for backcasting to start the recursion.
backcast_transform(backcast)Transform user-provided backcast values.
bounds(resids)Return bounds for parameters.
compute_variance(parameters, resids, sigma2, ...)Compute the variance for the ARCH model.
Construct parameter constraints arrays for parameter estimation.
forecast(parameters, resids, backcast, ...)Forecast volatility from the model.
Return the names of the model parameters.
simulate(parameters, nobs, rng[, burn, ...])Simulate data from the model.
starting_values(resids)Return starting values for the ARCH model.
update(index, parameters, resids, sigma2, ...)Compute the variance for a single observation.
variance_bounds(resids[, power])Construct loose bounds for conditional variances.
Properties
The name of the volatility process.
The number of parameters in the model.
Index to use to start variance subarray selection.
Index to use to stop variance subarray selection.
Flag indicating that the volatility process supports update.
Get the volatility updater associated with the volatility process.