This paper examines what makes some trade agreements more effective at promoting trade than others, and applies this question to the case of the African continent. To address it, we use a clustering algorithm to classify worldwide trade agreements into three categories and estimate their trade effects within a structural gravity framework. This allows us to rank PTA clusters according to their estimated trade effects as Shallow, Medium, and Deep.
We then use feature-attribution methods and counterfactual policy combinations to identify the provisions and policy configurations most strongly associated with Deep classification, and apply this approach to the African Continental Free Trade Agreement (AfCFTA). Although the AfCFTA, which entered into force in 2019, is intended to harmonize existing regional agreements into a single continent-wide framework, it is classified as Medium in our baseline. Our general-equilibrium counterfactual analysis shows that, if implemented as a Deep agreement, the AfCFTA would generate substantial additional trade gains, along with an average GDP gain of 0.7% for the African economies in our sample. The classification analysis further indicates that tighter disciplines on trade-defense instruments, stronger legal enforceability, and visa-related provisions are among the policy dimensions most closely associated with Deep agreements.
| Repository name | URI |
|---|---|
| Reproducible Research Repository (World Bank) | https://reproducibility.worldbank.org |
Paper exhibits were reproduced on two computers with the following specifications:
• OS: macOS
• Processor: Apple M4 Pro.
• Memory available: 24 GB
• Software version: Stata 19 MP, R 4.6.0, Python 3.14.6
Run-time: 9 hours.
To reproduce the findings of this study, a new user should:
FLMRS_replication.py.FLMRS_replication.py.FLMRS_replication.py.All data sources are publicly available, but not all are included in the reproducibility package.
| Author | Affiliation | |
|---|---|---|
| Jean-Christophe Maur | World Bank | jmaur@worldbank.org |
| Lionel Fontagne | Paris School of Economics | lionel.fontagne@psemail.eu |
| Anthonin Levelu | Joint Research Center (European Commission) | anthonin.levelu@ec.europa.eu |
| Nadia Rocha | Inter American Development Bank | nadiaro@iadb.org |
| Gianluca Santoni | Paris School of Economics | gianluca.santoni@psemail.eu |
2026-07-01
| Location | Code |
|---|---|
| Africa | AFR |
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.
| Name | URI |
|---|---|
| MIT License | https://opensource.org/license/mit |
| World Bank IGO Rider | https://github.com/worldbank/metadata-editor/blob/main/WB-IGO-RIDER.md |
| Name | Affiliation | |
|---|---|---|
| Jean-Christophe Maur | World Bank | jmaur@worldbank.org |
| Reproducibility WBG | World Bank | reproducibility@worldbank.org |
| Name | Abbreviation | Affiliation | Role |
|---|---|---|---|
| Reproducibility WBG | DECDI | World Bank - Development Impact Department | Verification and preparation of metadata |
2026-07-01
1