Lexis Diagram

Statistics
Introduced by
Wilhelm Lexis
Year
1875
Type
Geometric bookkeeping device for demographic events on the age, period, and cohort axes
Family
Demographic accounting

What does it do?

The Lexis diagram is a geometric bookkeeping device that places demographic events on a grid of age against calendar time, so that each person's life appears as a diagonal line and each birth cohort as a band of parallel lifelines.

Named after the German statistician Wilhelm Lexis, who introduced the scheme in 1875, it makes the relationship between age, period, and birth cohort visible. It also shows which deaths, births, and person-years belong together when a rate is computed.

The intuition behind the method

Draw time running left to right and age running bottom to top, on axes of equal scale. A person sits at age zero on their birth date, and as the calendar advances they age at the same pace, so their life traces a line at 45 degrees. People born in the same year start from the same stretch of the time axis and move in parallel, forming a diagonal band: that band is their cohort. Because age increases by one year for each year that passes, horizontal and vertical distances are locked together; a vertical line is a moment in calendar time and a horizontal line is a fixed age. Dividing the grid into one-year squares and cutting each square by the cohort diagonals produces triangles, and counting events in the correct triangles keeps period and cohort accounting consistent.

History

Wilhelm Lexis, a German statistician, introduced the age-time coordinate scheme in 1875. Heat-map renderings of long mortality series use the same age-by-time grid.

When to use it

Choose a Lexis diagram when events and exposure must be classified by age, period, and birth cohort at the same time: constructing period or cohort life tables, computing age-specific mortality or fertility rates, or reconciling data tabulated by calendar year with data tabulated by birth cohort. It is also a standard way to organize and plot a mortality or fertility surface over a long run of years. Do not expect it to estimate effects. It is a bookkeeping and visualizing framework, not an estimator, and because c = t − x holds exactly, a model that includes age, period, and cohort together is not identified without further assumptions; the diagram displays that problem but does not solve it. If events and exposure cannot be dated by both date of occurrence and date of birth, the triangle-level accounting described here cannot be carried out.

Limitations and considerations

  • It is descriptive geometry, not an inferential method, so it cannot by itself estimate effects or test hypotheses.
  • Because age plus cohort equals period holds exactly, the diagram displays the age-period-cohort identification problem but cannot resolve it.
  • Tabulating by triangle requires events and exposure dated by both date of occurrence and date of birth, which many data sources do not provide at that resolution.
  • Heat-map renderings of dense Lexis surfaces depend on smoothing and color scaling, and poor choices can hide or exaggerate the diagonal cohort features the plot is meant to show.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Makes the exact identity c = t − x explicit, so events and exposure are aligned to the same people at the same ages and dates, which avoids mismatched numerators and denominators in occurrence-exposure rates.
  • Splitting each age-time square into a lower and an upper triangle lets deaths be regrouped into cohort parallelograms or period rectangles without counting any event twice.
  • Provides the coordinate scheme on which life tables and rate construction are built, so the same bookkeeping carries over from a single life table to a full mortality surface.
  • On a surface plot spanning many years, diagonal cohort bands become visible in a way that tables organized by calendar year alone do not show.

Applications

  • Constructing period and cohort life tables by correctly assigning deaths and exposure to squares, triangles, and parallelograms.
  • Building age-specific mortality and fertility rates with properly aligned occurrence and exposure terms.
  • Visualizing long mortality time series as age-by-year heat maps, where diagonal bands can point to birth-cohort patterns.
  • Reconciling demographic data tabulated by calendar year with data tabulated by birth cohort.
  • Teaching the age-period-cohort identity and motivating the identification problem in age-period-cohort modeling.

How it works

How it works

1

Each individual is represented by a lifeline drawn on axes of calendar time (horizontal) and age (vertical). Because a person ages exactly one year per calendar year, every lifeline is a straight segment at 45 degrees, beginning at age zero on the birth date and ending at the point of death or migration. A vertical line marks a fixed moment in time (a period), a horizontal line marks a fixed age, and the diagonals are the cohorts — this three-way geometry is the entire conceptual content of the diagram.

2

The diagram encodes the exact arithmetic linking the three demographic dimensions: birth cohort c equals calendar time t minus age x. Any two of {age, period, cohort} fix the third, which is why a single point on a lifeline simultaneously names an age, a date, and a cohort, and why the three cannot vary independently — the central identity behind all age-period-cohort analysis.

Formula
c = t - x
3

When the plane is divided into squares one year of age by one year of time, each square is split by the cohort diagonals into a lower and an upper triangle. Deaths in the lower triangle come from the younger cohort passing through that age-year; deaths in the upper triangle come from the older cohort. Tabulating events by triangle (rather than only by square) lets the analyst regroup them into clean cohort parallelograms or period rectangles without double counting, which is essential for constructing period and cohort life tables consistently.

Formula
D = D^{\triangle}_{\text{lower}} + D^{\triangle}_{\text{upper}}
4

Once events and exposure are sorted by the appropriate Lexis shape, an occurrence-exposure rate m(x,t) is formed as events D divided by person-years of exposure E within that shape. Exposure is accumulated along each lifeline: a person contributes only the length of their lifeline that lies inside the shape, so someone who crosses a boundary part-way through contributes partial-year exposure. Because a lifeline ends at death or migration, an individual who migrates out or is otherwise lost from observation contributes exposure only up to exit. The diagram guarantees that the numerator events and the denominator person-years refer to the same region of the age-time plane — the same people at the same ages over the same dates — which is precisely the alignment that makes a demographic rate valid.

Formula
m(x,t) = \frac{D(x,t)}{E(x,t)}

Common pitfalls

  • Pairing deaths counted by calendar year and age (a Lexis square) with exposure defined over a different shape, which produces rates with mismatched numerators and denominators.
  • Ignoring that a single age-time square contains two birth cohorts, one in each triangle, so a cohort rate built from whole squares mixes deaths from different cohorts.
  • Treating the diagram as if it could identify separate age, period, and cohort effects, ignoring the perfect collinearity c = t − x.
  • Mislabeling the diagonal direction (cohorts run upward to the right) so that period and cohort bands are swapped in tabulation or plots.

Frequently asked questions

Why are lifelines drawn at 45 degrees on a Lexis diagram?

Because a person ages exactly one year for every calendar year that passes, the rate of climb in age equals the rate of advance in time. With age and time on equally scaled axes, that one-to-one relationship forces every lifeline into a straight 45-degree diagonal, which is what makes cohorts appear as parallel diagonal bands.

What is the difference between a Lexis square, triangle, and parallelogram?

A square is one year of age by one year of calendar time and mixes two birth cohorts. The cohort diagonals split each square into a lower and an upper triangle, each belonging to a single cohort at that age-year. A parallelogram groups triangles along a cohort diagonal (constant cohort) for cohort accounting, whereas a vertical rectangle groups them by calendar period. Choosing the right shape ensures events and exposure refer to the same people.

Does the Lexis diagram solve the age-period-cohort problem?

No. It makes the relationship age + cohort = period visible and exact, but that very exactness is the source of the identification problem: the three dimensions are perfectly collinear, so a model including all three is not identified without extra constraints. The diagram is a bookkeeping and visualization tool, not a method for separating the three effects.

Related methods

Sources

  1. Preston, S. H., Heuveline, P., & Guillot, M. (2001). Demography: Measuring and Modeling Population Processes. Blackwell.

    ISBN: 9781557864512