Code covered by the BSD License

### Highlights from sphertest

3.66667
3.7 | 3 ratings Rate this file 16 Downloads (last 30 days) File Size: 7.84 KB File ID: #3694 Version: 1.0

# sphertest

### Antonio Trujillo-Ortiz (view profile)

07 Jul 2003 (Updated )

File gives several sphericity tests as Bartlett and Mauchly to choose.

File Information
Description

Basically, here we are testing if all the p-axis have the same variability or eigenvalues. There are two tests to choose in a menu form such as the Bartlett and Mauchly's sphericity tests.

Only needs to input the multivariate data matrix and the significance level (default = 0.05). It outputs the sample-size, the p-variables, the observed statistic used to test any deviation from an expected sphericity and the probability that null Ho: is true.

MATLAB release MATLAB 5.3 (R11)
12 Jan 2013 sharika

### sharika (view profile)

As per the formula given in this link

http://www.originlab.com/pdfs/nagcl09/manual/pdf/rmanova/Repeated_Measures_ANOVA.pdf

all calculations require p = degrees of freedom of the factor rather than the levels of the factor.

Comment only
14 Mar 2012 Ben

### Ben (view profile)

I second the results deviating massively from SPSS output (regarding Mauchly). p values can differ by as much as 3 orders of magnitude!

06 Aug 2011 Amarelo

### Amarelo (view profile)

I noticed a clear difference in results by this function and a similar test in SPSS (significant vs. non-significant findings). My data contains scores for 17 participants (rows) across three conditions (columns) as input into a one-way ANOVA for repeated measures. What is weird is that the degrees of freedom are completely different, being 2 in SPSS and 5 with this function, as is also the case with the other computed statistics. Which one is right?

Comment only
01 Feb 2010 Kay Thurley

### Kay Thurley (view profile)

29 Sep 2005 grace kelly