Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 11 13:46:56 CEST 2001

On Tue, 11 Sep 2001, juli g. pausas wrote:

> Dear R collegues,
> I'm trying to understand what's AIC in R (ver. 1.3.1), and I'm getting a
> different answer if I look at the AIC(of the fitted model) or the aic in
> the summary( of the fitted model). Is this correct? Can somebody explain
> me the difference between the two values? or Is the AIC criterion not
> appropiated for Poisson models?

It's the AIC _function_ that is inappropriate for glm models.  There is no
glm method, so the lm method is used.

Martin: I think you moved AIC and logLik into base R: this needs sorting


Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list