jondow0404
jondow0404

Reputation: 21

How to use non-integers in a poisson GLM?

I currently have a GLM with a poisson family but my dependent variable is not an integer. Although R gives results I get warnings. So I tried with the quasi poisson family and this did not give any warnings. Therefore I am wondering if I can use the quasi poisson to resolve the problem of the non integer dependent variable ( I could only found that it correct for overdispersion)? If quasi poisson is the solution is it possible to find a AIC value as it now gives NA?

Thank you.

Upvotes: 2

Views: 1975

Answers (1)

kjetil b halvorsen
kjetil b halvorsen

Reputation: 1228

You can use glm with quasipoisson family with (nonnegative) fractional data, but first ask yourself how the fractions arose. Maybe they arose from dividing counts by some area, or population size, or ... to get a rate, in that case look at Poisson rate regression, that is, model the count with an offset (which is log of the ratio denominator).

The Poisson distribution has variance equal mean, but there is no reason that should hold for fractional data. So formally it makes sense to treat it as over (or under)-dispersion. As always run your diagnostics.

Upvotes: 0

Related Questions