This R package provides functions for computing bootstrap p-values based on boot
objects, and convenience functions for bootstrap confidence intervals and p-values for various regression models.
To install the package from CRAN:
install.packages("boot.pval")
To install the development version from Github:
library(devtools)
install_github("mthulin/boot.pval")
boot.pval
can be used to:
p-values can be computed by inverting the corresponding confidence intervals, as described in Section 14.2 of Thulin (2024) and Section 3.12 in Hall (1992). This package contains functions for computing bootstrap p-values in this way. The approach relies on the fact that:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.