fkk.test | R Documentation |
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)/Section 5.8 of Kloke and McKean (2024).
fkk.test(y,ind,conf.level = 0.95)
y |
vector of responses |
ind |
vector of corresponding levels |
conf.level |
confidence coefficient for the returned confidence intervals |
Returns the Fligner-Kileen test for the k-sample scale problem.
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 |
John Kloke, Joseph McKean
Hettmansperger, T.P. and McKean J.W. (2011), Robust Nonparametric Statistical Methods, 2nd ed., New York: Chapman-Hall.
Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall. Kloke, J. and McKean, J.W. (2024), Nonparametric statistcal methods using R, Second Edition, Boca Raton, FL: Chapman-Hall.
fk.test
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.