compvar: Variance comparison between two independent samples

Description Usage Arguments Value References Examples

View source: R/funciones.R

Description

Compare de variance of two independent samples, depending of the alternative hypothesis

Usage

1
compvar(x, y, test = "dos-colas")

Arguments

x

A vector or array for the first sample

y

A vector or array for the second sample

test

A character value containing one of the following option: "dos-colas", "inferior", "superior"

Value

Return a list containing the statistic's value and the P-value for the test

References

Conover, W. J. (1999) "Practical Nonparametric Statistics", 3rd Edition, Jhon Wiley & Sons.Inc

Examples

1
2
3
x<-c(10.8,11.1,10.4,10.1,11.3)
y<-c(10.8,10.5,11,10.9,10.8,10.7,10.8)
compvar(x,y,test="superior")

bencuben/nparametric documentation built on July 15, 2020, 2:54 a.m.