Skip to content

blocklength

0.2.2

Select an Optimal Block-Length to Bootstrap Dependent Data (Block Bootstrap)

0packages depend
8.2Kdownloads / year
94.5%test coverage
8/13checks pass

Overview

About
Maintained by Alec StashevskyFirst published 2021-02-256 releasesCRAN page ↗GitHub ↗

A set of functions to select the optimal block-length for a dependent bootstrap (block-bootstrap). Includes the Hall, Horowitz, and Jing (1995) doi:10.1093/biomet/82.3.561 subsampling-based cross-validation method, the Politis and White (2004) doi:10.1081/ETC-120028836 Spectral Density Plug-in method, including the Patton, Politis, and White (2009) doi:10.1080/07474930802459016 correction, and the Lahiri, Furukawa, and Lee (2007) doi:10.1016/j.stamet.2006.08.002 nonparametric plug-in method, with a corresponding set of S3 plot methods.

Install

Health

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 3.5 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.24
94.5%
Coverage · measured lines
100%
Documentation · exports
2
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,647 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
67%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

8.2K
CRAN downloads in the past year
Rank #4,963 · ~23/day · ~685/mo
Daily download trend is not available in this view yet.
32930 days
1.6K90 days
8.2K1 year
Compare downloads with other packages →
Also on141 r2u40 autocran39 c2d4u

Repository

Repository
5Stars
0Forks
0Open issues
0Open PRs
6Releases
179Commits
3Contributors
bootstraptseriesstatsrhorowitztime-seriesblock-bootstrapdepedent-bootstrap
License GPL-2.0 · 179 commits · Last activity 2025-03-08

Stars over time

2025-06-12 · 52026-07-07 · 5

Repository practices

Upstream repositoryBeta

6 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/alec-stashevsky/blocklength on 2026-08-09.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Research and citation (1)
CITATION.cff
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (2)
tseriesstats
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Contributors (1)
Contributor
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.2.2Latest
    2025-03-08 · current release · diff ↗
  • 0.2.1
    2025-03-08 · diff ↗
  • 0.2.0
    2025-02-17 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.5
    2022-03-03 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.4
    2021-05-12 · diff ↗
  • 0.1.3
    2021-02-25
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-25
Total releases
6 / 5 yrs
License
GPL (>= 2) OSI
Download size
226 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("blocklength")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for blocklength version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy