CVfit {PGEE} | R Documentation |
Function to compute cross-validated tuning parameter value
Description
This function computes cross-validated tuning parameter value for longitudinal data with working independence structure.
Usage
CVfit(formula, id, data, family, scale.fix, scale.value, fold, lambda.vec, pindex,
eps, maxiter, tol)
Arguments
formula |
A formula expression in the form of |
id |
A vector for identifying subjects/clusters. |
data |
A data frame which stores the variables in |
scale.fix |
A logical variable; if true, the scale parameter is fixed at the value of |
scale.value |
If |
family |
A |
fold |
The number of folds used in cross-validation. |
lambda.vec |
A vector of tuning parameters that will be used in the cross-validation. |
pindex |
An index vector showing the parameters which are not subject to penalization. The default value
is |
eps |
A numerical value for the epsilon used in minorization-maximization algorithm. The default value is
|
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 CVfit
.
References
Wang, L., Zhou, J., and Qu, A. (2012). Penalized generalized estimating equations for high-dimensional longitudinal data analysis. Biometrics, 68, 353–360.