TRICEP_glm_beta_boot: Bootstrap TRICEP/BICEP for a coefficient, starting at the...

Description Usage Arguments Value

Description

Bootstrap TRICEP/BICEP for a coefficient, starting at the MLE.

Usage

1
2
3
TRICEP_glm_beta_boot(fix_index, X, y = NULL, family = c("gaussian",
  "binomial", "poisson"), B = 200, prob = 0.95, mean_init = NULL,
  algorithm = c("TRICEP", "nested"), parallel = T, seed = 123, ...)

Arguments

fix_index

a vector indicating the indices to be boostrapped.

X

a design matrix with observations in rows and variables in columns.

y

a vector of the responses. Default is NULL in case family = "mean" (test a vector mean).

family

either the GLM family or "mean" for a vector mean.

B

the number of boostrap replications.

prob

the coverage probability.

mean_init

the MLE for the coefficients.

algorithm

a string indicating the algorithm to be used. "nested" is only compatible when family = "gaussian".

parallel

a boolean indicating whether each replicate should be parallelized. A backend for foreach must be registered if this is T.

seed

an integer for setting the seed.

...

additional arguments passed to TRICEP_glm.

Value

A list with the bootstrapped test statistic and the replicates.


hoangtt1989/BICEP documentation built on May 28, 2019, 3:37 p.m.