BlockGibbsSampler | R Documentation |
The iterated block Gibbs sampler algorithm
BlockGibbsSampler(
y,
x,
n.iter = 3,
n.models = 10,
H = 30,
kapp = 20,
tau = 0.9,
perm = TRUE,
len = 250,
k = 1,
gamma = 0.5,
info = c("AIC", "BIC", "AICc", "exBIC"),
family = c("gaussian", "poisson", "binomial")
)
y |
the response variable |
x |
the predictors |
n.iter |
the number of iterations |
n.models |
the number of top selected models |
H |
the number of predictors in small groups, default is 30 |
kapp |
the number of selected predictors in first step, default is 20 |
tau |
the threshold to select the important predictors in second step, default is 0.9 |
perm |
the permutation of Gibbs sampler, default is TRUE |
len |
the half number of generated samples, default is 250 |
k |
the tuning parameter, default is 1 |
gamma |
the parameter for extended BIC, default is 0.5 |
info |
the selected model selection criterion from AIC, AICc, BIC and exBIC |
family |
the type of model from linear, logistic, poisson |
a list contains a summary of final result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.