Displaying 1 result from an estimated 1 matches for "_differences_".
Did you mean:
_difference_
2004 Mar 29
2
Confidence Intervals for slopes
...s(contrasts=c("contr.treatment","contr.poly"))
model <- lm(y~x+x:z)
# coefficient table in summary gives the intercept, first slope and the
difference in slopes
summary(model)
# confint gives the confidence interval for the intercept and first
slope,
# and the CIs for the _differences_
confint(model)
#################
What I'd like to report are the actual CI's for the slopes for the
second and third treatments, in the same way that confint returns the
parameter estimates for the first treatment. Can anyone point me in the
right direction?
Thanks,
David