View source: R/bootstrapnumber.R
bootstrap.analysis | R Documentation |
Performs a Bootstrap with Blocking Analysis of a Timeseries
bootstrap.analysis(data, skip = 0, boot.R = 100, tsboot.sim = "geom", pl = FALSE, boot.l = 2)
data |
a numerical vector containing the time series |
skip |
integer value providing the warm up phase length. |
boot.R |
number of bootstrap samples. See also boot, and tsboot. |
tsboot.sim |
the |
pl |
logical, indicating whether or not to plot the result. |
boot.l |
block length for blocked bootstrap. |
the routine will compute the error, the error of the error and the
integrated autocorrelation time for different block size using a bootstrap
analysis. The blocksize is systematically increased starting from 1
until (length(data)-skip)/blocksize < 20
. Note that only data is kept
in exact multiples of the block length.
returns a data frame containing the mean value, the error approximation, the estimate of the error of the error, the value of tau int and the bias for all block sizes.
Carsten Urbach, carsten.urbach@liverpool.ac.uk
for an alternative way to analyse such time series see
uwerr
and computeacf
data(plaq.sample) plaq.boot <- bootstrap.analysis(plaq.sample, pl=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.