Published January 20, 2026 | Version v1.0
Publication Open

IPUM_SWB: Analysis Code for Temporal Changes in Youth Subjective Well-Being in Nigeria (2016–2021)

Authors/Creators

  • 1. ROR icon Lagos University Teaching Hospital

Description

Temporal Changes in Youth Subjective Well-Being in Nigeria, 2016–2021.

Key contents:

  • R scripts for data cleaning, descriptive analysis, survey-weighted modelling, and robustness checks.
  • Cleaned dataset (4youth_happiness.rds) derived from IPUMS-harmonised MICS waves (Nigeria 2016 & 2021).
  • Processed outputs including tables, figures, and model summaries.

Highlights from the analysis:

  • Significant decline in affective happiness among Nigerian youth (mean score 4.5 → 4.1; p < 0.001).
  • Strengthening the negative association with state-level vulnerability (GVI) in 2021.
  • Low between-state variation (ICC ≈ 3.3%).

Reproduction instructions:
See the README.md for full setup (R ≥ 4.4.1, required packages) and script execution order.

Data sources: IPUMS MICS (register at https://mics.ipums.org/mics/). GDL (https://globaldatalab.org/)
License: MIT
Citation suggestion:
Kamaldeen Sunkanmi Abdulraheem (2026). Temporal Changes in Youth Subjective Well-Being in Nigeria, 2016–2021 [Code]. GitHub. https://github.com/olasuraheem/IPUM_SWB/releases/tag/v1.0

For questions or collaborations, open an issue or contact: olasuraheem@gmail.com

Files

IPUM_SWB-1.0.zip

Files (2.0 MB)

Name Size Download all
md5:4e3e7b0da095d5c6f0d1405392ebaa03
2.0 MB Preview Download

Additional details

Dates

Available
2026-01-20