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

1
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 kloke@biostat.wisc.edu, 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

1
2
3
4
5
6
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.