Kaiser–Meyer–Olkin test

The Kaiser–Meyer–Olkin (KMO) test is a statistical measure to determine how suited data is for factor analysis. The test measures sampling adequacy for each variable in the model and the complete model. The statistic is a measure of the proportion of variance among variables that might be common variance. The higher the proportion, the higher the KMO-value, the more suited the data is to factor analysis.

History
Henry Kaiser introduced a Measure of Sampling Adequacy (MSA) of factor analytic data matrices in 1970. Kaiser and Rice then modified it in 1974.

Measure of sampling adequacy
The measure of sampling adequacy is calculated for each indicator as


 * $$MSA_j = \frac{\displaystyle \sum_{k\neq j} r_{jk}^2}{\displaystyle \sum_{k\neq j} r_{jk}^2+\sum_{k\neq j} p_{jk}^2}$$

and indicates to what extent an indicator is suitable for a factor analysis.

Kaiser–Meyer–Olkin criterion

 * The Kaiser–Meyer–Olkin criterion is calculated and returns values between 0 and 1.
 * $$KMO = \frac{\displaystyle \underset{j\neq k}{\sum\sum} r_{jk}^2}{\displaystyle \underset{j\neq k}{\sum\sum} r_{jk}^2+\underset{j\neq k}{\sum\sum} p_{jk}^2}$$
 * $$KMO = \frac{\displaystyle \underset{j\neq k}{\sum\sum} r_{jk}^2}{\displaystyle \underset{j\neq k}{\sum\sum} r_{jk}^2+\underset{j\neq k}{\sum\sum} p_{jk}^2}$$

Here $$r_{jk}$$ is the correlation between the variable in question and another, and $$p_{jk}$$ is the partial correlation.

This is a function of the squared elements of the `image' matrix compared to the squares of the original correlations. The overall MSA as well as estimates for each item are found. The index is known as the Kaiser–Meyer–Olkin (KMO) index.

Interpretation of result
In flamboyant fashion, Kaiser proposed that a KMO > 0.9 was marvelous, in the 0.80s, meritorious, in the 0.70s, middling, in the 0.60s, mediocre, in the 0.50s, miserable, and less than 0.5 would be unacceptable. In general, KMO values between 0.8 and 1 indicate the sampling is adequate. KMO values less than 0.6 indicate the sampling is not adequate and that remedial action should be taken. In contrast, others set this cutoff value at 0.5. A KMO value close to zero means that there are large partial correlations compared to the sum of correlations. In other words, there are widespread correlations which would be a large problem for factor analysis.

An alternative measure of whether a matrix is factorable is the Bartlett test, which tests the degree that the matrix deviates from an identity matrix.

Example in R
If the following is run in R with the library(psych)

The following is produced:

This shows that the data is not that suited to Factor Analysis.