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

Reproducibility package for Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi

2026
Get Reproducibility Package
Reference ID
RR_MWI_2026_791
Author(s)
Alice Duhaut
Collections
World Bank Policy Research Working Papers
Metadata
JSON
Created on
Nov 10, 2026
Last modified
Nov 23, 2026
Page views
24
Downloads
25
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Overview

    Abstract

    This paper studies whether simplifying border procedures reduces trade costs enough to increase trade and change importer behavior. I study a coordinated border-management reform at Mwanza, Malawi’s principal border post, using customs records and a survey of 850 traders. The reform reduced border agencies from 14 to 5 and introduced joint inspections. I estimate its effects using synthetic difference-in-differences. I find no detectable reduction in clearance time or change in shipment values, transaction frequency, or importer entry. Declarations increase sharply at Mwanza, but part of this increase reflects reallocation across offices, partly explained by a contemporaneous requirement to file declarations at the border rather than inland. Transport costs average 35.7 percent of shipment value, while monetary costs directly associated with border clearance account for about 6 percent. The results suggest that border reforms may have limited effects when the costs they target are small relative to other import costs.

    Reproducibility Package

    Scripts
    Readme Get Reproducibility Package
    Link: https://reproducibility.worldbank.org/catalog/697/download/2101/README.pdf
    Reproducibility package for Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi
    File name
    RR_MWI_2026_791
    Zip package
    RR_MWI_2026_791.zip
    Title
    Reproducibility package for Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi
    Date
    2026-11
    Dependencies
    Stata dependencies are listed in the ado folder. Python dependence in environment yaml.
    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
    Stata
    Name
    Stata
    Version
    19.5 MP
    Python
    Name
    Python
    Version
    3.11.17

    Reproducibility

    Technology environment

    Paper exhibits were reproduced on a computer with the following specifications:
    • OS: Windows 11 Enterprise
    • Processor: Intel(R) Xeon(R) Platinum 8562Y+ (2 processors)
    • Memory available: 32.0 GB

    Technology requirements

    Run time: ~ 75 minutes.

    Reproduction instructions

    To reproduce the findings in this paper, a replicator must:

    1. Secure Access to Data: Access the datasets not included in the package. See the Datasets section for more details.
    2. Run the Package: Update the working directory (global ROOT) in line 48 and the Python interpreter (global PYTHON3) in line 51 of the do-file code/Replication/customs/code/00_Master_Replication, and run it.

    Since not all the data is included, the package includes the results produced by replicators. These files can be used to review the results presented in the paper.

    Data

    Datasets
    Automated System for Customs Data (ASYCUDA) World Import Declarations
    Name
    Automated System for Customs Data (ASYCUDA) World Import Declarations
    Note
    File location: restricted/customs/Master_ASYCUDA_anon.dta (not included in the package). Declaration-item level import records from ASYCUDA World, registration dates 1 January 2021 to 29 February 2024 (475,027 declaration-item records, 60 variables; the analysis sample ends in January 2024). Import declarations of types IM4, IM7 and IM8 at all customs offices, with coverage incomplete due to extraction constraints at the MRA. The file in the package workflow is the authors' anonymised version of the MRA extract: importer name, agent name, TPIN and terms of delivery were removed, importers and agents were replaced by anonymous numeric IDs, and constructed variables were added (import_corridor, borderpost, month_year, clearance_time, time_till_p, door_time, time_till_e). The raw extract, the anonymisation script (1_ASY_merge_clean_anon.do) and the ID key are not shared. The data owner is the MRA, which decides access and may require a data-sharing agreement that prohibits redistribution. Requests go through https://www.mra.mw/contact.
    Access policy
    Data access was granted directly to the study authors by the data owners. It was obtained with a custom data license that does not allow for redistribution and it is not included in the reproducibility package.
    License
    Custom License (MRA data-sharing agreement)
    Data URL
    https://www.mra.mw/contact
    Citation
    Malawi Revenue Authority. 2024. "Automated System for Customs Data (ASYCUDA) World Import Declarations" [dataset]. Unpublished data. Accessed 2024.
    Major Foreign Exchange Rates
    Name
    Major Foreign Exchange Rates
    Note
    File location: public_data/exchange_rates_single.dta. Monthly Malawi kwacha per US dollar (ex_rate), January 1972 to January 2024 (625 months, no missing months). Only the 2021 to 2024 months are used.
    Access policy
    Data is publicly available and included in the reproducibility package.
    Data URL
    https://www.rbm.mw/Statistics/MajorRates
    Citation
    Reserve Bank of Malawi. 2026. "Major Foreign Exchange Rates" [dataset]. https://www.rbm.mw/Statistics/MajorRates. Accessed 2026.
    Malawi Trade Facilitation Survey
    Name
    Malawi Trade Facilitation Survey
    Note
    File location: public_data/panel_malawi_tradefacilitation_anon.dta. Primary data collected by the authors: anonymised two-round trader panel, 1,507 trader-round observations (850 baseline traders, December 2021 to March 2022; 657 second-round observations, January to March 2024) and 365 variables.
    Access policy
    Data is forthcoming in the World Bank Microdata Library.
    Citation
    Duhaut A. 2026. "Malawi Trade Facilitation Survey" [dataset]. World Bank Microdata Library. Forthcoming.
    Malawi Truck GPS Pings and Border Points
    Name
    Malawi Truck GPS Pings and Border Points
    Note
    File locations: restricted/trucks/wetransfer_malawi-data_2025-11-26_1058/*.csv (including BorderPoints.csv) (not included in the package); restricted/trucks/pings_segmented_directed_v2.csv (not included). High-frequency GPS records of truck movements along Malawi's main trade corridors, January 2022 to January 2024, purchased from the commercial provider Crickmay exclusively for this project: pings of trucks within 30 km of six border posts (Mwanza, Dedza, Chiponde, Mchinji, Muloza, Songwe) and of trucks passing through those borders and seven ports and major cities. Fields: vehicle ID, timestamp, latitude, longitude, speed (km/h), geozone name and border-crossing flag. Requested in 2023; delivered 26 November 2025. To obtain the data, contact Crickmay (https://www.crickmay.co.za/get-started).
    Access policy
    Data access was granted directly to the study authors by the data owners. It was obtained with a custom data license that does not allow for redistribution and it is not included in the reproducibility package.
    License
    Custom License (Crickmay purchase agreement)
    License URL
    https://www.crickmay.co.za/privacy-policy
    Data URL
    https://www.crickmay.co.za/get-started
    Citation
    Crickmay. 2025. "Malawi Truck GPS Pings and Border Points" [dataset]. https://www.crickmay.co.za/get-started. Delivered November 2025.
    Time as a Trade Barrier
    Name
    Time as a Trade Barrier
    Note
    File location: public_data/mainAER.dta. Replication data of Hummels and Schaur (2013), used for the mode-choice based HS4 time-cost measure (03a_HS4_TIMECOST.do). Replication package: https://doi.org/10.3886/E112686V1 (openICPSR project 112686). Accessed 2026.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    Creative Commons Attribution 4.0 International Public License
    License URL
    https://www.openicpsr.org/openicpsr/project/112686/version/V1/view?path=/openicpsr/112686/fcr:versions/V1/LICENSE.txt&type=file#
    Data URL
    https://doi.org/10.3886/E112686V1
    Citation
    Hummels, D., and Schaur, G. 2013. "Time as a Trade Barrier." American Economic Review 103(7): 2935-2959. https://doi.org/10.1257/aer.103.7.2935. Replication data: https://doi.org/10.3886/E112686V1. Accessed 2026.
    Malawi - Subnational Administrative Boundaries
    Name
    Malawi - Subnational Administrative Boundaries
    Note
    File location: public_data/trucks/HDR_malawi_shapefiles/mwi_admbnda_adm0_nso_hotosm_20230405.* (national boundary shapefile, ADM0). Used in the truck GPS spatial joins. Accessed September 2025.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    Creative Commons Attribution for Intergovernmental Organisations (CC BY-IGO)
    License URL
    https://docs.humdata.org/about/data-licenses?_gl=1*1ocx9gn*_ga*MTg2MTA0MDE5Ny4xNzM4MDkyOTUy*_ga_E60ZNX2F68*czE3OTQyNTU2NzEkbzYkZzAkdDE3OTQyNTU2NzEkajYwJGwwJGgw
    Data URL
    https://data.humdata.org/dataset/cod-ab-mwi
    Citation
    Humanitarian Data Exchange. 2025. "Malawi - Subnational Administrative Boundaries" [dataset]. https://data.humdata.org/dataset/cod-ab-mwi. Accessed September 2025.
    Malawi Border Post Coordinates
    Name
    Malawi Border Post Coordinates
    Note
    File location: public_data/trucks/borderposts/BPCoordinates.csv. Coordinates of the border posts, compiled by the authors from Google Maps in 2025 and used in the truck GPS spatial analysis. Google Maps terms of use apply.
    Access policy
    Data is publicly available and included in the reproducibility package.
    License
    Google Maps Terms of Service
    License URL
    https://www.google.com/intl/en_us/help/terms_maps/
    Data URL
    https://www.google.com/maps
    Citation
    Authors' compilation. 2025. "Malawi Border Post Coordinates" [dataset]. Based on Google Maps.
    Data statement

    The reproducibility package relies on 2 types of data: open, and restricted data (available only from the data owners). For the source, access type, file location, and citation of each dataset, refer to the Datasets section and the README file.

    Description

    Output
    Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi
    Type
    Working Paper
    Title
    Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi
    Description
    Policy Research Working Paper (PRWP)
    Authors
    Author Affiliation Email
    Alice Duhaut World Bank Group aduhaut@worldbank.org
    Date of production

    2026-11-09

    Scope and coverage

    Geographic locations
    Location Code
    Malawi MWI
    Topics
    ID Topic Parent topic ID Vocabulary Vocabulary URI
    F13 Trade Policy • International Trade Organizations F1 Journal of Economic Literature (JEL)
    F14 Empirical Studies of Trade F1 Journal of Economic Literature (JEL)
    O18 Urban, Rural, Regional, and Transportation Analysis • Housing • Infrastructure O1 Journal of Economic Literature (JEL)
    O19 International Linkages to Development • Role of International Organizations O1 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
    MIT License https://opensource.org/license/mit
    World Bank IGO Rider https://github.com/worldbank/metadata-editor/blob/main/WB-IGO-RIDER.md

    Contacts

    Contacts
    Name Affiliation Email
    Alice Duhaut World Bank Group aduhaut@worldbank.org
    Reproducibility World Bank Group World Bank Group 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-11-09

    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.