P__disp | R Documentation |
This function calculates Pearson Chi2 statistic and the Pearson-based dipersion statistic. Values of the dispersion greater than 1 indicate model overdispersion. Values under 1 indicate under-dispersion.
P__disp(x)
x |
the fitted model. |
To be used following glm and glm.nb functions.
pearson.chi2 |
Pearson Chi2 value. |
dispersion |
Pearson-basde dispersion. |
Joseph Hilbe and Andrew Robinson
Hilbe, J.M., and Robinson, A.P. 2013. Methods of Statistical Model Estimation. Chapman & Hall / CRC.
glm
, glm.nb
data(medpar)
mymod <- glm(los ~ hmo + white + factor(type),
family = poisson,
data = medpar)
P__disp(mymod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.