powered by
Method for simulating a N-dimensional BEKK model.
# S3 method for bekk simulate(object, nsim, ...)# S3 method for bekka simulate(object, ..., nsim)# S3 method for dbekk simulate(object, ..., nsim)# S3 method for dbekka simulate(object, ..., nsim)# S3 method for sbekk simulate(object, ..., nsim)# S3 method for sbekka simulate(object, ..., nsim)
# S3 method for bekka simulate(object, ..., nsim)
# S3 method for dbekk simulate(object, ..., nsim)
# S3 method for dbekka simulate(object, ..., nsim)
# S3 method for sbekk simulate(object, ..., nsim)
# S3 method for sbekka simulate(object, ..., nsim)
Returns a simulated time series S3 class object using the parameters of passed "bekkSpec" or "bekkFit".
A spec object of class "bekkSpec" from the function bekk_spec or a fitted bekk model of class "bekkFit" from the bekk_fit function
Number of observations of the simulated sample
Further parameters to be passed on to the function.
# \donttest{ # simulate a BEKK with estimated parameter obj_spec <- bekk_spec() x1 <- bekk_fit(obj_spec, StocksBonds) x2 <- simulate(x1, nsim = 3000) plot(x2) # }
Run the code above in your browser using DataLab