Description Usage Arguments Value References See Also Examples
Cross Validation for glmmLasso package as shown in example xxx
1 2 |
dat |
data.frame, containing y,X,Z and subject variables |
form.fixed |
formaula, fixed param formula, Default: NULL |
form.rnd |
list, named list containing random effect formula, Default: NULL |
lambda |
numeric, vector containing lasso penalty levels, Default: seq(500, 0, by = -5) |
family |
family, family function that defines the distribution link of the glmm, Default: gaussian(link = "identity") |
list of a fitted glmmLasso object and the cv BIC path
A. Groll and G. Tutz. Variable selection for generalized linear mixed models by L1-penalized estimation. Statistics and Computing, pages 1–18, 2014.
cv function is the generalized form of last example glmmLasso package demo file
1 | ## Not run: cv.glmmLasso(initialize_example(seed=1))
|
Loading required package: lmmlasso
Loading required package: emulator
Loading required package: mvtnorm
Loading required package: miscTools
Loading required package: penalized
Loading required package: survival
Welcome to penalized. For extended examples, see vignette("penalized").
----------------------------------------------------------------------
This is a test release of the package 'lmmlasso'. If you have any questions or problems, do not hesitate to contact the author.
----------------------------------------------------------------------
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.