Home Statistical Dictionary Generalized Inverse

Generalized Inverse

A matrix that satisfies a weaker version of the inverse-defining equation and exists even for singular or non-square matrices -- the tool that lets least squares still produce a solution when a design matrix is rank-deficient, as in an over-parameterized ANOVA model.

Linear Algebra for StatisticsAdvancedFree

In Plain English

A generalized inverse steps in exactly when an ordinary matrix inverse doesn't exist, for matrices that are singular or aren't even square, and still lets you write down a usable, if not unique, 'undo' operation. This matters in practice whenever a regression or ANOVA model is set up with more parameters than the data can actually distinguish (like a factor coded with dummy variables for every level, including a redundant reference category), statistical software falls back on a generalized inverse to produce some valid, if not the only possible, solution.

Definition

A generalized inverse of a matrix (not necessarily square or invertible) is any matrix satisfying the weaker condition (rather than the full inverse's ), and unlike the ordinary inverse, a generalized inverse always exists for any matrix, though in general it is not unique unless additional conditions (as in the Moore-Penrose pseudoinverse) are imposed. Generalized inverses are used throughout statistics whenever a design matrix is rank-deficient, most commonly in ANOVA models parameterized with a full set of dummy variables for every level of a categorical factor (over-parameterized, since one level's effect is redundant given the others and the intercept), where a generalized inverse of the singular still yields a valid (if not uniquely interpretable on its own) least squares solution.

Formula

Notation

—a generalized inverse of A

Properties

  • A generalized inverse always exists, regardless of whether the matrix is square, singular, or rectangular -- this universal existence is exactly what makes it useful as a fallback whenever the stricter true inverse fails to exist, without which a rank-deficient model's equations would simply have no solvable form at all.
  • A generalized inverse is generally not unique, many different matrices can satisfy for the same -- this non-uniqueness is exactly why an over-parameterized ANOVA model's individual dummy-variable coefficients can differ across software packages or coding schemes even when the model's overall fitted values and predictions agree.
  • When a matrix does happen to be invertible, its generalized inverse and ordinary inverse coincide, , so a generalized inverse can be understood as a strict extension of the ordinary inverse concept to a broader class of matrices, not a wholly separate one.

At a Glance

Defining propertyA A^- A = A, a weaker condition than the true inverse
Exists forany matrix, including singular and non-square matrices
Uniquenessnot unique in general -- the Moore-Penrose pseudoinverse adds conditions for uniqueness
Common statistical useover-parameterized ANOVA/regression design matrices
Last updated September 8, 2026← Back to the Dictionary