FKtest

Fligner-Killeen test for homogeneity of variances.
783.0 次下载
更新时间 2009/8/19

查看许可证

There are several tests for homogeneity of variances. Fligner and Killeen (1976) suggest ranking (i) the |x_ij - mean| as normal type scores (a) by (0.5 + i/2(N+1)). Where i is the group and j the observation. The replacement of the mean by the median, a modification, is an attempt to improve the robustness of the test. From these scores is formulated a statistic based on a Chi-squared or a F distribution.

According to Conover et al. (1981), the Fligner-Killeen test by median is one of the best tests to use on the basis of robustness and power. Also, by several simulations, the Type I error rate and power is slightly larger when F approximation was used than when the Chi-squared approximation was used. Some of these tests are very sensitive to outliers, but Fligner test is not. Fligner test is the most robust against departures from normality.

Syntax: function FKtest(X,o)

Inputs:
X - Data matrix; Data=column 1, Group=column 2
o - By median=1 (default), mean=2

Outputs:
Complete analysis of the homogeneity of variances test by a Chi-squared and F approximation

引用格式

Antonio Trujillo-Ortiz (2025). FKtest (https://www.mathworks.com/matlabcentral/fileexchange/25040-fktest), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Hypothesis Tests 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.2.0.0

Text was improved.

1.1.0.0

It was added an appropriate format to cite this file.

1.0.0.0