Skip to content
Prev 5182 / 20628 Next

glmmPQL simplification

Hi Iker,
Not sure you're approaching things the right way here:
(i) Brian Ripley stated once ?I have no idea where you got the idea that anova could be used with glmmPQL? (on http://www.biostat.wustl.edu/archives/html/s-news/2002-06/msg00055.html) which would be a short answer to this question. Also see http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg46894.html .
(ii) However, people do get around this in various ways, e.g. by changing the class of the glmmPQL object returned, though note that this is probably inadvisable: http://markmail.org/message/jddj6aq66wdidrog#query:how%20to%20use%20anova%20with%20glmmPQL+page:1+mid:jddj6aq66wdidrog+state:results
(iii) Lastly, if you're trying to do model simplification, the p-values are already there in the summary table you posted. Why not remove the least significant term (starting with sexM:weatherpc1 not weatherpc1:tlength) and look at the new summary table rather than that anova() test?
Toby