bbtest

Boos and Brownie's Test for Homogeneity of Variances.
183.0 次下载
更新时间 2011/11/18

查看许可证

The homogeneity of variances test is a useful tool in many scientific applications. Boos and Brownie (2004) and Conover et al. (1981) give a broad review.

Here, we developed an m-file as an alternative to the homogeinity of variances test considering the modification of the Bartlett's test investigated by Boos and Brownie (1989). As Lim and Loh (1996) pointed out, the modification did is motivated by the fact that under weak regularity conditions the Bartlett's statistic tends to the Chi-squared times one-half the kurtosis-1 under Ho.

BBTEST treats NaN values as missing values, and removes them.

Syntax: function bbtest(X,alpha)

Inputs:
X - data matrix (Size of matrix must be n-by-2; data=column 1,
sample=column 2)
alpha - significance level (default = 0.05)

Outputs:
- Sample variances vector
- Whether or not the homoscedasticity was met

引用格式

Antonio Trujillo-Ortiz (2024). bbtest (https://www.mathworks.com/matlabcentral/fileexchange/33827-bbtest), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2010a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

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

It was added an appropriate format to cite this file.

1.0.0.0