TVAR.boot: Bootstrap a multivariate Threshold Autoregressive (TVAR)...

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Recursive bootstrap of a multivariate Threshold VAR (TVAR)

Usage

1
TVAR.boot(TVARobject, innov, seed, ...)

Arguments

TVARobject

Object of class TVAR generated by function TVAR

innov

Innovations used for bootstrap. If missing, residuals are resampled.

seed

Optional. Seed for the random resampling function.

...

Further arguments passed to the underlying (un-exported) TVAR.gen function

Details

The function bootstraps a given model. This is done on a object generated by TVECM (or VECM). A simple residual recursive bootstrap is done.

Value

A matrix with the bootstraped series.

Author(s)

Matthieu Stigler

See Also

TVAR to estimate a TVAR, VAR.sim to simulate/bootstrap a VAR, TVECM.sim to simulate/bootstrap a TVECM.

Examples

1
2
3
4
5
##Bootstrap a TVAR with two threshold (three regimes)
data(zeroyld)
serie<-zeroyld
mod <- TVAR(data=serie,lag=1, nthresh=1)
TVAR.boot(mod)


Search within the tsDyn package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.