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

Rob Campbell stats at robertcampbell.co.uk
Mon Mar 10 14:39:55 CET 2008


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



More information about the R-help mailing list