- Introduced by
- Jean-Paul Benzécri; Michael Greenacre
- Year
- 1984
- Type
- Exploratory multivariate technique for categorical data
- Family
- Dimensionality reduction
What does it do?
Correspondence Analysis (CA) is an exploratory multivariate technique for visualizing the association structure of a two-way contingency table.
It was developed in France by Jean-Paul Benzécri and colleagues, and its English-language treatment is presented in Michael Greenacre's monograph Theory and Applications of Correspondence Analysis. CA decomposes the chi-square statistic of a cross-tabulation to produce a low-dimensional joint display, called a biplot, in which row and column categories are points whose proximities reflect their associations.
The intuition behind the method
Imagine a table of survey respondents (rows) and their favorite product categories (columns). CA finds the 'hidden axes' along which respondents and categories cluster together. If 'young adults' and 'streaming services' land close on the map, it signals they co-occur more than chance would predict. The result is a visual summary that makes complex patterns in a frequency table readable at a glance, much like a map reveals geographic clusters.
History
The method was developed in France by Jean-Paul Benzécri and colleagues under the label 'analyse des correspondances'. Michael Greenacre's monograph Theory and Applications of Correspondence Analysis provided a comprehensive English-language treatment. The same mathematics also appears under other names, including reciprocal averaging, which is listed among the aliases above.
When to use it
Use Correspondence Analysis when you have a two-way contingency table of non-negative counts and want to explore how a row variable and a column variable are associated. The goal should be exploratory: CA describes the structure of the table rather than testing a pre-specified hypothesis about individual cells. It suits nominal variables, and ordinal variables can be treated with CA as well, though ordering information is not used by the standard solution. Do not use CA for continuous or interval-level measurements, where Principal Component Analysis is the appropriate choice. When three or more categorical variables are involved, use Multiple Correspondence Analysis. Key assumptions: the input must be a table of non-negative counts, not percentages or rates; row and column masses are taken from the sample totals, and row or column totals fixed by design rather than by sampling also violate the framework; the geometry rests on chi-square distances between profiles, with the independence model (expected values r_i times c_j) as the reference; and interpretation is less reliable when many expected cell counts are very small, since sparse cells then carry a disproportionate influence on the chi-square distances.
Limitations and considerations
- Interpretation relies on proximity between points in a reduced space. If the retained dimensions capture only a small share of total inertia, apparent closeness or distance may not reflect the full table.
- Point positions in the basic solution have no standard significance test or confidence interval. Overall association can still be tested: the Pearson chi-square statistic equals n times the total inertia, so the chi-square test of independence applies to the same table.
- Rare categories and cells with very small counts have small marginal masses, and their profiles can disproportionately influence the axes.
- The standard method applies to two-way tables. Designs with more than two categorical variables require Multiple Correspondence Analysis or other extensions.
Source conditions do not replace independent scientific review or validation by an analysis engine.
Strengths
- Places row and column categories in the same low-dimensional space, so the joint biplot can be read directly for associations between them.
- Total inertia equals the Pearson chi-square statistic divided by n, which connects the geometric solution to a familiar measure of association in the table.
- Each dimension has an inertia value, so the share of association captured by the retained axes can be stated explicitly.
- Symmetric and asymmetric biplots can both be drawn from the same decomposition, depending on whether the emphasis is on rows, columns, or their relation.
Applications
- Marketing research: mapping brand perceptions and consumer segments to reveal positioning opportunities from survey cross-tabulations.
- Ecology and biogeography: visualizing species-by-site abundance tables to identify environmental gradients and habitat associations.
- Linguistics and text analysis: exploring co-occurrence tables of words and documents to uncover thematic structure.
- Social sciences: analyzing cross-tabulations of demographic variables (age, education, opinion) to reveal latent lifestyle clusters.
- Health sciences: examining patient-by-symptom frequency tables to identify diagnostic profiles and disease subtypes.
How it works
How it works
The raw contingency table N (with grand total n) is converted into a correspondence matrix P by dividing each cell by n. Row marginals r_i and column marginals c_j are then computed as the sums across columns and rows of P, respectively. These marginals define the 'expected' profile under independence and serve as weights throughout the analysis.
Formula
P = \frac{N}{n}, \quad r_i = \sum_j p_{ij}, \quad c_j = \sum_i p_{ij}For each cell, the deviation from independence is measured as the standardized residual S_ij, computed by subtracting the expected value r_i*c_j from p_ij and scaling by the square root of r_i*c_j. This matrix S encodes all association signal in a form amenable to singular value decomposition, with its total sum of squares equaling the Pearson chi-square statistic divided by n.
Formula
S_{ij} = \frac{p_{ij} - r_i c_j}{\sqrt{r_i c_j}}Singular value decomposition (SVD) is applied to S, yielding left singular vectors U, singular values collected in Sigma, and right singular vectors V. Each squared singular value lambda_k is an inertia component, so the components partition the overall association in the table. The total inertia phi-squared equals the chi-square statistic divided by n.
Formula
S = U \Sigma V^\top, \quad \phi^2 = \sum_k \lambda_k^2, \quad \lambda_k = \sigma_k^2
Row principal coordinates F are obtained by rescaling U with the inverse square root of the diagonal matrix of row masses D_r, then multiplying by Sigma. Column principal coordinates G are computed analogously from V and D_c. Plotting F and G together in two dimensions produces the symmetric biplot used to interpret associations between row categories and column categories.
Formula
F = D_r^{-1/2} U \Sigma, \quad G = D_c^{-1/2} V \SigmaCommon pitfalls
- Retaining too few dimensions and reading the two-dimensional biplot as a complete picture when cumulative inertia is low can produce false conclusions about which categories are unrelated.
- Treating closeness between a row point and a column point as a correlation is a mistake. Row-column proximity indicates association relative to the centroid (the average profile), and how it should be read depends on whether a symmetric or an asymmetric map is used.
- Aggregating cells to improve stability can hide meaningful heterogeneity. Dropping sparse categories without justification changes the partition of inertia.
- Applying CA to percentage tables, or to tables whose row or column totals are fixed by design rather than by sampling, can violate the chi-square distance framework on which the solution rests.
Frequently asked questions
How is Correspondence Analysis different from Principal Component Analysis?
PCA operates on continuous variables using Euclidean distance and a covariance or correlation matrix. CA operates on count data in a contingency table using chi-square distance between row or column profiles. The two methods share an SVD backbone but differ in the data type they accept and the distance metric they use.
How many dimensions should I retain in a CA solution?
Retain enough dimensions that the cumulative inertia (the share of total chi-square explained) is substantial for your purpose; no single cut-off applies to every table. As a practical starting point, check whether the first two axes account for a substantial share of total inertia before interpreting the plot, and inspect further axes if they do not. A scree plot of the inertia per dimension helps identify the point beyond which additional dimensions add little. The maximum number of meaningful dimensions is min(I-1, J-1), where I and J are the numbers of rows and columns.
Can I apply CA to a table that contains zeros?
Individual zero cells do not break the standardized residuals, which remain defined when the row and column totals are positive. A row or column with a zero total has zero mass, so r_i*c_j becomes zero and the division in S_ij is undefined; such rows or columns must be removed. Sparse tables with many zero or very small cells produce unstable coordinates. A common remedy is to merge rare categories, or to add a small constant, which alters the chi-square structure and should be reported.
Related methods
Sources
Greenacre, M. J. (1984). Theory and Applications of Correspondence Analysis. Academic Press.
ISBN: 978-0-12-299050-2