Description Usage Arguments Examples
Gets a single sample according to the block-wise bootstrap scheme. Used in the blockwise_bootstrap function.
1 | block_BS_sample(series, l, sim.length = NROW(series))
|
series |
A stationary time series from which the block-wise sampling will be done. Can be univariate or multivariate. |
l |
Length of the blocks |
sim.length |
Length of the new, sampled series |
1 2 | series <- arima.sim(model=list(ar=c(0.6, -0.4)), n=100)
block_BS_sample(series, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.