Thanks for the replies and apologies for not including code. Bad of me. >Chuck Cleland wrote: >I get the same confidence intervals with t.test(), lm(), and by hand. >We need to see how you calculated the SEM and constructed the interval. >Perhaps you constructed the interval using the normal distribution >rather than the t distribution?
Yes, I was doing this and this was causing a confusion. I think it's clear now! Rob ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.