bootstrap_stability {tramicp} | R Documentation |
Bootstrap stability for TRAMICP
Description
Bootstrap stability for TRAMICP
Usage
bootstrap_stability(
object,
B = 100,
size = NULL,
verbose = FALSE,
return_all = FALSE
)
Arguments
object |
Object of class |
B |
Numeric; number of bootstrap iterations |
size |
Numeric; size of bootstrap samples |
verbose |
Logical; print a progress bar (default: |
return_all |
Logical; return all |
Value
Table of output sets of candidate causal predictors
Examples
set.seed(12)
d <- dgp_dicp(n = 1e3, mod = "binary")
res <- glmICP(Y ~ X1 + X2 + X3, data = d, env = ~ E,
family = "binomial", test = "cor.test")
bootstrap_stability(res, B = 2)
[Package tramicp version 0.0-2 Index]