Displaying 1 result from an estimated 1 matches for "mslocation".
Did you mean:
mdlocation
2005 Jul 18
1
Nested ANOVA with a random nested factor (how to use the lme function?)
...om=~1|Site, data=mavric)
> lme2 <- lme(sp~Location, random=~1|Location/Site, data=mavric)
> anova(lme1)
numDF denDF F-value p-value
(Intercept) 1 40 3.418077 0.0719
Location 4 5 1.152505 0.4294
This gives me the correct F-value for Location from
MSLocation/MSLocation:Transect, but the p-value doesn't seem to be
correct (by my calculations in Microsoft Excel it should be 0.345)
> anova(lme2)
Warning in pf(q, df1, df2, lower.tail, log.p) :
NaNs produced
Warning: NAs introduced by coercion
numDF denDF F-value p-valu...