var1Test {asht} | R Documentation |
One Sample Test of Normal Variance
Description
Give tests and confidence intervals on the variance of a sample from a normal distribution.
Usage
var1Test(x, nullVar = 1,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95)
Arguments
x |
numeric vector |
nullVar |
null variance, or variance on the boundary between the null and alternative hypotheses |
alternative |
a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just the initial letter. |
conf.level |
confidence level of the interval |
Details
Tests derived from normality assumption.
Value
A list of class 'htest' (use str to see elements)
Author(s)
Michael P. Fay
References
Dudewicz, EJ and Mishra, SN (1988) Modern Mathematical Statistics. Wiley. (Section 9.6).
Examples
var1Test(rnorm(25))
[Package asht version 1.0.1 Index]