View source: R/overdispreg.test.R
Score test for overdispersion in Poisson regression | R Documentation |
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.
ztp.reg, censpois.mle wald.poisrat
y <- rnbinom(100, 10, 0.4)
x <- rnorm(100)
overdispreg.test(y, x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.