5.10 Determining the number of factors

5.10.1 Eigenvalue extraction

In the code below, we extract the number of factors and the look out for eigenvalues greater than 1.0. This represents the number of factors to retain. The result suggests that the first four factors explained a variance of 7.342, 2.390, 1.771 and 1.139. That is, there are potentially four factors extracted.

eigen.values <- eigen(correlation)
eigen.values$values
##  [1] 7.3416040 2.3900377 1.7713990 1.1390345 0.9130607 0.7709799 0.7004687 0.6807159
##  [9] 0.6074946 0.5123275 0.4719282 0.4530524 0.4289491 0.4184769 0.4149503 0.3918409
## [17] 0.3637817 0.3284838 0.3110213 0.2983275 0.2920656

5.10.2 Scree Plot

We can use the scree plot to further confirm the number of factors to retain. For the scree plot, look out for the point where the eigenvalue decline steeply and then levels off. From the scree plot, you will noticed that if we consider eigenvalue of 1.0, only three factors will be retained. However, if we consider the point where the eigenvalue levels off, four factors can be retained.

# Scree Plot
scree(data.us.only, pc = FALSE)

5.10.3 Parallel Analyses

Also, we can use the parallel analysis to confirm the number of factors to retain. Parallel analysis suggests that we retain 6 factors.

# Parallel Analysis
fa.parallel(data.us.only, fa = "fa")

## Parallel analysis suggests that the number of factors =  6  and the number of components =  NA