qtmean | R Documentation |
Computes the value of sample mean corresponding to the input quantile p of the t distribution for n-1 degrees of freedom
qtmean(p, mean, s2, n)
p |
value of cdf (named in accordance with R standards) |
mean |
the assumed normal mean |
s2 |
the observed sample variance (pass this as an extra argument to cdfinv()) |
n |
the sample size (pass this as an extra argument to cdfinv()) |
Do not call qtmean() directly. Pass DISTR="tmean" to cdfinv() when computing intervals for the normal mean when the variance is unknown. The parameter name to be passed to cdfinv() is mean. The additional arguments s2 (sample variance) and n (sample size) are to be passed to cdfinv().
The value of sample mean corresponding to the input quantile p of the t distribution for n-1 degrees of freedom
Peter E. Freeman, pfreeman@cmu.edu
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.