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

Description Usage Arguments Details Value Author(s) References See Also Examples

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)


Search within the npsm package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.