Chapter 8 Poisson Regression

8.1 Fitting the Model

glm( Y ~ X , data = , family = "poisson" )

8.2 Quasi-Poisson Regression

glm( Y ~ X , data = , family = "quasipoisson" )

8.3 Checking for Overdisperion

suppressMessages(library(AER))

dispersiontest(model)

8.4 Including Offsets

glm( Y ~ X , offset = log( offsetvariable ) , data = )