var1Test | R Documentation |
Give tests and confidence intervals on the variance of a sample from a normal distribution.
var1Test(x, nullVar = 1,
alternative = c("two.sided", "less", "greater"),
conf.level = 0.95)
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 |
Tests derived from normality assumption.
A list of class 'htest' (use str to see elements)
Michael P. Fay
Dudewicz, EJ and Mishra, SN (1988) Modern Mathematical Statistics. Wiley. (Section 9.6).
var1Test(rnorm(25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.