search for: ltotinv

Displaying 3 results from an estimated 3 matches for "ltotinv".

Did you mean: lto'ing
2002 Jul 11
2
Nested anovas in R not doing what they ought to...
...to check the list today for replies. I am currently attempting to perform an ANOVA with both nested and normal factors. My problem is that R is treating my nested factors the exact same way as it would interaction terms. My output for the nested model is as follows: > nested <- anova(lm(ltotinv ~ habitat + fish/lake + habitat:fish + habitat:(la\ ke %in% fish))) > nested Analysis of Variance Table Response: ltotinv Df Sum Sq Mean Sq F value Pr(>F) habitat 1 17.0829 17.0829 50.0917 3.083e-09 *** fish 1 0.9131 0.9131 2.6774 0.107600...
2004 Apr 01
2
modelling nested random effects with interactions in R
...va, with random factor "lakefac" nested within factor "fishfac" (fixed), with an additional fixed factor "Habfac". If I consider everything as fixed effects, it's addmittedly not the correct model, but I can at least get this to work: > nested <- anova(lm(ltotinv ~ habfac + fishfac/lakefac + habfac:fishfac + habfac:(lakefac %in% fishfac))) > nested Analysis of Variance Table Response: ltotinv Df Sum Sq Mean Sq F value Pr(>F) habfac 2 17.3140 8.6570 25.0568 3.534e-08 *** fishfac 1 0.91...
2002 May 03
0
Nested anovas in R
...d you please cc: a response to me? I am currently attempting to perform an ANOVA with both nested and normal factors. My problem is that R is treating my nested factors the exact same way as it would interaction terms. My output for the nested model is as follows: > nested <- anova(lm(ltotinv ~ habitat + fish/lake + habitat:fish + habitat:(la\ ke %in% fish))) > nested Analysis of Variance Table Response: ltotinv Df Sum Sq Mean Sq F value Pr(>F) habitat 1 17.0829 17.0829 50.0917 3.083e-09 *** fish 1 0.9131 0.9131 2.6774 0.10760...