Provides a Dirichlet-based quantile bootstrap method for time series with rank-preserving reconstruction and averaged bootstrap samples. The package generates bootstrap trajectories, a mean bootstrap series, and uncertainty intervals for time series resampling.
DPQBootstrap provides a Dirichlet Quantile Bootstrap method for time series.
Ahmed Hamimes
Email: [email protected]
library(DPQBootstrap)
x <- c(557, 359, 402, 548, 547, 546, 414, 243, 424, 466, 444, 534)
res <- dpq_bootstrap(x, R = 500, alpha = 1, seed = 123)
res$mean_series
plot_dpq(res, interval = '50')