Learn R Programming

mcglm (version 0.8.0)

GOSHO: Gosho Information Criterion

Description

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.

Usage

GOSHO(object, id, verbose = TRUE)

Value

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

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.

Author

Wagner Hugo Bonat, wbonat@ufpr.br

See Also

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