In Morocco the standard international language indicator points the wrong way
The OECD indicator for students who speak a language other than the test language at home identifies a disadvantaged minority almost everywhere. In Morocco it identifies 88% of the cohort, and they score 42 points above the minority it is supposed to protect.
Summary
International indicators are built to travel, and most of them do. The indicator for a home language different from the language of assessment is one that does not, and Morocco is where the failure shows most plainly. In a European system the indicator picks out a migrant minority studying in the majority language, and a deficit of twenty or thirty points is the expected result. The Moroccan assessment language is Modern Standard Arabic: the language of schooling, of administration and of formal writing, and nobody’s first language at home. Moroccan Arabic and Amazigh are, and the consequence is an indicator that reverses in Morocco.
What the data shows.
- 87.9% of Moroccan 15-year-olds report a home language other than the language of assessment, so the indicator identifies the overwhelming majority of the cohort (not a minority within it).
- That majority scored 42.3 points ABOVE the 11.9% reporting the test language at home (3.6), and adjustment for socio-economic status leaves the advantage almost untouched at 39.5 points.
- The divide that does carry policy weight is grade position: 49.5% of Moroccan 15-year-olds had not yet reached upper secondary education, and they scored 70.5 points below those who had (4.2), a deficit of 65.5 points once socio-economic status is held constant.
- The socio-economic gradient is unusually flat at 13.5 points per unit of the index (2.2), against a published OECD figure of 8% of achievement variance accounted for, and a distribution compressed near the floor of the international scale leaves that index little room to discriminate.
The practical warning generalises well beyond Morocco. An indicator constructed for validity on average across eighty education systems can hold in most of them, weaken in some and invert in one – and the obligation on anyone quoting a cross-national indicator about their own country is to establish first what it measures there.
Why this is the question for Morocco
Morocco’s language-of-instruction policy has been contested for a decade, through the 2016 shift towards French for the scientific subjects and the continuing formalisation of Amazigh. Anyone arguing that case from PISA data will reach for the home-language indicator. The number they find appears to say the opposite of what every Moroccan classroom demonstrates. The explanation is definitional, and it is not a fault in the data. Students who report the test language at home are those who name Modern Standard Arabic as the language of their household. That is an unusual thing for a Moroccan family to report. The group reporting it is small and, on these data, distinctive both socio-economically and academically – in ways that have nothing to do with a language advantage.
The correct conclusion is not that language is unimportant in Morocco, and nothing here should be read that way. It is that this particular variable, the home-language indicator, does not measure it. No variable in the public file separates Moroccan Arabic, Amazigh and Modern Standard Arabic in a way that maps onto the policy question. A note proceeding as though one did would be manufacturing evidence, not reporting it.
The data, and how it was handled
6,867 students in 178 schools, representing a weighted population of 454,986 15-year-olds, from the OECD’s PISA 2022 student and school Public Use Files. National mean in mathematics: 364.8 points (SE 3.4), with a standard deviation of 62.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 | 43 | 43.22 | 7.15 |
| Share of mathematics variance accounted for by ESCS | 0.08 | 8.5% | 0.026 |
Source: OECD, PISA 2022 Results (Volume I and II) Country Note: Morocco, published 5 December 2023, https://www.oecd.org/en/publications/pisa-2022-results-volume-i-and-ii-country-notes_ed6fbcc5-en/morocco_10dfcb74-en.html (read 6 August 2026)
The indicator, and why it inverts
The full breakdown, with the socio-economic profile of each group set alongside its performance so that the obvious explanation can be tested rather than assumed.
| Language spoken at home | Students | Share | Mean, mathematics | SE | Mean ESCS |
|---|---|---|---|---|---|
| Test language at home | 833 | 11.9% | 327.5 | 2.9 | -1.98 |
| Another language at home | 6,024 | 87.9% | 369.8 | 3.4 | -1.76 |

The direction of the gap is itself the finding. Adjustment for socio-economic status neither reverses it nor shrinks it, and the group flagged by the international indicator as "linguistically disadvantaged" outperforms its reference group by a wide margin at a comparable socio-economic level.
| Contrast | Unadjusted | SE | Net of ESCS | SE |
|---|---|---|---|---|
| Another language at home minus Test language at home | 42.3 | 3.6 | 39.5 | 3.1 |
The honest interpretation is that in Morocco this variable sorts families by how they describe their own language (not by whether their children face a language barrier at school). Essentially the entire cohort is taught in a language other than the one spoken at home, so that barrier is close to universal, and a universal barrier is invisible to any comparison drawn between Moroccan students. Its magnitude cannot be established from these data at all. A finding of this kind appears only when someone runs the analysis on the microdata and reads the sign of the coefficient before its significance.
The gap that does matter: where a 15-year-old sits in the system
Half of Morocco’s 15-year-olds had not reached upper secondary education by the time of the assessment. In a system with substantial grade repetition the grade attained by 15 is itself an outcome of prior schooling (not a background characteristic). It separates the cohort more sharply than anything else measured here.
| Programme orientation | Students | Share | Mean, mathematics | SE | Mean ESCS |
|---|---|---|---|---|---|
| Primary or lower secondary | 3,463 | 49.5% | 329.1 | 1.7 | -2.12 |
| Upper secondary general | 3,404 | 50.5% | 399.6 | 3.7 | -1.46 |

| Contrast | Unadjusted | SE | Net of ESCS | SE |
|---|---|---|---|---|
| Primary or lower secondary minus Upper secondary general | -70.5 | 4.2 | -65.5 | 3.5 |
Adjustment for socio-economic status leaves 65.5 points, so the divide is not poverty under another name. Holding school location constant in addition leaves the rural deficit at 5.7 points. Most of Morocco’s apparent rural disadvantage is therefore carried through grade position and not around it. The reframing carries a policy consequence, because a rural school effect and a rural retention effect call for different instruments, and these data point at the second of the two.
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.
Given that the lead finding concerns an indicator behaving unexpectedly, establishing whether the questionnaire construct behaves consistently across the same two groups is not an optional refinement, and it is where the note is most exposed. If the belonging items also function differently for the two language groups, the comparison becomes uninterpretable rather than merely surprising.
| Model | Chi-square | df | CFI | RMSEA | SRMR | Decision |
|---|---|---|---|---|---|---|
| Configural | 1139.53 | 18 | 0.701 | 0.180 | 0.095 | reference |
| Metric | 1144.49 | 23 | 0.681 | 0.165 | 0.101 | rejected |
| Partial-metric | 1102.54 | 21 | 0.692 | 0.169 | 0.100 | partial |
| Scalar | 1197.45 | 28 | 0.675 | 0.150 | 0.103 | rejected |
Measurement invariance of the sense of belonging at school block across language spoken at home. N = 6,517. Estimator MLR. Decision rule after Chen (2007).
Verdict. Only partial metric invariance was reached (freed BEL=~ST034Q03TA, BEL=~ST034Q02TA); cross-group comparison of latent relationships is limited. 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 metric invariance, which differs from the continuous run and is reported here rather than set aside.
The cascade halts at partial metric invariance. Equal factor loadings could not be sustained across the two language groups without freeing parameters, and equal intercepts were never reached, which in plain terms means that the belonging items do not carry the same meaning for the two groups and that their means are not on a common scale.
That is a finding, not a failure, and it doubles the central point of the note: the grouping variable does not mean in Morocco what its international label says, and the questionnaire construct does not behave the same way across the groups that variable defines. Anyone who has quoted a Moroccan belonging or wellbeing figure broken down by home language has quoted a number that the measurement does not support. Absolute fit is poor in both groups as well, with a configural CFI near 0.70, so the six-item belonging block is not a clean single factor in Morocco either – a separate problem (and one that compounds the first).
What follows
Three statements are supported by the analysis above, and each is narrow enough to defend under questioning.
- The OECD home-language indicator should not be used to describe language disadvantage in Morocco. It identifies 87.9% of students and points in the opposite direction to the policy concern for which it is normally invoked.
- Grade position at 15 is the largest measured divide in Moroccan schooling, at 65.5 points net of socio-economic status, and it absorbs most of the apparent rural gap.
- The flat socio-economic gradient should be read with care, because a flat gradient in a low-performing distribution can reflect a floor effect rather than an equitable system.
The analysis Morocco actually needs on language is not available from PISA, because it requires an instrument that distinguishes Moroccan Arabic, the Amazigh varieties, Modern Standard Arabic and French separately as languages of the home, of instruction and of assessment, which is a design question for a national study. Establishing what the existing data cannot answer, before someone answers it anyway, is precisely what a comparability audit is for.
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.
- No variable in the public file distinguishes Moroccan Arabic from Modern Standard Arabic in a way that supports the policy question, and the note reports what the available indicator does (it is not a substitute for a measure of language disadvantage).
- Grade position at 15 is an outcome of prior schooling and not a treatment, so the gap between grade groups partly reflects the selection that produced them.
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