I am carrying out a series of poisson regression in R and then ranking my ranking my models based on AIC. however I get this as a result:
> aictab(cand.set = Cand.models, sort = TRUE)
Model selection based on AICc :
K AICc Delta_AICc AICcWt Cum.Wt LL
Mod7 4 Inf NaN NaN NA -Inf
Mod6 3 Inf NaN NaN NA -Inf
Mod5 3 Inf NaN NaN NA -Inf
Mod4 3 Inf NaN NaN NA -Inf
Mod3 2 Inf NaN NaN NA -Inf
Mod2 2 Inf NaN NaN NA -Inf
Mod1 2 Inf NaN NaN NA -Inf
Each model separately gives results on intercepts but not on AIC...
> Cand.models[[1]]
Call: glm(formula = D ~ A, family = poisson(), data = d)
Coefficients:
(Intercept) Slope
-0.17356 0.07058
Degrees of Freedom: 251 Total (i.e. Null); 250 Residual
Null Deviance: 55.35
Residual Deviance: 54.99 AIC: Inf
When I do the same thing with family=gaussian(identity) I get results. How come the AIC wont work when I do poisson regression?
any help would be appreciated.