Description Usage Arguments Value
Bootstrap TRICEP/BICEP for general composite tests using a proximal operator
1 2 3 4 | TRICEP_glm_boot(X, y = NULL, prox_fun = prox_inequality,
prox_fun_arg = list(test_idx = 1, test_val = 0), family = c("gaussian",
"binomial", "poisson", "mean"), ..., beta_init = NULL, B = 200,
prob = 0.95, parallel = T, seed = 123)
|
X |
a design matrix with observations in rows and variables in columns. |
y |
a vector of the responses. Default is |
prox_fun |
a proximal operator. This should be an |
prox_fun_arg |
a list of arguments passed to |
family |
either the GLM family or |
... |
additional arguments passed to |
beta_init |
an initial guess for the |
B |
the number of boostrap replications. |
prob |
the coverage probability. |
parallel |
a boolean indicating whether each replicate should be parallelized. A backend for |
seed |
an integer for setting the seed. |
A list with the bootstrapped test statistic, the p value, and the replicates.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.