Description Usage Arguments Details Value Author(s) References Examples
This functions simulates time series following ARMA-GARCH/APARCH models with GEV and stable distributions. This function was developed through the available code from fGarch package available at CRAN.
1 |
spec |
A model specified with function |
n |
The size of simulated time series. |
n.start |
Length of the "burn-in" period of the simulated time series. |
The initial values of the time series are fixed and the recursion formulas of the model are used to simulate the dynamics of the process. We do not verify the stationarity conditions of the model because the simulation of non-stationary process could also be of interest by the researcher.
The function returns an object containing the following items:
model |
A string describing the estimated model. |
cond.dist |
The conditional distribution used to fit the model. |
series |
An array with three columns, where the first column contains
the simulated ARMA-GARCH/APARCH process ( |
Thiago do Rego Sousa for the latest modifications
Diethelm Wuertz for the original implementation of the garchSpec function from package fGarch
Brockwell, P.J., Davis, R.A. (1996). Introduction to Time Series and Forecasting. Springer, New York.
Wuertz, D., Chalabi, Y., with contribution from Miklovic, M., Boudt, C., Chausse, P., and others (2013). fGarch: Rmetrics - Autoregressive Conditional Heteroskedastic Modelling, R package version 3010.82, http://CRAN.R-project.org/package=fGarch.
Wuertz, D., Chalabi, Y., Luksan, L. (2009). Parameter Estimation of ARMA Models with GARCH/ APARCH Errors: An R and SPlus SoftwareImplementation. Journal of Statistical Software, forthcoming, http://www-stat.wharton.upenn.edu/~steele/...WurtzEtAlGarch.pdf.
1 2 3 4 | # Simulation of a ARMA-APARCH process with stable conditional distribution
#x <- GSgarch.Sim(N = 2500, mu = 0.1,a = c(0.2,0.3),b = c(0.2,0.5),
#omega = 0.1, alpha = c(0.1,0.2),beta = c(0.1,0.1),gm=c(0.3,-0.3),
#delta = 1,skew = 0.3,shape = 1.9, cond.dis = "stable")
|
Loading required package: Rsolnp
Loading required package: skewt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.