Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / PRWP / RR_WLD_2026_550
PRWP

Reproducibility Package for Why Do Some Countries Build Safer? Economic Constraints, Disaster Learning, And The Two-Stage Housing Quality Ladder

2026
Get Reproducibility Package
Reference ID
RR_WLD_2026_550
Author(s)
Yasuhiro Kawasoe
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Feb 12, 2026
Last modified
Feb 18, 2026
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Overview

    Abstract

    Why do some countries have more disaster-resilient housing than others, even at similar income levels? This paper addresses this question using a novel dataset on housing robustness for 150 countries and proposes a "two-stage housing quality ladder" framework. The analysis reveals that the constraints on housing improvement fundamentally differ across development stages. In the first stage—eliminating fragile housing—household poverty is the binding constraint, showing strong negative associations with housing quality and non-linear effects that diminish at extreme poverty levels. Progress depends primarily on poverty alleviation and basic governance capacity. In the second stage—achieving robust, engineered construction—household poverty becomes statistically insignificant. Instead, national income, construction-sector institutions (building codes, permit systems, inspections), and overall institutional quality emerge as the critical determinants. The paper further demonstrates that countries learn from disaster experience, but this learning is hazard-specific and mediated by governance quality. Earthquake experience consistently drives improvements in housing resilience, particularly in well-governed countries, while storm and flood experiences show weaker direct effects but significant interactions with poverty levels. These findings carry important policy implications: disaster risk reduction investments should emphasize poverty alleviation and basic governance in low-income countries eliminating fragile housing, while middle- and high-income countries should prioritize construction-sector regulatory capacity and code enforcement systems to achieve robust engineering standards. Earthquake-prone countries benefit particularly from institutional strengthening that enables sustained learning from repeated seismic events.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/catalog/473/download/1349/README.pdf
    Reproducibility package for Why Do Some Countries Build Safer? Economic Constraints, Disaster Learning, And The Two-Stage Housing Quality Ladder
    File name
    RR_WLD_2026_550
    Zip package
    RR_WLD_2026_550.zip
    Title
    Reproducibility package for Why Do Some Countries Build Safer? Economic Constraints, Disaster Learning, And The Two-Stage Housing Quality Ladder
    Date
    2026-02
    Dependencies
    Python dependencies are listed in the "environment.yml" file.
    Instructions
    See README in reproducibility package.
    Notes
    Computational reproducibility verified by Development Impact (DECDI) Analytics team, World Bank.
    Source code repository
    Repository name URI
    Reproducible Research Repository (World Bank) https://reproducibility.worldbank.org
    Software
    Python
    Name
    Python
    Version
    3.12.12

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    • OS: Windows 11 Enterprise, version 25H2
    • Processor: Intel(R) Core(TM) Ultra 7 165U (2.10 GHz)
    • Memory available: 31.5 GB

    Technology requirements

    Runtime: 20 minutes.

    Reproduction instructions

    1. Access the data: one dataset required to run the reproducibility package is accessible but not included in the reproducibility package. Users need to gain access to the data before being able to run the entire code. See the section Datasets for more information.
    2. Reproduce the programming environment or install all dependencies: Replicate and activate the conda environment in the file "environment.yml" included in the reproducibility package, or manually install the dependencies listed at the beginning of each notebook.
    3. Run the code: Run the six notebooks in the "notebooks" folder following the semantic order of the file names.

    Data

    Datasets
    World Development Indicators
    Name
    World Development Indicators
    Note
    Source: World Bank. Data was accessed via the Python package "wbgapi". Indicators accessed: GDP, PPP (constant 2021 international $); GDP per capita, PPP (constant 2021 international $); total population; percentage or urban population; Survey mean consumption or income per capita, total population (2021 PPP $ per day); Poverty headcount ratio at $8.30 a day (2021 PPP) (% of population); Poverty headcount ratio at national poverty lines (% of population); Poverty headcount ratio at $4.20 a day (2021 PPP) (% of population); Poverty headcount ratio at $3.00 a day (2021 PPP) (% of population); Gini index; Population living in slums (% of urban population); Poverty gap at $3.00 a day (2021 PPP) (%); Poverty gap at $4.20 a day (2021 PPP) (%); Poverty gap at $8.30 a day (2021 PPP) (%); Land area (sq. km); Average precipitation in depth (mm per year). Files location: data is accessed directly through the code. A copy of the data used for the paper results is saved in "data_processed/raw_wb_api_backup.csv". Data was accessed in January 2026.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    CC-BY 4.0 with additional terms specified in the license URL
    License URL
    https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
    Data URL
    https://databank.worldbank.org/source/world-development-indicators
    Citation
    World Bank. 2025. "World Development Indicators" [dataset]. Indicators accessed: GDP, PPP (constant 2021 international $); GDP per capita, PPP (constant 2021 international $); total population; percentage or urban population; Survey mean consumption or income per capita, total population (2021 PPP $ per day); Poverty headcount ratio at $8.30 a day (2021 PPP) (% of population); Poverty headcount ratio at national poverty lines (% of population); Poverty headcount ratio at $4.20 a day (2021 PPP) (% of population); Poverty headcount ratio at $3.00 a day (2021 PPP) (% of population); Gini index; Population living in slums (% of urban population); Poverty gap at $3.00 a day (2021 PPP) (%); Poverty gap at $4.20 a day (2021 PPP) (%); Poverty gap at $8.30 a day (2021 PPP) (%); Land area (sq. km); Average precipitation in depth (mm per year). Accessed using the Python package wbgapi. https://databank.worldbank.org/source/world-development-indicators. Accessed July 2025.
    Worldwide Governance Indicators
    Name
    Worldwide Governance Indicators
    Note
    Source: World Bank. Data file: "data_raw/WB/wgidataset.xlsx". Data was accessed on October 31, 2025.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    CC-BY 4.0 with additional terms specified in the license URL
    License URL
    https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
    Data URL
    https://www.worldbank.org/en/publication/worldwide-governance-indicators
    Citation
    World Bank. 2025. "Worldwide Governance Indicators" [dataset]. 2025 revision. https://www.worldbank.org/en/publication/worldwide-governance-indicators. Accessed October 31, 2025.
    Doing Business Data - Dealing with Construction Permits
    Name
    Doing Business Data - Dealing with Construction Permits
    Note
    Source: World Bank. Data file: "data_raw/WB/Dealing with Construction Permits.xlsx". Data was accessed on November 5, 2025.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    CC-BY 4.0 with additional terms specified in the license URL
    License URL
    https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
    Data URL
    https://archive.doingbusiness.org/en/data/exploretopics/dealing-with-construction-permits
    Citation
    World Bank. n.d. "Doing Business Data - Dealing with Construction Permits" [dataset]. https://archive.doingbusiness.org/en/data/exploretopics/dealing-with-construction-permits. Accessed November 5, 2025.
    World Bank Country and Lending Groups
    Name
    World Bank Country and Lending Groups
    Note
    Source: World Bank. Data file: "data_raw/WB/CLASS.xlsx". Data was accessed on October 23, 2025.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    CC-BY 4.0 with additional terms specified in the license URL
    License URL
    https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
    Data URL
    https://databankfiles.worldbank.org/public/ddpext_download/site-content/CLASS.xlsx
    Citation
    World Bank. 2025. "World Bank Country and Lending Groups" [dataset]. https://databankfiles.worldbank.org/public/ddpext_download/site-content/CLASS.xlsx. Accessed October 23, 2025.
    Supplementary materials for Global Model for Socio-economic Resilience to Natural Disasters
    Name
    Supplementary materials for Global Model for Socio-economic Resilience to Natural Disasters
    Note
    Source: Middelanis, R., Jafino, B. A., Hill, R., Nguyen, M. C., Hallegatte, S. The dataset is part of the supplementary materials for "Global Socio-economic Resilience to Natural Disasters", from Middelanis et al. (2025). Data files: "data_raw/GEM/building_class_to_vulenrability_mapping.csv", "data_raw/GEM/country_vulnerability_classes.csv", "data_raw/GEM/gem_taxonomy_fields.json", "data_raw/GEM/gem-to-vulnerability_mapping_per_hazard.xlsx", "data_raw/GEM/hazus-gem_mapping.csv".
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    MIT
    License URL
    https://github.com/rmiddelanis/global-unbreakable-model/tree/main?tab=MIT-1-ov-file#readme
    Data URL
    https://github.com/rmiddelanis/global-unbreakable-model/tree/main/data/raw/GEM_vulnerability
    Citation
    Middelanis, R., Jafino, B. A., Hill, R., Nguyen, M. C., Hallegatte, S. 2025. "Supplementary materials for Global Model for Socio-economic Resilience to Natural Disasters" [dataset]. https://github.com/rmiddelanis/global-unbreakable-model/tree/main/data/raw/GEM_vulnerability. Accessed October 23, 2025.
    Global Multidimensional Poverty Index 2025
    Name
    Global Multidimensional Poverty Index 2025
    Note
    Source: Oxford Poverty & Human Development Initiative, United Nations Development Programme. Data was downloaded from the data URL, link "Table 1 National Results MPI 2025". Some rows and columns with titles and notes were manually deleted and the result was saved into "MPI_national.xlsx". Data file: "data_raw/MPI/MPI_national.xlsx". Data was accessed on October 29, 2025.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    CC-BY 4.0
    License URL
    https://creativecommons.org/licenses/by/4.0/deed.en
    Data URL
    https://ophi.org.uk/global-mpi/2025
    Citation
    Oxford Poverty & Human Development Initiative, United Nations Development Programme. 2025. "Global Multidimensional Poverty Index 2025" [dataset]. https://ophi.org.uk/global-mpi/2025. Accessed October 29, 2025.
    EM-DAT hazard data
    Name
    EM-DAT hazard data
    Note
    Source: Université catholique de Louvain - Centre for Research on the Epidemiology of Disasters (CRED). Data was accessed via a custom query by selecting the years 1900-2023, and the events with classification "Wildfire", "Earthquake", "Volcanic activity", "Flood", and "Storm" for all countries. Data file: "data_raw/EM-DAT/public_emdat_custom_request_2025-11-07_f6f2cabe-ff99-4bc3-ba01-ab018fae62ec.xlsx" Data was accessed on November 07, 2025. It is possible that the dataset has been updated after it was accessed and a new query could not return the same results.
    Access policy
    Data is publicly available but does not allow redistribution and it is not included in the reproducibility package.
    License URL
    https://doc.emdat.be/docs/legal/terms-of-use/
    Data URL
    https://public.emdat.be/
    Citation
    Université Catholique de Louvain - Centre for Research on the Epidemiology of Disasters (CRED). 2025. "Emergency Events Database (EM-DAT)" [dataset]. https://public.emdat.be/. Accessed November 07, 2025.
    Data statement

    All data sources are publicly available but not all are included in the reproducibility package.

    Description

    Output
    Why Do Some Countries Build Safer? Economic Constraints, Disaster Learning, And The Two-Stage Housing Quality Ladder
    Type
    Working Paper
    Title
    Why Do Some Countries Build Safer? Economic Constraints, Disaster Learning, And The Two-Stage Housing Quality Ladder
    Description
    Policy Research Working Papers (PRWP)
    Authors
    Author Affiliation Email
    Yasuhiro Kawasoe World Bank ykawasoe@worldbank.org
    Date of production

    2026-02-10

    Scope and coverage

    Geographic locations
    Location Code
    World WLD
    Keywords
    Housing Resilience Disaster Risk Management Building Codes Poverty Economic Development Institutional Quality Disaster Learning
    Topics
    ID Topic Parent topic ID Vocabulary Vocabulary URI
    O18 Urban, Rural, Regional, and Transportation Analysis • Housing • Infrastructure O1 Journal of Economic Literature (JEL)
    Q54 Climate • Natural Disasters and Their Management • Global Warming Q5 Journal of Economic Literature (JEL)
    R31 Housing Supply and Markets R3 Journal of Economic Literature (JEL)
    I32 Measurement and Analysis of Poverty I3 Journal of Economic Literature (JEL)
    H84 Disaster Aid H8 Journal of Economic Literature (JEL)

    Disclaimer

    Disclaimer

    The materials in the reproducibility packages are distributed as they were prepared by the staff of the International Bank for Reconstruction and Development/The World Bank. The findings, interpretations, and conclusions expressed in this event do not necessarily reflect the views of the World Bank, the Executive Directors of the World Bank, or the governments they represent. The World Bank does not guarantee the accuracy of the materials included in the reproducibility package.

    Access and rights

    License
    Name URI
    Modified BSD3 https://opensource.org/license/bsd-3-clause/

    Contacts

    Contacts
    Name Affiliation Email
    Yasuhiro Kawasoe World Bank ykawasoe@worldbank.org
    Reproducibility WBG World Bank reproducibility@worldbank.org

    Information on metadata

    Producers
    Name Abbreviation Affiliation Role
    Reproducibility WBG DECDI World Bank - Development Impact Department Verification and preparation of metadata
    Date of Production

    2026-02-10

    Document version

    1

    Back to Catalog
    The World Bank Working for a World Free of Poverty
    • IBRD IDA IFC MIGA ICSID

    © The World Bank Group, All Rights Reserved.