View source: R/MARGE_package.R
backward_sel_WIC | R Documentation |
Backward selection function for MARGE - uses the Wald information criterion (WIC).
backward_sel_WIC(
Y,
N,
n,
B_new,
id,
family = "gaussian",
corstr = "independence",
nb = FALSE,
is.gee = FALSE,
...
)
Y |
: the response variable. |
N |
: the number of clusters. |
n |
: the maximum cluster size. |
B_new |
: the model matrix. |
id |
: the ID for each individual in the cluster. |
family |
: the specified "exponential" family for the GLM. The default is |
corstr |
:the specified "working correlation" structure. The default is |
nb |
: a logical argument, is the model a negative binomial model? The default is |
is.gee |
: is this a GEE model? The default is |
... |
: further arguments passed to or from other methods. |
backward_sel_WIC
returns the Wald statistic from the fitted model (the penalty is applied later on).
Jakub Stoklosa and David I. Warton
Stoklosa, J. Gibb, H. Warton, D.I. Fast forward selection for Generalized Estimating Equations With a Large Number of Predictor Variables. Biometrics, 70, 110–120.
Stoklosa, J. and Warton, D.I. (2018). A generalized estimating equation approach to multivariate adaptive regression splines. Journal of Computational and Graphical Statistics, 27, 245–253.
backward_sel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.