Factor analysis is a statistical technique that explains many correlated observed variables using a smaller number of unobserved variables called factors. It looks for shared variation among variables and groups it into latent factors, which can make large survey or measurement datasets easier to read.
This page is for analysts and decision makers who work with many related measures, such as survey items or sensor readings. It covers what factor analysis is, its assumptions, extraction and rotation methods, how many factors to keep, and how it differs from PCA.
According to the Wikipedia article on factor analysis, factor analysis describes correlated observed variables using a smaller number of unobserved latent variables, searching for joint variation in response to them. The scikit-learn decomposition guide frames it as a latent variable model: each observed record is a combination of hidden factors, weighted by a loading matrix, plus noise. Each factor can be read through the variables that load heavily on it.
Datasets with dozens of related measures are hard to interpret and prone to redundancy. Factor analysis condenses them into a few factors that can be named, tracked and used as inputs to later models, such as a customer experience score built from many survey questions.
The Wikipedia article lists several ways to extract factors, including principal component analysis as a common first phase, common (principal axis) factoring, image factoring, alpha factoring and an iterative minimum residual method. Because loadings are unique only up to a rotation, factors are often rotated for interpretability. The scikit-learn guide notes that varimax rotation tends to produce sparser factors, each influenced by only a few features, a pattern called simple structure.
| Choice | Options | Effect |
|---|---|---|
| Extraction | Principal components, common factoring, image factoring, alpha factoring | How shared variance is estimated |
| Orthogonal rotation | Varimax, quartimax | Keeps factors uncorrelated |
| Oblique rotation | Methods that allow correlated factors | Fits cases where factors overlap |
The Wikipedia article describes several retention rules. The Kaiser criterion keeps components with eigenvalues above one, though it tends to over-extract. A scree plot keeps the factors before the point where the curve levels off, although that elbow is subjective. Parallel analysis keeps factors whose eigenvalues exceed those from random data. Use more than one rule and judge whether the factors make sense.
| Aspect | Factor analysis | Principal component analysis |
|---|---|---|
| Variance modelled | Only the variance shared among variables | Total variance |
| Underlying idea | Latent variables that cause the observed pattern | A mathematical summary with no causal model |
| Measurement error | Accounted for | Not accounted for |
| Noise assumption | Each feature has its own noise variance | Same noise variance in every direction |
The first three rows follow the Wikipedia article and the last follows the scikit-learn guide, which states that the main advantage of factor analysis is that it can model the variance in every direction of the input space independently. Wikipedia also separates exploratory factor analysis, which makes no prior assumptions about relationships among factors, from confirmatory factor analysis, which tests whether items load on specific hypothesised factors.
AI agents that reason over many correlated business measures benefit from clean, well defined inputs. Factors derived from governed data give an agent a smaller set of consistent signals to act on. The quality of those inputs depends on how data is governed and traced, which is the area ElixirData, XenonStack's Context OS, addresses as a decision layer above AI agents.
To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.
It reduces a large set of correlated variables to a smaller set of latent factors, which makes survey and measurement data easier to interpret and model.
Factor analysis models only the variance shared among variables and allows for measurement error. PCA models total variance and has no latent causal model.
Exploratory factor analysis makes no prior assumptions about how variables group. Confirmatory factor analysis tests whether items load on specific, hypothesised factors.
Loadings are unique only up to a rotation, so rotating them, for example with varimax, makes the factors easier to interpret.
Use more than one rule, such as the Kaiser criterion, a scree plot or parallel analysis, and check that the retained factors are meaningful.