pbjBoot | R Documentation |
Performs (semi)Parametric Bootstrap Joint ((s)PBJ) Inference
pbjBoot(
sqrtSigma,
rboot = function(n) {
(2 * stats::rbinom(n, size = 1, prob = 0.5) - 1)
},
null = TRUE,
method = c("wild", "permutation", "nonparametric")
)
sqrtSigma |
list from statmap object |
rboot |
a function that draws a bootstrapped sample. Should return an n vector. Defaults to Rademacher random variable. |
null |
Is this a simulation under the null hypothesis? |
method |
character, method to use for resampling procedure. Wild bootstrap, permutation, or nonparametric |
Returns vector of test statistics computed from the bootstrapped sample.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.