Code covered by the BSD License  

Highlights from
Mausphercnst

Be the first to rate this file! 1 Download (last 30 days) File Size: 7.05 KB File ID: #19648

Mausphercnst

by Antonio Trujillo-Ortiz

 

20 Apr 2008 (Updated 22 Apr 2008)

Mauchly's sphericity test for orthogonal contrasts.

| Watch this File

File Information
Description

Other hypothesis used with the Mauchly's sphericity test is on the orthonormalized contrasts,

H0: C’SC = s^2I , where C is any full-rank (p-1) x p matrix of orthonormal contrasts.

A is the nonorthonormalized contrasts matrix.

C = GMO(A’) is a (p-1) × p column-orthonormal matrix (by the Gram-Schmidt orthonormalization procedure)

L = q^q|C’SC|/[tr(C’SC)]^q

LL = - (N – 1 – ((2q^2 + q + 2)/(6q)) ln L

 = - (N – 1 – ((2q^2 + q + 2)/(6q)) [ln|C’SC| – q ln [tr(C’SC)/q]]

This statistic has an approximate Chi-square distribution with 0.5q(q + 1) – 1 = q(q + 1)/2 – 1 degrees of freedom.

Inputs:
X - multivariate data matrix.
alpha - significance level (default = 0.05).

Output:
Complete table results

Required Products Statistics Toolbox
MATLAB release MATLAB 7.0.1 (R14SP1)
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
22 Apr 2008

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 09:58:30
probability Antonio Trujillo-Ortiz 22 Oct 2008 09:58:30
mauchlys test Antonio Trujillo-Ortiz 22 Oct 2008 09:58:30
sphericity Antonio Trujillo-Ortiz 22 Oct 2008 09:58:30
circularity Antonio Trujillo-Ortiz 22 Oct 2008 09:58:30
orthonormality Antonio Trujillo-Ortiz 22 Oct 2008 09:58:30
contrasts Antonio Trujillo-Ortiz 22 Oct 2008 09:58:30

Contact us at files@mathworks.com