Hi ayisha,
pgisced11 is the highest level reached across school, vocational, and tertiary education. So the school-leaving certificate (pgpsbil) sets the level only for people with no further qualification. With a vocational qualification, the level rises:
pgpsbil |
Nothing after school |
Plus a vocational qualificationÂą |
| 1 Hauptschulabschluss |
2 |
3 |
| 2 Realschulabschluss |
2 |
3 |
| 3 Fachhochschulreife |
3 |
4 |
| 4 Abitur |
3 |
4 |
| 5 Other certificate, mostly foreign² |
1–3 |
3–4 |
| 6 Left school without certificate, 8 never attended |
1 |
3 |
| 7 Still in school |
0 |
– |
Âą Apprenticeship, Berufsfachschule, health-care school, civil-service training or another vocational degree (pgpbbil01 = 1, 2, 3, 5, 6, 7), or a vocational degree from abroad (pgpbbila).
² Set by pgpsbila: 3 „weiterführende Schule“ → 3; 2, 4, 5 → 2; otherwise 1. GDR certificates are already folded into pgpsbil (8th grade → 1, 10th grade → 2, EOS → 4).
Higher qualifications override the table:
- 5: Fachschule, Meister, Techniker (
pgpbbil01 = 4).
- 6: any higher-education degree (
pgpbbil02 = 1–5, 9, 10, or a college degree abroad in pgpbbila), and a GDR Meister or Fachschule degree (pgpbbilo = 2, 3).
- 7:
pgpbbil02 = 2, 3, 5, 8, 9 or 10, and a master-level type in pgdegree: Diplom (U), Magister, Staatsexamen, Master and most Lehramt degrees. Fachhochschule degrees (pgpbbil02 = 1) and degrees without a recorded type stay at 6.
- 8: doctorate (
pgpbbil02 = 6, 7).
One caveat for your comparison. Level 1 also includes people whose certificate is unknown (pgpsbil < 0) or who are still in school (pgpsbil = 7), if they report no vocational degree (pgpbbil03 = 1). They make up 37% of level 1 in 2010–2024. Treat them as missing or „in school“ if that matters for your analysis.
To see the table in your data:
tab pgpsbil pgisced11 if syear == 2024 & pgpbbil01 <= 0 & pgpbbil02 <= 0 & pgpbbila <= 1 & pgpbbilo <= 0
Full rule (reproduces pgisced11 exactly in v41, 2010–2024)
* Order matters: each line overwrites the previous ones
gen isced = -1
replace isced = 0 if pgpsbil == 7 | pgpsbilo == 6
replace isced = 1 if inlist(pgpsbil,5,6,8) | pgpsbila == 1 | inlist(pgpsbilo,4,5) | pgpbbil03 == 1
replace isced = 2 if inlist(pgpsbil,1,2) | inlist(pgpsbila,2,4,5) | inlist(pgpsbilo,1,2,4) | pgpbbil03 == 2
replace isced = 3 if inlist(pgpsbil,3,4) | pgpsbila == 3 | pgpsbilo == 3
replace isced = 3 if inlist(pgpbbil01,1,2,3,5,6,7) | inlist(pgpbbila,2,3,5,6,8,12,13,15,16)
replace isced = 4 if (inlist(pgpsbil,3,4) | pgpsbila == 3 | pgpsbilo == 3) & (inlist(pgpbbil01,1,2,3,5,6,7) | inlist(pgpbbila,2,3,5,6,8,12,13,15,16))
replace isced = 5 if pgpbbil01 == 4
replace isced = 6 if inlist(pgpbbil02,1,2,3,4,5,9,10) | inlist(pgpbbila,4,7,14,17) | inlist(pgpbbilo,2,3)
replace isced = 7 if inlist(pgpbbil02,2,3,5,8,9,10) & inlist(pgdegree,2,8,11,21,23,24,25,30,43,49,51,61,75,88,90)
replace isced = 8 if inlist(pgpbbil02,6,7) | inlist(pgpbbila,9,19)
assert isced == pgisced11 if syear >= 2010
Variable description: https://paneldata.org/soep-core/datasets/pgen/pgisced11