XenonStack
Factor Analysis: Meaning, Methods and PCA Difference
J
K
N
O
R
X
Y
Z

XenonStack GlossaryFactor Analysis: Meaning, Methods and PCA Difference

Key takeaway

  • Factor analysis explains many correlated variables with fewer hidden factors. See how it works, the main methods, and how it differs from PCA.

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.

What is factor analysis?

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.

Two column diagram. Preparing: correlated variables, check relationships, extract factors, choose the count. Interpreting: rotate, read loadings, name the factors, validate.

Why does factor analysis matter?

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.

What are the main extraction and rotation methods?

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.

ChoiceOptionsEffect
ExtractionPrincipal components, common factoring, image factoring, alpha factoringHow shared variance is estimated
Orthogonal rotationVarimax, quartimaxKeeps factors uncorrelated
Oblique rotationMethods that allow correlated factorsFits cases where factors overlap

How many factors should you keep?

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.

How does factor analysis differ from PCA?

AspectFactor analysisPrincipal component analysis
Variance modelledOnly the variance shared among variablesTotal variance
Underlying ideaLatent variables that cause the observed patternA mathematical summary with no causal model
Measurement errorAccounted forNot accounted for
Noise assumptionEach feature has its own noise varianceSame 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.

How does factor analysis relate to AI agents?

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.

What should you do first?

  1. List the variables and confirm they are related enough to share factors.
  2. Choose exploratory or confirmatory analysis based on whether you hold a prior hypothesis.
  3. Pick an extraction method and use more than one rule to decide the number of factors.
  4. Rotate the solution and name each factor from its heavy loadings.
  5. Test the factors on fresh data before using them in decisions.

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.

Frequently asked questions

What is factor analysis used for?

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.

What is the difference between factor analysis and PCA?

Factor analysis models only the variance shared among variables and allows for measurement error. PCA models total variance and has no latent causal model.

What is the difference between exploratory and confirmatory factor analysis?

Exploratory factor analysis makes no prior assumptions about how variables group. Confirmatory factor analysis tests whether items load on specific, hypothesised factors.

Why are factors rotated?

Loadings are unique only up to a rotation, so rotating them, for example with varimax, makes the factors easier to interpret.

How many factors should I keep?

Use more than one rule, such as the Kaiser criterion, a scree plot or parallel analysis, and check that the retained factors are meaningful.