var.test: F Test.

Description Usage Arguments Value Constraints See Also Examples

Description

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.

Usage

1

Arguments

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"'.

Value

A list with class "htest".

Constraints

conf.level, ratio, formula, data aren't supported currently for FL objects.

See Also

var.test for R reference implementation.

Examples

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")

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.