modernBoot

CRAN-Published R Package for Modern Resampling Methods

Overview

modernBoot is a CRAN-published R package providing modern, efficient, and computationally fast bootstrap resampling techniques for robust statistical inference.

Key Features

Installation

From CRAN

The stable version of modernBoot is available from CRAN:

install.packages("modernBoot")

Development version

The development version can be installed from GitHub:

install.packages("remotes")
# remotes::install_github("ikrakib/modernBoot")
install.packages("modernBoot", repos = c('https://ikrakib.r-universe.dev', 'https://cloud.r-project.org'))

text

Quick Example

library(modernBoot)

Generate sample data
set.seed(123)
data <- rnorm(100, mean = 5, sd = 2)

Calculate Bias-Corrected and Accelerated (BCa) bootstrap CI
result_ci <- boot_ci(
              data,
              statistic = mean,
              R = 2000,
              ci = "bca"
             )
             
print(result_ci)

Perform a bootstrap hypothesis test
test_result <- boot_test(data, statistic = mean, null_value = 5.5, R = 2000)
print(test_result)

text

Functions by Category

Category 1: Confidence Intervals

Category 2: Hypothesis Testing

Category 3: Advanced Resampling

Documentation

For detailed examples and function descriptions, see the package manual and vignettes: View the main vignette vignette("modernBoot")

Get help for a specific function ?boot_ci

text

Citation

Citation

To cite modernBoot in research, run:

citation("modernBoot")

Current CRAN version: 0.1.1

Package DOI: 10.32614/CRAN.package.modernBoot

text

License

MIT License. See the LICENSE file for details.

Author

Ibrahim Kholil Rakib
Email: ikrakib1010@gmail.com
GitHub: @ikrakib
LinkedIn: Ibrahim Kholil Rakib

References