Skip to content

Smart bootstrapping#78

Merged
wlangera merged 151 commits intomainfrom
smart-bootstrapping
Jan 28, 2026
Merged

Smart bootstrapping#78
wlangera merged 151 commits intomainfrom
smart-bootstrapping

Conversation

@wlangera
Copy link
Collaborator

@wlangera wlangera commented Dec 11, 2025

Metadata

  • update pkg version
  • update to checklist 0.5.2
  • update citation info
  • update NEWS
  • checklist checks
  • update meta r

Smart bootstrapping

derive_bootstrap_method()

  • documentation
  • code
  • fix if cat_var has multiple values, e.g. valuescat_var <- c("year", "taxonKey")
  • unit tests

bootstrap_cube()

  • add method parameter
  • add roxygen details
  • rewrite code
  • create unit tests

calculate_bootstrap_ci() (and internal functions?)

  • bca calc if column method_boot = "group_specific"
  • unit tests

bootstrap_cube_raw()

  • R script copy from bootstrap_cube()
  • unit tests

Other

  • Echo false mistake #73
  • Improve DOI funder #82
  • implement boot method (use of boot package for bootstrapping and CI calculation)
    • bootstrap_cube()
      • whole cube
      • group specific
      • smart method chooses boot
      • ref_group not possible with boot
      • unit tests
    • calculate_bootstrap_ci()
      • no_bias not possible with boot or list of boot objects
      • whole cube (input is boot object)
      • group specific (input is list of boot objects)
      • unit tests
  • test dontrun roxygen examples

Tutorials

  • use method argument in current tutorials --> use smart and explain in advanced usage and refer to tutorial below
    • bootstrap-method-cubes
    • bootstrap-interval-calculation
    • visualising-temporal-trends
    • visualising-spatial-trends
  • whole-cube-versus-group-specific
    • update whole cube vs group specific tutorial (link)
    • compare performance with boot package

@wlangera wlangera marked this pull request as ready for review January 27, 2026 20:22
@wlangera wlangera merged commit 978238a into main Jan 28, 2026
7 checks passed
@wlangera wlangera deleted the smart-bootstrapping branch January 28, 2026 10:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant