Lawley has developed a procedure for testing the equal correlation structure from the off-diagonal elements of the correlation matrix. It is equivalent to test the hypothesis that correlations are equal.
File needs to input the multivariate matrix, matrix type [d=1,for a n-p data matrix; d=2, for a p-p correlation matrix (default = 1) and the significance level (default = 0.05)].
It Output the sample-size, number of variables, the observed statistic used to test any deviation from an expected null Ho and the probability that null Ho: is true.
Cite As
Antonio Trujillo-Ortiz (2026). Lawley (https://www.mathworks.com/matlabcentral/fileexchange/3715-lawley), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions and Hypothesis Tests > Hypothesis Tests >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | It was added an appropriate format to cite this file. |
