Code covered by the BSD License  

Highlights from
bbtest

Be the first to rate this file! 5 Downloads (last 30 days) File Size: 3.32 KB File ID: #33827

bbtest

by Antonio Trujillo-Ortiz

 

18 Nov 2011 (Updated 18 Nov 2011)

Boos and Brownie's Test for Homogeneity of Variances.

| Watch this File

File Information
Description

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

Required Products Statistics Toolbox
MATLAB release MATLAB 7.10 (2010a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
18 Nov 2011

It was added an appropriate format to cite this file.

Tag Activity for this File
Tag Applied By Date/Time
boosbrownie test Antonio Trujillo-Ortiz 18 Nov 2011 13:54:16
homogeinity of variances Antonio Trujillo-Ortiz 18 Nov 2011 13:54:16
homoscedasticity Antonio Trujillo-Ortiz 18 Nov 2011 13:54:16
boos and brownie test Antonio Trujillo-Ortiz 21 Nov 2011 10:39:43

Contact us at files@mathworks.com