Statistics, Data Science, Analytics, Business Intelligence, Machine Learning.
this is the glm.nb() function. The negative binomial is really neat. If you average Poisson distributions, where each one has a λ that varies according to the Gamma distribution, then you get the negative binomial. In other words, we explicitly model that even though two units might have the same