German health registry for the years 1984-1988. Health information for
years prior to health reform.
A data frame with 27,326 observations on the following 4 variables.
number of visits to doctor during year (0-121)
years of formal education (7-18)
household yearly income in DM/1000)
rwm is saved as a data frame.
Count models typically use docvis as response variable. 0 counts are included
German Health Reform Registry, years pre-reform 1984-1988,
From Hilbe and Greene (2008)
Hilbe, Joseph M (2011), Negative Binomial Regression, Cambridge University Press
Hilbe, J.M. and W.H. Greene (2008), "Count Response Regression Models", in Rao, CR,
JP Miller and DC Rao (eds), Handbook of Statistics 27: Epidemiology and Medical
Statistics, Amsterdam: Elsevier. pp. 210-252.
glmrwp <- glm(docvis ~ age + educ + hhninc, family=poisson, data=rwm)
glmrwnb <- glm.nb(docvis ~ age + educ + hhninc, data=rwm)
Dataset imported from https://www.r-project.org.