Skip to content

PISA 2022 country notes

Germany in PISA 2022

Germany's immigrant gap is not a tracking artefact The most common explanation for the gap between immigrant and native-born students in Germany is that immigrant children are sorted into the lower tracks. Holding both

Germany’s immigrant gap is not a tracking artefact

The most common explanation for the gap between immigrant and native-born students in Germany is that immigrant children are sorted into the lower tracks. Holding both socio-economic status and track constant leaves most of the gap standing.

Dr Milos Kankaras | ORCID 0000-0002-3190-7751 | Center for Psychology, Podgorica | PISA 2022 country notes, Western Europe | August 2026

Download the full note (PDF)

Summary

Germany’s PISA 2022 results were the lowest the country has recorded in all three subjects, and the debate that followed reached for two explanations within the week: socio-economic disadvantage, and early tracking. Both explanations are real, both are measurable in the public microdata, and neither accounts for most of the immigrant gap. This note takes the tracking explanation seriously enough to test it.

What the data shows.

  • First-generation immigrant students scored 96.6 points below native-born students (6.2). Adjustment for socio-economic status leaves 66.2 points, and adjustment for socio-economic status and school track together still leaves 53.9 points (5.4).
  • Of the 96.6-point raw gap, socio-economic composition accounts for roughly a third and track placement for roughly a further eighth, so more than half of it survives both adjustments.
  • Tracking is nonetheless the largest single structure in the German data: students in the basic general track scored 149.9 points below Gymnasium students (5.9), and 130.1 points below at a constant socio-economic level, which is roughly one and a half national standard deviations.
  • The socio-economic gradient in Germany is the steepest of the eight systems in this series, at 39.6 score points per unit of the index (1.5), against a published OECD figure of 19% of achievement variance accounted for.

The distinction matters because the two explanations imply different instruments. An immigrant gap produced mainly by track placement would be addressed at the transition decision at the end of primary school, which is where the German debate concentrates. A gap that survives adjustment for track is a matter of what happens to immigrant students inside the track they are already in, and language support is the obvious candidate, though it is one this note cannot test directly.

Why this is the question for Germany

Germany is the system in which the tracking hypothesis is most plausible and most often asserted. Children are sorted at about age ten into tracks with sharply different curricula and destinations, immigrant children are over-represented in the lower tracks, and the sorting occurs early enough that a language disadvantage at ten becomes a structural placement for the decade that follows. The argument is coherent, and coherence is exactly why it deserves a number instead of assent.

The number is obtainable because the German public file identifies the track, though not in either of the two places an analyst would look first. The ISCED programme code records every German 15-year-old as lower secondary general, and the stratum variable is suppressed in its entirety for Germany. Identification of the track comes instead from PROGN, the national study-programme code, whose published labels name the track structure directly (an analyst who checks only the two obvious variables concludes that Germany cannot be analysed by track at all). The decomposition below is the point of the note: the raw gap, then the gap net of socio-economic status, then the gap net of socio-economic status and track together.

The data, and how it was handled

6,116 students in 257 schools, representing a weighted population of 681,399 15-year-olds, from the OECD’s PISA 2022 student and school Public Use Files. National mean in mathematics: 474.8 points (SE 3.1), with a standard deviation of 94.7 points.

Two properties of these data defeat the naive analysis, and both are handled here. Achievement is imputed, not observed, so the estimation here proceeds by Rubin’s rules across all ten plausible values. The alternatives in common circulation – use of the first plausible value, or an average of the ten treated as a measurement – discard the between-imputation variance and produce an understatement of the standard error. The sample is clustered within schools, which is why the sampling variance here comes from the 80 Fay-adjusted balanced repeated replication weights supplied with the file (Fay factor 0.5), not from a simple-random-sample formula. Omit either correction and the reported uncertainty is too small, typically by a factor of two.

A method that produces plausible numbers is not the same as one that produces right numbers, so the machinery was first pointed at figures the OECD has already published for this country.

Published by the OECD Published This analysis SE
Advantaged minus disadvantaged, mathematics 111 111.61 4.74
Share of mathematics variance accounted for by ESCS 0.19 18.7% 0.013
Girls minus boys, reading 19 19.41 3.07

Source: OECD, PISA 2022 Results (Volume I and II) Country Note: Germany, published 5 December 2023, https://www.oecd.org/en/publications/pisa-2022-results-volume-i-and-ii-country-notes_ed6fbcc5-en/germany_1a2cf137-en.html (read 6 August 2026)

The immigrant gap, and what survives each adjustment

The cohort divides into 4,030 native-born students, 903 second-generation students and 474 first-generation students. The socio-economic difference between these groups is real but moderate; the achievement difference is neither.

Immigrant background Students Share Mean, mathematics SE Mean ESCS
Native 4,030 65.4% 495.0 3.0 0.05
Second generation 903 14.7% 457.2 4.3 -0.60
First generation 474 8.1% 398.4 5.9 -0.78
Mean mathematics score by immigrant background, with 95% confidence intervals.
Mean mathematics score by immigrant background, with 95% confidence intervals.

Socio-economic status takes a substantial share of both gaps, as it should in the OECD’s steepest gradient, and it does not take most of either.

Contrast Unadjusted SE Net of ESCS SE
Second generation minus Native -37.8 4.5 -14.0 4.1
First generation minus Native -96.6 6.2 -66.2 6.2

Addition of track to the adjustment is the test the tracking hypothesis itself proposes. For second-generation students the gap net of socio-economic status and track is 17.9 points (3.4); for first-generation students it is 53.9 points (5.4). Compare like with like – the same track, the same socio-economic level – and the gap is smaller than the headline and emphatically still present.

One reading deserves blocking before it starts. This is not evidence that tracking is harmless; it is evidence that tracking does not explain the immigrant gap. The two claims are different, and the second says nothing whatever about the first.

The track gap, for scale

Since the note has had to construct the track variable, the variable is worth reporting on its own account, because the differences it exposes are larger than anything else in the German data.

School track Students Share Mean, mathematics SE Mean ESCS
Academic track (Gymnasium) 2,270 36.5% 546.5 2.6 0.38
Comprehensive school 1,379 23.2% 435.3 4.8 -0.39
Intermediate general track 1,551 25.0% 455.5 3.5 -0.40
Basic general track 617 10.0% 396.7 5.2 -0.75
Mean mathematics score by school track, with 95% confidence intervals.
Mean mathematics score by school track, with 95% confidence intervals.
Contrast Unadjusted SE Net of ESCS SE
Comprehensive school minus Academic track (Gymnasium) -111.2 5.4 -94.6 5.7
Intermediate general track minus Academic track (Gymnasium) -91.0 4.4 -75.5 4.4
Basic general track minus Academic track (Gymnasium) -149.9 5.9 -130.1 7.4

Special-education, Waldorf and upper-secondary vocational programmes are left unclassified instead of being forced into one of the four tracks, which is why the shares do not sum to the full cohort.

The usual caution applies here with unusual force. Students are not randomly assigned to tracks, prior attainment is not measured, and the sorting took place five years before the assessment. The gap at 15 is real; the share of it created by the tracks, as against inherited by them, is not answerable from PISA data.

Can this comparison be trusted? A measurement audit

Everything above compares test scores, and test scores are placed on a common scale by construction, which is the guarantee that makes the comparison legitimate. That guarantee lapses the moment a report moves to the questionnaire indices, and the lapse is where national commentary on PISA most often goes wrong. An index of this kind – sense of belonging, teacher support, mathematics anxiety – is a scale score built from a handful of agree-or-disagree items, and comparing its mean across groups presumes both that the items carry the same meaning in every group and that they relate to the underlying construct in the same way. The presumption is testable. It is very rarely tested.

Germany’s post-PISA debate leans heavily on the questionnaire indices, and mathematics anxiety in particular is invoked to explain differences between tracks. If the anxiety items do not function in the same way for a Gymnasium student and a basic-track student, comparison of their anxiety means is a category error in the dress of a finding. The proposition is testable, so it is tested here.

Model Chi-square df CFI RMSEA SRMR Decision
Configural 947.50 36 0.881 0.230 0.056 reference
Metric 1092.02 51 0.879 0.195 0.059 supported
Scalar 1224.17 66 0.874 0.174 0.062 supported
Strict 1244.53 84 0.872 0.156 0.062 supported

Measurement invariance of the mathematics anxiety block across school track. N = 4,607. Estimator MLR. Decision rule after Chen (2007).

Verdict. Strict invariance held; loadings, intercepts, and residual variances are equivalent across groups, supporting comparison of observed means and (co)variances. Because a continuous estimator on four-category items can in principle distort this verdict, the cascade was refitted with a categorical estimator on pairwise-present data. It reached strict invariance, the same verdict, so the conclusion does not depend on the estimator.

With the verdict established, the comparison can be read. Anxiety is lowest in the Gymnasium and higher in every other track, and the ordering follows attainment closely enough to raise the question of direction, which cross-sectional data cannot settle in either direction.

What follows

Three statements are supported by the analysis above, and each is narrow enough to defend.

  • The immigrant gap is not mainly a tracking artefact: roughly a third of it is socio-economic composition, roughly an eighth is track placement, and more than half is neither.
  • The track gap is the largest structure in German 15-year-old attainment, at 130.1 points between the basic general track and the Gymnasium net of socio-economic status, and it applies to a cohort sorted at about age ten.
  • Germany’s socio-economic gradient is the steepest in this eight-country series, and a reduction of that gradient to the OECD average would move more points than any other single change visible in these data.

The analysis this points to next is the within-track immigrant gap by language background and by years since arrival, which the public file supports and which would separate a language effect from a longer-run integration effect. That is a deep-dive, not a note.

What this note does not claim

  • No trend statement is made here. A comparison between 2022 and an earlier cycle requires the published link error for that particular pair of cycles to be carried in the variance alongside the sampling and imputation components, and without that third term a change that sits inside the margin of error is routinely reported as a rise or a fall. No such comparison is attempted here.
  • No causal claim is made either. Every difference reported here is an association measured at a single point in time, without random assignment and without any control for prior attainment, and the phrase “net of ESCS” means precisely one thing: that one measured index has been held constant, not that other things are equal.
  • A statement about the measurement model, not a design-based test. The invariance cascade is fitted without the replicate-weight design (standard practice in this literature), and the limitation is stated here so that no reader has to discover it.
  • Track is reconstructed from the national study-programme code and is not reported directly. The published labels are unambiguous about the academic, comprehensive, intermediate and basic distinctions, but any grouping of programme codes is an interpretation, and a different grouping would move the numbers somewhat.
  • Germany’s regional structure is invisible here, because the public file suppresses the stratum variable for Germany, so no analysis at the level of the Land is possible from this source and none is attempted.

Method and reproducibility

Data: OECD PISA 2022 Public Use Files, student and school questionnaire files in SPSS format, downloaded from webfs.oecd.org on 6 August 2026 (both files dated 28 May 2024 at source).

Estimation: point estimates are pooled across ten plausible values by Rubin’s rules; the sampling variance is obtained from 80 Fay-adjusted balanced repeated replication weights (Fay factor 0.5), computed separately for each plausible value and then averaged; the imputation variance is the between-plausible-value spread inflated by (1 + 1/M); and the reported standard error is the square root of their sum. Missing data are handled casewise within each statistic, so the valid N differs from one estimate to another. Adjusted gaps come from weighted least squares carried through the same machinery, which is why their standard errors carry both error components (not the sampling component alone).

Invariance: staged configural, metric, scalar and strict cascade in lavaan, maximum likelihood with robust standard errors and full-information estimation for the rotated questionnaire design, judged against the thresholds of Chen (2007), with a sensitivity re-run using diagonally weighted least squares on ordered items and pairwise-present data.

Verification: the analysis code carries golden tests whose expected answers come from theory and not from a previous run, including a Hadamard replicate design in which the Fay-adjusted replicate variance of a weighted total must equal the analytic paired-selection variance exactly.

Subgroups are derived from variables coded identically in every participating system. That coding is what allowed production of this note without any country-specific recoding, and it is what puts the same analysis within reach of any participating country at a fixed price. Where a country’s own sampling strata carry a structure of greater policy relevance than the standard coding – and in several systems they do – that structure is used instead, and the note says so at the point where it matters.

Enquiries about reproducing this analysis, or about commissioning the equivalent for another country, are welcome at milos@centerforpsychology.me.

All country notes in this series

About

Dr Milos Kankaras is a psychometrician and policy analyst with more than twenty years of international large-scale assessment work, including with the OECD, UNESCO and Eurofound. His published specialism is measurement equivalence and cross-cultural comparability. He holds a PhD in social sciences from Tilburg University.

This note is one of a series of country notes produced from the same analysis code. Published by the Center for Psychology, Podgorica. Commissioning enquiries go to milos@centerforpsychology.me.

Dr Milos Kankaras | milos@centerforpsychology.me | miloskankaras.com | centerforpsychology.me | ORCID | LinkedIn