Score test for overdispersion in Poisson regression
Score test for overdispersion in Poisson regression.
overdispreg.test(y, x)
y |
A vector with count data. |
x |
A numerical matrix with predictor variables. |
A score test for overdispersion in Poisson regression is implemented.
A vector with two values. The test statistic and its associated p-value.
Michail Tsagris
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr
Yang Z., Hardin J.W. and Addy C.L. (2009). A score test for overdierpsdion in Poisson regression based on the generalised Poisson-2 model. Journal of Statistical Planning and Inference, 139(4): 1514–1521.
y <- rnbinom(100, 10, 0.4) x <- rnorm(100) overdispreg.test(y, x)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.