This replication package contains all data, code, documentation, and supplementary material necessary to reproduce the empirical results, figures, and tables presented in the paper:
"Institutional Change, Political Feasibility, and Reform Sustainability: A Dynamic Framework"
---
PACKAGE CONTENTS
1. DATA: - master_panel_normalized_final.csv: Quarterly panel dataset (1990Q1-2023Q4) for Denmark, Tunisia, Egypt, and Nigeria - Variables: Governance Capacity, GDP Growth, Trust Index, Reform Support, Erosion, Resistance, Coalition Size, Elite Consultation, Trade Union Density, Unemployment Rate, Inflation Rate
2. CODE (Python 3.9+): - 01_data_preparation.py: Loads and prepares the panel dataset - 02_model_estimation.py: Estimates Tables 1 (Threshold Regression) and 2 (Regime-Switching Interaction Model) - 03_simulation.py: Generates Table 6.4 (Reform Sustainability) - 04_figures_main.py: Generates Figures 1-8 - 05_figures_supplementary.py: Generates Supplementary Figures SM-E.1 to SM-E.4 - utils/config.py: Shared configuration - utils/helpers.py: Shared utility functions
3. OUTPUTS: - outputs_Figures/main/: Figures 1-8 (PNG) - outputs_Figures/supplementary/: Figures SM-E.1 to SM-E.4 - Tables 1, 2, and 6.4 (CSV format)
4. SUPPLEMENTARY MATERIAL: - ONLINE_SUPPLEMENTARY_MATERIAL.pdf: Full micro-foundations, formal propositions, proofs, bidirectional feedback analysis, and robustness checks (Sections SM-A to SM-G)
5. DOCUMENTATION: - README.md: Complete instructions with crosswalk - LICENSE.txt: MIT License - requirements.txt: Python package dependencies - environment.yml: Conda environment specification
---
KEY RESULTS REPLICATED
- Threshold (γ*) = 0.451 (Hansen F-statistic = 44.23, p < 0.001)- Low-capacity regime (N = 313): D_Gov_Lag1 = 0.0865**, D_GDP_Growth = 0.0459*, D_Erosion = 0.0482*, D_Resistance = 0.0388*- High-capacity regime (N = 219): D_Erosion = -0.1183***- Regime-switching interaction model: R² = 0.789, LR = 44.23***
---
SOFTWARE REQUIREMENTS
- Python 3.9+- Packages: numpy (≥1.24.0), pandas (≥2.0.0), scipy (≥1.10.0), statsmodels (≥0.14.0), matplotlib (≥3.7.0), seaborn (≥0.12.0)
---
INSTRUCTIONS
1. Install dependencies: pip install -r requirements.txt2. Run scripts in numerical order from the Scripts/ folder
Detailed instructions, crosswalk, and expected outputs are provided in the README.md file.
---
LICENSE
MIT License. See LICENSE.txt for details.