[R] AIC for quasipoisson link

From: <Antonio.Gasparrini_at_lshtm.ac.uk>
Date: Fri, 31 Oct 2008 18:07:56 +0000


Dear fellows,  

I'm trying to extract the AIC statistic from a GLM model with quasipoisson link. The formula I'm referring to is  

AIC = -2(maximum loglik) + 2df * phi  

with phi the overdispersion parameter, as reported in:  

Peng et al., Model choice in time series studies os air pollution and mortality. J R Stat Soc A, 2006; 162: pag 190.  

Unfortunately, the function logLik doesn't work for a quasipoisson link. Do you know a fast method to extract the AIC for these models?  

Thanks in advance  

Antonio Gasparrini
Public and Environmental Health Research Unit (PEHRU) London School of Hygiene & Tropical Medicine Keppel Street, London WC1E 7HT, UK
Office: 0044 (0)20 79272406 - Mobile: 0044 (0)79 64925523 http://www.lshtm.ac.uk/people/gasparrini.antonio ( http://www.lshtm.ac.uk/pehru/ )

        [[alternative HTML version deleted]]



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 31 Oct 2008 - 18:13:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 31 Oct 2008 - 20:30:21 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive