fkk.test: k-Sample version of the Fligner-Kileen test for homogeneous...

View source: R/fkk.test.r

fkk.testR Documentation

k-Sample version of the Fligner-Kileen test for homogeneous scales.

Description

Returns the Fligner-Kileen test for homogeneous scales for k-samples. Also estimates of ratio of scales based on the logs of folded median-aligned samples and a corresponding confidence interval is computed. The first level (sample) is referenced. See the discussion in Section 5.7 of Kloke and McKean (2014).

Usage

fkk.test(y,ind,conf.level = 0.95)

Arguments

y

vector of responses

ind

vector of corresponding levels

conf.level

confidence coefficient for the returned confidence intervals

Details

Returns the Fligner-Kileen test for the k-sample scale problem.

Value

statistic

chi-squared test statistic

p.value

p-value of the test

estimate

vector of estimates of ratio of scales

conf.int

table of confidence intervals

cwts

vector of weights based on the estimates difference in scales

Author(s)

John Kloke, Joseph McKean

References

Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall.

Hettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.

See Also

fk.test

Examples

y1 <- rnorm(10)
y2 <- rnorm(12)*3
y3 <- rnorm(15)*5
y<-c(y1,y2,y3)
ind<-rep(1:3,times=c(10,12,15))
fkk.test(y,ind)

kloke/npsm documentation built on Nov. 11, 2023, 4:27 a.m.