kmo and Bartlett's test of sphericity in factor analysis
Version 1.0.0 (1,66 KB) von
qqffssxx
Using MATLAB's statistical and machine learning toolbox to calculate kmo and Bartlett's test of sphericity in factor analysis
Using MATLAB's statistical and machine learning toolbox to calculate kmo and Bartlett's test of sphericity in factor analysis:
Generate a set of random numbers to test these two functions:
x1 = rand(100,4);
qf_kmo(x1)
qf_bartlett(x1)
==============================
KMO: 0.49596
==============================
==============================
Bartlett's test of sphericity
Chi-square statistic: 5.4061
Degrees of freedom: 6
P-value: 0.49288
==============================
For a group of identical data tests, the results obtained by these two functions are exactly the same as those reported by the SPSS software.
Zitieren als
qqffssxx (2024). kmo and Bartlett's test of sphericity in factor analysis (https://www.mathworks.com/matlabcentral/fileexchange/126744-kmo-and-bartlett-s-test-of-sphericity-in-factor-analysis), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2020a
Kompatibel mit R2010b und späteren Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert von: kmo
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |