Hi Sergii,
>> I have trouble obtaining the same results for nested Anova with two fixed
>> factors when using
>> lm and aov functions.
There is no difference between the two if you treat them equally, i.e. if
you summarize them in the same way.
## Try:
anova(e2)
summary(e1)
## Or:
summary.lm(
Dear R users,
I have trouble obtaining the same results for nested Anova with two fixed
factors when using lm and aov functions.
The formulas are:
> e1=aov(y~x/z)
> e2=lm(y~x/z)
summary(e1)
Df Sum Sq Mean Sq F valuePr(>F)
x 47 260.0 5.5 18.0088 < 2.
2 matches
Mail list logo