Hi all,
I have a quick question about using the error argument in anova() to incorporate nested random effects. I have some models that are structured exactly like the vignette, with a nested random factor (Y~ b.length+regime +regime:site), for which anova(error = c("Residuals", "regime:site", "Residuals")) seems to work great. But I also have a more complicated model, again using site:regime as a random factor nested within regime, but also including a species:regime interaction: (Y ~ species + regime + b.length + species:regime + regime:site). In this case, because site is nested within regime, would the random "regime:site" term MS also be used for the denominator of the species:regime F-stat calculation (e.g., anova(error = c("Residuals", "regime:site", "Residuals", "regime:site", "Residuals"))?
I just want to make sure I was doing this the right way, since a colleague also ran this model as a traditional manova in SAS, and while we expected the results to differ between the two methods a bit, they were different enough that I wanted to double check that I am using this method properly.
Thanks very much
Grant