Description Usage Arguments Details References See Also Examples
Bootstrapping method for linear stationary univariate time series. Returns a bootstrap distribution of the chosen statistic.
1 2 | ARsieve_bootstrap(series, statistic, B, sim.length = NROW(series),
max.p = 10 * log10(NROW(series)), ar.method = "yw", ...)
|
series |
A univariate linear stationary time series from which the AR-sieve sampling will be done. |
statistic |
Function: the statistic for which a bootstrap-distribution will be created. |
B |
Amount of bootstrap samples. |
sim.length |
Length of the sampled series. Will usually be the same length as the original series, but can in some cases (such as residual bootstrapping) be useful to be set to another value. |
max.p |
Maximum order the fitted AR model can take. |
ar.method |
Method used to fit the auto-regressive process. () |
... |
Extra values passed on to the statistic function. |
The implementation follows the AR-sieve bootstrap method as presented by Bühlmann (1997). Fits an AR process based on AIC minimization and creates samples based on fitted coefficients and empirical residuals. The statistic is then evaluated on these new samples. Can for example be used to estimate the variance or confidence intervals of a statistic (e.g. auto-regressive coefficients of the series).
Bühlmann, Peter (1997) "Sieve bootstrap for time series". Bernoulli, 3(2), 123–148.
blockwise_bootstrap
, stats::ar
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.