Re: [R] lm and anova

From: Paul Chatfield <>
Date: Thu, 12 May 2011 06:30:59 -0700 (PDT)

anova uses sequential sums of squares (type 1), summary adjusted sums of squares (type 3)

Take for example the first line of each output. In summary this tests whether vole1 is needed ASSUMING volelag and year are already in the model (conclusion would then be: it isn't needed p=.89). Whereas in anova, it's testing do we need vole1 assuming nothing else is in the model (conclusion: vole1 is better than nothing. p=.0009).

anova assumes all terms above it are in the model but terms below it are not so volelag assumes vole1 is in the model but not year. You can see how anova changes but summary doesn't by varying the order you put them in.

so the final model I would fit here would probably end up being either year+volelag or just year,

HTH, Paul

View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Thu 12 May 2011 - 14:55:14 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

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 Thu 12 May 2011 - 16:40:07 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive