VAR.Boot | R Documentation |
The function returns bias-corrected parmater estimators and Bias estimators based on the bootstrap
VAR.Boot(x, p, nb = 200, type = "const")
x |
data matrix in column |
p |
AR order |
nb |
number of bootstrap iterations |
type |
"const" for the AR model with intercept only, "const+trend" for the AR model with intercept and trend |
Kilian's (1998) stationarity-correction is used for bias-correction
coef |
coefficient matrix |
resid |
matrix of residuals |
sigu |
residual covariance matrix |
Bias |
Bootstrap Bias Estimator |
Jae H. Kim
Kilian, L. (1998). Small sample confidence intervals for impulse response functions, The Review of Economics and Statistics, 80, 218 - 230.
data(dat)
VAR.Boot(dat,p=2,nb=200,type="const")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.