BootBC | R Documentation |
This function returns bias-corrected parameter estimates and forecasts for univariate AR models.
BootBC(x, p, h, nboot, type)
x |
a time series data set |
p |
AR order |
h |
the number of forecast period |
nboot |
number of bootstrap iterations |
type |
"const" for the AR model with intercept only, "const+trend" for the AR model with intercept and trend |
coef |
Bootstrap bias-corrected parameter estimates |
resid |
residuals |
forecast |
point forecasts from bootstrap bias-corrected parameter estimates |
Jae H. Kim
Kim, J.H., 2003, Forecasting Autoregressive Time Series with Bias-Corrected Parameter Estimators, International Journal of Forecasting, 19, 493-502.
Kilian, L. (1998a). Small sample confidence intervals for impulse response functions. The Review of Economics and Statistics, 80,218-230.
data(IPdata)
BootBC(IPdata,p=1,h=10,nboot=100,type="const+trend")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.