Learn R Programming

seqest (version 1.0.1)

QIC: Calculate quasi-likelihood under the independence model criterion (QIC) for Generalized Estimating Equations.

Description

Select the optimal model according to the QIC criterion

Usage

QIC(y, X, id, beta, nonZeroSet, rho, linkv, corstrv)

Arguments

y

A matrix containing current response variable

X

A data frame containing the covariate for the current samples

id

The id for each subject in the X

beta

The paramters that we estimate when we use the current samples

nonZeroSet

The set of the index of the non zero coefficient

rho

A numeric number indicating the estimate of correlation coefficient

linkv

A specification for the model link function.

corstrv

A character string specifying the correlation structure. The following are permitted: "independence", "exchangeable" and "ar1".

Value

a value indicating how well the model fits

Details

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.