Factor analysis
How factor analysis explains the correlations among many measured variables with a few hidden factors, used to build scales, reduce data and uncover underlying structure.
What it is
Factor analysis is a statistical method that explains the pattern of correlations among many observed variables by a smaller number of unobserved factors. If several survey items, spectral channels or test scores rise and fall together, the idea is that a common underlying cause (a factor) drives them. The method was created by Charles Spearman in 1904 to study general intelligence and is now used in psychology, social science, market research, chemistry, ecology and finance to build measurement scales, reduce dozens of variables to a few interpretable dimensions and test theories about structure.
It answers questions such as: How many underlying dimensions do these 30 questionnaire items measure? Which items belong together? How strongly does each variable reflect a factor? Can a few scores replace many variables? Exploratory factor analysis (EFA) discovers structure without a prior hypothesis, while confirmatory factor analysis (CFA) tests a specified structure (see structural equation modeling).
Fundamentals
The common factor model
For p observed standardized variables x and m < p common factors f, the model is x = Λ f + ε, where Λ (p × m) contains the factor loadings (the correlation between a variable and a factor, when factors are uncorrelated), and ε is the unique part of each variable (specific variance plus measurement error). If factors are uncorrelated with unit variance, the correlation matrix is R = Λ Λ′ + Ψ, with Ψ the diagonal matrix of unique variances. The communality of variable i, hi2 = Σj λij2, is the share of its variance explained by the common factors, and the uniqueness is 1 − hi2. This differs from principal component analysis (PCA), which creates components as weighted sums that capture the total variance and is a data-reduction technique rather than a model of latent causes. Factor analysis separates common from unique variance, which is preferable when the goal is to identify latent constructs. The two often give similar results when communalities are high.
Checking suitability
Before running EFA, inspect the correlation matrix: many correlations should be above about 0.3, and extremely high ones (above 0.9) signal redundancy. Bartlett’s test of sphericity tests whether R is an identity matrix (significance is needed), and the Kaiser–Meyer–Olkin (KMO) measure of sampling adequacy should exceed 0.6 (above 0.8 is good). Sample size guidelines: at least 100–200 cases, or 5–10 cases per variable, with fewer needed when communalities are high and factors are well determined (each factor having at least three strong variables). Data should be continuous (or ordinal with polychoric correlations), with approximately linear relationships and no severe outliers.
Extraction and choosing the number of factors
Common extraction methods are principal axis factoring (iteratively estimated communalities, no normality needed), maximum likelihood (assumes multivariate normality, gives fit tests and confidence intervals) and minimum residual (minres) or weighted least squares for ordinal data. The number of factors is a key decision, judged by several criteria rather than one:
- Kaiser criterion: keep factors with eigenvalue above 1 (tends to overestimate, so it should not be used alone).
- Scree plot: plot eigenvalues and keep factors before the “elbow”.
- Parallel analysis: retain factors whose eigenvalues exceed those from random data of the same size (recommended as the most accurate).
- Velicer’s MAP test, ML likelihood-ratio tests, information criteria (BIC), and interpretability and theory.
Rotation and interpretation
The initial solution is not unique, since any rotation of axes reproduces the same correlations. Rotation seeks a simple structure in which each variable loads strongly on one factor and weakly on the others. Orthogonal rotations (varimax, which maximizes the variance of squared loadings in each column; quartimax) keep factors uncorrelated, while oblique rotations (oblimin, promax) allow factors to correlate, which is more realistic for most psychological and social constructs, and give a pattern matrix (unique contributions) and structure matrix (correlations). Loadings above about 0.4 (|λ| > 0.3 in some fields) are treated as salient; variables with weak loadings on all factors, or strong cross-loadings on several, may be dropped and the analysis repeated. Factors are named by the content of the variables loading on them. The proportion of variance explained by each factor is the sum of squared loadings divided by p. Factor scores (regression, Bartlett methods) can be computed for each case, but they are estimates and not exact.
Reliability, validation and software
Each scale derived from a factor is checked for internal consistency by Cronbach’s α (above 0.7 is typical; α = k r̄/[1 + (k − 1) r̄] for k items with average inter-item correlation r̄) or McDonald’s ω, which is less biased when loadings are unequal. A solution found by EFA should be validated on a separate sample using CFA, with fit indices (RMSEA, CFI, see structural equation modeling), and tests of invariance across groups. Software includes R (psych::fa, fa.parallel, lavaan), SPSS, SAS (PROC FACTOR), Stata, Python (factor_analyzer, scikit-learn FactorAnalysis) and JASP.
Typical applications and limits
Applications include designing questionnaires and tests, personality models, analyzing spectra and environmental data (as receptor models), customer segmentation and economic indices. Limits: the results depend on choices (extraction, rotation, number of factors), factors are statistical constructs that need theoretical interpretation, small samples give unstable solutions, and correlation among variables does not prove they share a real cause.
Basic operation
- Prepare the data. Select variables, handle missing values and check distributions and outliers.
- Check suitability. Inspect the correlation matrix, KMO and Bartlett’s test, and sample size.
- Choose the extraction method. Use principal axis or ML for continuous data, WLS with polychoric correlations for ordinal data.
- Decide the number of factors. Combine parallel analysis, scree plot and interpretability.
- Rotate. Use an oblique rotation unless factors are expected to be uncorrelated.
- Interpret and refine. Read loadings, remove poorly performing variables and name factors.
- Check reliability and validate. Compute α or ω, and confirm with CFA on new data.
- Collect the output. You obtain loadings, communalities and factor correlations; choosing rotations and scoring are covered in the video.
Good practice
- Use parallel analysis. It is more reliable than eigenvalue-over-one.
- Prefer oblique rotation. Real constructs usually correlate.
- Use adequate samples. Small samples give unstable factors.
- Do not over-trust factor names. Support interpretation with theory.
- Validate on independent data. Confirm EFA results with CFA.
- Report all decisions. State extraction, rotation, cutoffs and removed items so others can reproduce the analysis, and avoid fitting repeatedly until you get a desired structure.
Key terms
- Factor loading — the strength of the relation between a variable and a factor.
- Communality — the proportion of a variable’s variance explained by the common factors.
- Eigenvalue — the amount of variance accounted for by a factor or component.
- Rotation — a transformation of factor axes to make the solution easier to interpret.
- Parallel analysis — a method to choose the number of factors by comparison with random data.
- KMO measure — an index of whether the data suit factor analysis.
- Cronbach’s α — a measure of internal consistency of a scale.
Video coming soon
About five minutes on Factor analysis: how it works in detail, how the data is acquired, and how it is analyzed.
