Description Usage Arguments Value Constraints See Also Examples
Performs an F test to compare the variances of two samples from normal populations. The null hypothesis is that the ratio of the variances of the populations from which x and y were drawn, or in the data to which the linear models x and y were fitted, is equal to ratio.
1 |
x: |
FLVector of data values |
y: |
FLVector of data values |
ratio: |
the hypothesized ratio of the population variances of x and y. |
alternative: |
a character string specifying the alternative hypothesis, must be one of '"two.sided"' (default), '"greater"' or '"less"'. |
A list with class "htest".
conf.level, ratio, formula, data aren't supported currently for FL objects.
var.test
for R reference implementation.
1 2 3 4 | set.seed(450)
x <- as.FLVector(rnorm(50, mean = 0, sd = 2))
y <- as.FLVector(rnorm(30, mean = 1, sd = 1))
var.test(x, y, alternative = "two.sided")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.