ds.fTest: Distributed F Test to Compare Two Variances

Description Usage Arguments Details Value Dependencies Author(s) Examples

Description

Performs an F test to compare the variances of two samples from normal populations.

Usage

1
2
ds.fTest(x = NULL, y = NULL, ratio = 1, conf.level = 0.95,
  alternative = c("two.sided", "less", "greater"), datasources = NULL)

Arguments

x

a character, the name of a numeric vector of data values.

y

a character, the name of a numeric vector of data values.

ratio

the hypothesized ratio of the population variances of x and y.

conf.level

confidence level for the returned confidence interval.

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.

datasources

a list of opal object(s) obtained after login in to opal servers; these objects hold also the data assign to R, as data frame, from opal datasources.

Details

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.

Value

A list containing the following components:

statistic

the value of the F test statistic.

parameter

the degrees of the freedom of the F distribution of the test statistic.

p.value

the p-value of the test.

conf.int

a confidence interval for the ratio of the population variances.

estimate

the ratio of the sample variances of x and y.

null.value

the ratio of population variances under the null.

alternative

a character string describing the alternative hypothesis.

method

the character string "F test to compare two variances".

Dependencies

getLength, getVariance

Author(s)

Paula Raissa Costa e Silva

Examples

1
2
3
{
ds.fTest(x, y)
}

paularaissa/distStatsClient documentation built on June 19, 2019, 12:43 a.m.