Code covered by the BSD License  

Highlights from
sphertest

3.66667

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

sphertest

by Antonio Trujillo-Ortiz

 

07 Jul 2003 (Updated 14 Jul 2003)

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

| Watch this File

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)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (4)
29 Sep 2005 grace kelly  
01 Feb 2010 Kay Thurley  
06 Aug 2011 Amarelo

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?

14 Mar 2012 Ben

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

Please login to add a comment or rating.
Updates
14 Jul 2003

It was added an appropriate format to cite this file.

Tag Activity for this File
Tag Applied By Date/Time
statistics Antonio Trujillo-Ortiz 22 Oct 2008 07:04:25
probability Antonio Trujillo-Ortiz 22 Oct 2008 07:04:25
sphericity test Antonio Trujillo-Ortiz 22 Oct 2008 07:04:25
bartletts sphericity test Antonio Trujillo-Ortiz 22 Oct 2008 07:04:25
mauchlys Antonio Trujillo-Ortiz 22 Oct 2008 07:04:25
sphericity Antonio Trujillo-Ortiz 22 Oct 2008 07:04:25

Contact us at files@mathworks.com