Re: [R] t-test confidence interval

From: Ben Bolker <bolker_at_ufl.edu>
Date: Sat 18 Feb 2006 - 01:45:21 EST

Kemp S E (Comp <sekemp <at> glam.ac.uk> writes:

>
> Hi,
>
> Does anyone know of a pre-existing function where I can get the t-test
> confidence interval for a given mean, sd, degrees of freedom and
> confidence limit.
>
> I do NOT want to run any data through the t.test function.
>
> Kind regards,
>
> Sam.

  how about

mean+c(-1,1)*sd*qt(1-alpha/2,df)

?



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Feb 18 01:57:39 2006

This archive was generated by hypermail 2.1.8 : Mon 20 Feb 2006 - 14:08:40 EST