Code covered by the BSD License  

Highlights from
Levenetest

4.33333

4.3 | 3 ratings Rate this file 20 Downloads (last 30 days) File Size: 2.92 KB File ID: #3375

Levenetest

by Antonio Trujillo-Ortiz

 

01 May 2003 (Updated 21 Jul 2003)

Levene's test for homogeneity of variances.

| Watch this File

File Information
Description

Levene's F test is used to test the null hypothesis that multiple population variances corresponding to multiplesamples are equal. Prior to the analysis the data are transforming to the absolute deviation of the mean. Then perform an one-way analysis of variance.

MATLAB release MATLAB 5.3 (R11)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (3)
22 May 2005 Marie Loukou

Good test, thanks.
But for the last lines ("if P >= alpha..."), the following message appeared: "??? Error using ==> alpha
Too many output arguments".

16 Oct 2005 Marie Loukou

After the following indications kindly provided by the author,
1. Levenetest(X) %here it takes the default alpha value = 0.05

2. Levenetest(X,0.1) %here you should give an alpha value

-----------
alpha = 0.1;
-----------
3. Levenetest(X,alpha) %here previously you should define the alpha value

The test is a succes! Thanks a lot.

04 Jun 2009 Farah

works easily and well. Thanks!

Please login to add a comment or rating.
Updates
07 May 2003

At the end of the third phrase of the description text a word of more should be eliminated (absolute).

09 May 2003

It was added an appropriate format to cite this file.

21 Jul 2003

Output results were improved.

Tag Activity for this File
Tag Applied By Date/Time
statistics Antonio Trujillo-Ortiz 22 Oct 2008 07:01:00
probability Antonio Trujillo-Ortiz 22 Oct 2008 07:01:00
levenes test Antonio Trujillo-Ortiz 22 Oct 2008 07:01:00
homoscedasticity test Antonio Trujillo-Ortiz 22 Oct 2008 07:01:00
f test Antonio Trujillo-Ortiz 22 Oct 2008 07:01:00

Contact us at files@mathworks.com