Changelog
Source:NEWS.md
GEVStableGarch 2.0.0
Complete rewrite. The version 1.1 interface (gsFit, gsSpec, gsSim, gsSelect, S4 classes) is replaced; the package was archived on CRAN in 2020, so no compatibility layer is provided.
Scope
- Innovations: stable (S0 parametrization only, via
libstable4u), GEV and GAt. Normal, t, skew t and GED innovations are left to fGarch and rugarch; S1 and S2 stable parametrizations and thestablepackage are dropped. - Any other distribution can be plugged in with
gs_dist(), which requires every field the machinery needs (including when moments exist) and checks them against each other (gs_check_dist()).
New interface
-
gs_spec(),gs_model(): specification and parameters as plain lists. -
gs_fit(): maximum likelihood on internally rescaled data,sqp(Rsolnp) ornlminb, warm starts throughstart, optional Hessian, standard errors set toNAwith a warning when a parameter is on a bound or the Hessian is not usable, persistence warning. It records convergence diagnostics in$diagnostics(scaled gradient, Hessian reciprocal condition number and definiteness, optimizer iterations) and warns when the gradient is not near zero, the Hessian is ill conditioned, or the iteration cap is hit. -
gs_bootstrap(): parametric bootstrap standard errors and percentile confidence intervals, recommended over the Hessian errors near a boundary and for GEV innovations, whose support depends on the shape parameter. -
gs_sim(),predict(): simulation and forecasting (exact one step, APARCH recursion and simulated paths beyond). -
gs_stationarity(),gs_aparch_moment(). - S3 methods:
coef,vcov,logLik,residuals(raw, standardized, pit),sigma,fitted,print.
Behaviour changes
- The mean equation is in intercept form, as in Wuertz et al. (2006) and fGarch:
muis the intercept, the unconditional location ismu / (1 - sum(ar)). - The recursion starts from
mean(|e|^delta), which is scale equivariant. Starting from fGarch’s own initial value, the likelihood reproduces fGarch exactly for GARCH and APARCH models. - Stationarity is reported after fitting, not imposed (the old
sqp.restrictionalgorithm is not available). - The APARCH power
deltais no longer bounded below by 1 for stable innovations;delta < stable_alphais enforced instead. Version 1.1 estimates atdelta = 1were on that bound.
Bug fixes
-
pgat()kept only a few digits next to zero; it now uses the exact upper beta tail. - The out-of-bounds penalty is now graded: it adds a term proportional to the size of the constraint violation (for example
deltaabove the innovation moment bound, or a non-stationary AR polynomial) instead of a flat constant. The objective slopes back toward the feasible region, so the optimizer no longer stalls on a flat plateau.