Extract the Gosho Information Criterion (GOSHO) for an object of mcglm class. WARNING: This function is limited to models with ONE response variable. This function is general useful only for longitudinal data analysis.

GOSHO(object, id, verbose = TRUE)

Arguments

object

an object of mcglm class.

id

a vector which identifies the clusters or groups. The length and order of id should be the same as the number of observations. Data are assumed to be sorted so that observations on a cluster are contiguous rows for all entities in the formula.

verbose

logical. Print or not the GOSHO value.

Source

Wang, M. (2014). Generalized Estimating Equations in Longitudinal Data Analysis: A Review and Recent Developments. Advances in Statistics, 1(1)1--13.

Value

The value of the GOSHO criterion. Note that the function assumes that the data are in the correct order.

See also

gof, plogLik, pAIC, pKLIC, ESS and RJC.