Displaying 1 result from an estimated 1 matches for "groupfive".
Did you mean:
groupfile
2002 Jul 23
0
Comparing slopes of several linear models
...uot;))
> mass.lm <- lm(mass ~ group * time, data = growth)
The question I am asking is whether the slopes
differ, which they do. This is the output:
> round(summary(mass.lm)$coef, 3)
Estimate SE t value Pr(>|t|)
(Intercept) -0.024 0.010 -2.530 0.014
groupfive 0.027 0.013 1.998 0.051
groupten 0.025 0.013 1.840 0.071
grouptwenty 0.027 0.013 1.988 0.052
time 0.004 0.001 5.995 0.000
groupfive:time -0.003 0.001 -3.551 0.001
groupten:time -0.003 0.001 -3.407 0.001
grouptwen...