Select the optimal model according to the QIC criterion
QIC(y, X, id, beta, nonZeroSet, rho, linkv, corstrv)
A matrix containing current response variable
A data frame containing the covariate for the current samples
The id for each subject in the X
The paramters that we estimate when we use the current samples
The set of the index of the non zero coefficient
A numeric number indicating the estimate of correlation coefficient
A specification for the model link function.
A character string specifying the correlation structure. The following are permitted: "independence", "exchangeable" and "ar1".
a value indicating how well the model fits
QIC calculates the value of the quasi-likelihood under the independence model criterion for Generalized Estimating Equations. The QIC criterion is actually a generalization of the AIC criterion in the statistical inference of parameters in the longitudinal data analysis framework.