Mausphercnst

Mauchly's sphericity test for orthogonal contrasts.
973.0 次下载
更新时间 2008/4/22

查看许可证

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

引用格式

Antonio Trujillo-Ortiz (2024). Mausphercnst (https://www.mathworks.com/matlabcentral/fileexchange/19648-mausphercnst), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R14SP1
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Hypothesis Tests 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Mausphercnst/Mausphercnst/

版本 已发布 发行说明
1.0.0.0

It was added an appropriate format to cite this file.