Inconsistency in AIC values for glm with family poisson (PR#8840)
Full_Name: Xavier Solé
OS: Windows XP SP2
Submission from: (NULL) (220.127.116.11)
#When computing AIC for one of the models shown in ?glm we get an inconsistent
AIC value. We also get the same wrong value if we use "extractAIC" o "AIC"
#AIC of this model should be 15.129 (residual deviance + 2*effective degrees of
freedom), but the AIC which R returns is 56.76. Function extractAIC returns the
right number of effective degrees of freedom (5), but anyway seems to fail in
calculating the correct AIC value.