Title: | Simulating, Estimating and Diagnosing MGARCH (BEKK and mGJR) Processes |
---|---|
Description: | Procedures to simulate, estimate and diagnose MGARCH processes of BEKK and multivariate GJR (bivariate asymmetric GARCH model) specification. |
Authors: | Harald Schmidbauer [aut], Angi Roesch [aut], Vehbi Sinan Tunalioglu [cre, aut] |
Maintainer: | Vehbi Sinan Tunalioglu <[email protected]> |
License: | GPL-3 |
Version: | 0.0.5.9000 |
Built: | 2025-02-13 05:29:16 UTC |
Source: | https://github.com/vst/mgarchbekk |
Provides the MGARCH-BEKK estimation procedure.
BEKK( eps, order = c(1, 1), params = NULL, fixed = NULL, method = "BFGS", verbose = F )
BEKK( eps, order = c(1, 1), params = NULL, fixed = NULL, method = "BFGS", verbose = F )
eps |
Data frame holding time series. |
order |
BEKK(p, q) order. An integer vector of length 2
giving the orders of the model to be fitted. |
params |
Initial parameters for the |
fixed |
Vector of parameters to be fixed. |
method |
The method that will be used by the |
verbose |
Indicates if we need verbose output during the estimation. |
BEKK
estimates a BEKK(p,q)
model, where p
stands for the GARCH order, and q
stands for the ARCH
order.
Estimation results packaged as BEKK
class
instance.
a data frame contaning all time series
length of the series
order of the BEKK model fitted
time to complete the estimation process
time to complete the whole routine within the mvBEKK.est process
estimation object returned from the optimization process, using optim
the AIC value of the fitted model
list of estimated parameter matrices
list of asymptotic theory estimates of standard errors of estimated parameters
list of estimated conditional correlation series
list of estimated conditional standard deviation series
list of estimated series of covariance matrices
estimated eigenvalues for sum of Kronecker products
estimated unconditional covariance matrix
list of estimated series of residuals
Bauwens L., S. Laurent, J.V.K. Rombouts, Multivariate GARCH models: A survey, April, 2003
Bollerslev T., Modelling the coherence in short-run nominal exchange rate: A multivariate generalized ARCH approach, Review of Economics and Statistics, 498–505, 72, 1990
Engle R.F., K.F. Kroner, Multivariate simultaneous generalized ARCH, Econometric Theory, 122-150, 1995
Engle R.F., Dynamic conditional correlation: A new simple class of multivariate GARCH models, Journal of Business and Economic Statistics, 339–350, 20, 2002
Tse Y.K., A.K.C. Tsui, A multivariate generalized autoregressive conditional heteroscedasticity model with time-varying correlations, Journal of Business and Economic Statistics, 351-362, 20, 2002
## Simulate series: simulated <- simulateBEKK(2, 1000, c(1,1)) ## Prepare the matrix: simulated <- do.call(cbind, simulated$eps) ## Estimate with default arguments: estimated <- BEKK(simulated) ## Not run: ## Show diagnostics: diagnoseBEKK(estimated) ## End(Not run)
## Simulate series: simulated <- simulateBEKK(2, 1000, c(1,1)) ## Prepare the matrix: simulated <- do.call(cbind, simulated$eps) ## Estimate with default arguments: estimated <- BEKK(simulated) ## Not run: ## Show diagnostics: diagnoseBEKK(estimated) ## End(Not run)
Provides diagnostics for a BEKK process estimation.
diagnoseBEKK(estimation)
diagnoseBEKK(estimation)
estimation |
The return value of the |
This procedure provides console output and browsable plots for a
given BEKK process estimation. Therefore, it is meant to be
interactive as the user needs to proceed by pressing c
on
the keyboard to see each plot one-by-one.
Nothing special
## Simulate series: simulated = simulateBEKK(2, 1000, c(1,1)) ## Prepare the matrix: simulated = do.call(cbind, simulated$eps) ## Estimate with default arguments: estimated = BEKK(simulated) ## Not run: ## Show diagnostics: diagnoseBEKK(estimated) ## End(Not run)
## Simulate series: simulated = simulateBEKK(2, 1000, c(1,1)) ## Prepare the matrix: simulated = do.call(cbind, simulated$eps) ## Estimate with default arguments: estimated = BEKK(simulated) ## Not run: ## Show diagnostics: diagnoseBEKK(estimated) ## End(Not run)
Provides bivariate GJR (mGJR(p,q,g)
) estimation procedure.
mGJR( eps1, eps2, order = c(1, 1, 1), params = NULL, fixed = NULL, method = "BFGS" )
mGJR( eps1, eps2, order = c(1, 1, 1), params = NULL, fixed = NULL, method = "BFGS" )
eps1 |
First time series. |
eps2 |
Second time series. |
order |
mGJR(p, q, g) order a three element integer vector
giving the order of the model to be fitted. |
params |
Initial parameters for the |
fixed |
A two dimensional vector that contains the user specified fixed parameter values. |
method |
The method that will be used by the |
Estimation results packaged as mGJR
class instance. The values are defined as:
first time series
second time series
length of each series
order of the mGJR model fitted
time to complete the estimation process
time to complete the whole routine within the mGJR.est process
estimation object returned from the optimization process, using optim
the AIC value of the fitted model
estimated parameter matrices
asymptotic theory estimates of standard errors of estimated parameters
estimated conditional correlation series
first estimated conditional standard deviation series
second estimated conditional standard deviation series
estimated series of covariance matrices
estimated eigenvalues for sum of Kronecker products
estimated unconditional covariance matrix
first estimated series of residuals
second estimated series of residuals
Bauwens L., S. Laurent, J.V.K. Rombouts, Multivariate GARCH models: A survey, April, 2003
Bollerslev T., Modelling the coherence in short-run nominal exchange rate: A multivariate generalized ARCH approach, Review of Economics and Statistics, 498–505, 72, 1990
Engle R.F., K.F. Kroner, Multivariate simultaneous generalized ARCH, Econometric Theory, 122-150, 1995
Engle R.F., Dynamic conditional correlation: A new simple class of multivariate GARCH models, Journal of Business and Economic Statistics, 339–350, 20, 2002
Tse Y.K., A.K.C. Tsui, A multivariate generalized autoregressive conditional heteroscedasticity model with time-varying correlations, Journal of Business and Economic Statistics, 351-362, 20, 2002
## Not run: sim = BEKK.sim(1000) est = mGJR(sim$eps1, sim$eps2) ## End(Not run)
## Not run: sim = BEKK.sim(1000) est = mGJR(sim$eps1, sim$eps2) ## End(Not run)
Provides a procedure to simulate BEKK processes.
simulateBEKK(series.count, T, order = c(1, 1), params = NULL)
simulateBEKK(series.count, T, order = c(1, 1), params = NULL)
series.count |
The number of series to be simulated. |
T |
The length of series to be simulated. |
order |
BEKK(p, q) order. An integer vector of length 2
giving the orders of the model to fit. |
params |
A vector containing a sequence of parameter matrices' values. |
simulateBEKK
simulates an N dimensional BEKK(p,q)
model for the given length, order list, and initial parameter list
where N
is also specified by the user.
Simulated series and auxiliary information packaged as a
simulateBEKK
class instance. Values are:
length of the series simulated
order of the BEKK model
a vector of the selected parameters
list of parameters in matrix form
computed eigenvalues for sum of Kronecker products
unconditional covariance matrix of the process
white noise series used for simulating the process
a list of simulated series
list of series of conditional correlations
list of series of conditional standard deviations
Bauwens L., S. Laurent, J.V.K. Rombouts, Multivariate GARCH models: A survey, April, 2003
Bollerslev T., Modelling the coherence in short-run nominal exchange rate: A multivariate generalized ARCH approach, Review of Economics and Statistics, 498–505, 72, 1990
Engle R.F., K.F. Kroner, Multivariate simultaneous generalized ARCH, Econometric Theory, 122-150, 1995
Engle R.F., Dynamic conditional correlation: A new simple class of multivariate GARCH models, Journal of Business and Economic Statistics, 339–350, 20, 2002
Tse Y.K., A.K.C. Tsui, A multivariate generalized autoregressive conditional heteroscedasticity model with time-varying correlations, Journal of Business and Economic Statistics, 351-362, 20, 2002
## Simulate series: simulated = simulateBEKK(2, 1000, c(1,1))
## Simulate series: simulated = simulateBEKK(2, 1000, c(1,1))