powered by
No Bias-correction is given
VAR.BPR(x, p, h, nboot = 500, type = "const", alpha = 0.95)
Prediction Intervals
Point Forecasts
Probability Content of Prediction Intervals
data matrix in column
AR order
forecasting period
number of bootstrap iterations
"const" for the AR model with intercept only, "const+trend" for the AR model with intercept and trend
100(1-alpha) percent prediction intervals
Jae H. Kim
Bootstrap Prediction Intervals for VAR(p) Model
Kim, J. H. (2001). Bootstrap-after-bootstrap prediction intervals for autoregressive models, Journal of Business & Economic Statistics, 19, 117-128.
data(dat) VAR.BPR(dat,p=2,h=10,nboot=200,type="const",alpha=0.95) # nboot is set to a low number for fast execution in the example # In actual implementation, use higher number such as nboot=1000
Run the code above in your browser using DataLab