powered by
Recursive bootstrap of a Vector VAR (VAR)
VAR.boot(VARobject, boot.scheme = c("resample", "wild1", "wild2", "check"), seed)
Object of class VAR generated by function lineVar
VAR
lineVar
The bootstrap scheme. See details.
Optional. Seed for the random resampling function.
Further arguments passed to the underlying (un-exported) VAR.gen function
VAR.gen
A matrix with the bootstraped series.
The function bootstraps a given model. This is done on a object generated by lineVar. A simple residual recursive bootstrap is done.
# NOT RUN { ##Bootstrap a VAR data(zeroyld) mod <- lineVar(data=zeroyld,lag=1) VAR.boot(mod) # }
Run the code above in your browser using DataLab