Re: [R] relationship between t-test CI and SEM?

From: Rob Campbell <>
Date: Mon, 10 Mar 2008 09:39:55 -0400

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 mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Mon 10 Mar 2008 - 13:56:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 10 Mar 2008 - 14:30:20 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive