Replication package for: Schooled but not learning: inequality of opportunity in foundational reading and numeracy among children in Bangladesh

Published: 29 October 2026| Version 1 | DOI: 10.17632/d6y4xpczp9.1
Contributors:
,

Description

R code, result tables and figures that reproduce every number, table and figure in the article "Schooled but not learning: inequality of opportunity in foundational reading and numeracy among children in Bangladesh, evidence from the 2025 Multiple Indicator Cluster Survey" and its supplementary Tables S1–S12. The analysis uses the 2025 Bangladesh Multiple Indicator Cluster Survey (MICS7) for 20,050 children aged 7–14 who completed a home-based assessment of foundational reading and numeracy. It estimates the Human Opportunity Index, decomposes the dissimilarity index with exact Shapley values and a permutation noise floor, compares cross-fitted logit, elastic-net and random-forest estimators, and fits three-level multilevel models and Karlson–Holm–Breen and Gelbach mediation decompositions. The MICS microdata are not included because UNICEF's terms of use do not allow redistribution; registered users can obtain them from https://mics.unicef.org. All files in output/ are aggregate results and contain no individual records.

Files

Steps to reproduce

1. Register as a MICS data user at https://mics.unicef.org and download the Bangladesh 2025 (MICS7) SPSS files fs.sav and hl.sav. 2. Place them in data/. 3. Install R 4.3.3 and the packages listed in README.md. 4. From the package root run: Rscript Reproducible_R_script_Schooled_Not_Learning_MICS7.R (about one hour on two cores, about two hours on Windows). Results are written to output/. 5. Without the microdata, the figures can be rebuilt from the shipped tables with: OUT_DIR=output Rscript code/07_figures.R. docs/Output_file_guide.csv maps every output file to the table or figure it supports.

Institutions

Categories

Education, Bangladesh

Licence