Calculates scalar measures of fit for models with count dependent variables along the lines described in Long (1997) and Long and Freese (2005).

poisfit(obj)

Arguments

obj

A model of class glm with family=poisson.

Value

A named vector of scalar measures of fit

Details

poisfit calculates scalar measures of fit (many of which are pseudo-R-squared measures) to describe how well a model fits data with a count dependent variable.

References

Long, J.S. 1997. Regression Models for Categorical and Limited Dependent Variables. Thousand Oaks, CA: Sage.

Long, J.S. and J. Freese. 2005. Regression Models for Categorical Outcomes Using Stata, 2nd ed. College Station, TX: Stata Press.