cv.LassoGEE {LassoGEE} | R Documentation |
Cross-validation for LassoGEE.
Description
Does k-fold cross-validation for LassoGEE to select tuning parameter value for longitudinal data with working independence structure.
Usage
cv.LassoGEE(
X,
y,
id,
family,
method = c("CGD", "RWL"),
scale.fix,
scale.value,
fold,
lambda.vec,
maxiter,
tol
)
Arguments
X |
A design matrix of dimension |
y |
A response vector of length |
id |
A vector for identifying subjects/clusters. |
family |
A family object: a list of functions and expressions for defining link and variance functions. Families supported here is same as in PGEE which are binomial, gaussian, gamma and poisson. |
method |
The algorithms that are available. |
scale.fix |
A logical variable; if true, the scale parameter is fixed at the value of scale.value. The default value is TRUE. |
scale.value |
If |
fold |
The number of folds used in cross-validation. |
lambda.vec |
A vector of tuning parameters that will be used in the cross-validation. |
maxiter |
The number of iterations that is used in the estimation algorithm.
The default value is |
tol |
The tolerance level that is used in the estimation algorithm.
The default value is |
Value
An object class of cv.LassoGEE.
References
Li, Y., Gao, X., and Xu, W. (2020). Statistical consistency for
generalized estimating equation with L_1
regularization.
See Also
LassoGEE