[R] Calculating critical values

Chuck Cleland ccleland at optonline.net
Fri Aug 25 18:29:22 CEST 2006

Adam D. I. Kramer wrote:
> Hello,
>  	I have an HLM-like situation: a data frame with rows representing
> individuals, and columns representing some statistics for the individual
> (e.g., a mean and variance for that individual, plus the number of
> observations for that person).
>  	I'm interested in computing a confidence interval around each
> individual's mean, but to do that, I would need to know the critical t-value
> for each individual.
>  	Ergo, is there any sort of function that returns a critical t-value
> for a given p/alpha and df?


qt(p=.05, df=100)
[1] -1.66023

> Thanks,
> Adam Kramer
> ______________________________________________
> R-help at 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
> and provide commented, minimal, self-contained, reproducible code.

Chuck Cleland, Ph.D.
NDRI, Inc.
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894

More information about the R-help mailing list