Skip to content

cran/DPQBootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DPQBootstrap

DPQBootstrap provides a Dirichlet Quantile Bootstrap method for time series.

Author

Ahmed Hamimes

Email: ahmed.hamimes@univ-constantine3.dz

Main functions

  • dpq_bootstrap(): generates bootstrap time series with rank-preserving reconstruction.
  • plot_dpq(): plots the original series, the bootstrap mean, and uncertainty intervals.

Example

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')

About

❗ This is a read-only mirror of the CRAN R package repository. DPQBootstrap — Dirichlet Quantile Bootstrap for Time Series

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages