Re: [R] Balanced design, differences in results using anova and lmer/anova

2009-03-01 Thread Rolf Turner
Not sure --- never sure with this stuff! :-) --- but I think that your problem might be (at least in part) that the coding for block is repeated within each location. Block 1 in location 1 is *not* the same as block 1 in location 2; this is what nesting in effect means. The structure of

[R] Balanced design, differences in results using anova and lmer/anova

2009-02-27 Thread Lars Kunert
Hi, I am trying to do an analysis of variance for an unbalanced design. As a toy example, I use a dataset presented by K. Hinkelmann and O. Kempthorne in Design and Anaylysis of Experiments (p353-356). This example is very similar to my own dataset, with one difference: it is balanced. Thus it is