{"type":"script","doc_desc":{"producers":[{"name":"Reproducibility WBG","abbr":"DECDI","affiliation":"World Bank - Development Impact Department","role":"Verification and preparation of metadata"}],"prod_date":"2026-11-09","version":"1"},"project_desc":{"authoring_entity":[{"name":"Alice Duhaut","affiliation":"World Bank Group","email":"aduhaut@worldbank.org"}],"title_statement":{"title":"Reproducibility package for Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi","idno":"RR_MWI_2026_791"},"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.","software":[{"name":"Stata","version":"19.5 MP"},{"name":"Python","version":"3.11.17"}],"scripts":[{"title":"Reproducibility package for Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi","date":"2026-11","notes":"Computational reproducibility verified by Development Impact (DECDI) Analytics team, World Bank.","instructions":"See README in reproducibility package.","file_name":"RR_MWI_2026_791","zip_package":"RR_MWI_2026_791.zip","dependencies":"Stata dependencies are listed in the ado folder. Python dependence in environment yaml."}],"repository_uri":[{"name":"Reproducible Research Repository (World Bank)","uri":"https:\/\/reproducibility.worldbank.org"}],"production_date":"2026-11-09","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\u2019s 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.","geographic_units":[{"name":"Malawi","code":"MWI"}],"topics":[{"id":"F13","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Trade Policy \u2022 International Trade Organizations","parent_id":"F1"},{"id":" F14","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Empirical Studies of Trade","parent_id":"F1"},{"id":" O18","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"Urban, Rural, Regional, and Transportation Analysis \u2022 Housing \u2022 Infrastructure","parent_id":"O1"},{"id":" O19","uri":"https:\/\/www.aeaweb.org\/econlit\/jelCodes.php?view=jel","vocabulary":"Journal of Economic Literature (JEL)","name":"International Linkages to Development \u2022 Role of International Organizations","parent_id":"O1"}],"output":[{"type":"Working Paper","description":"Policy Research Working Paper (PRWP)","title":"Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi"}],"language":[{"name":"English","code":"EN"}],"technology_requirements":"Run time: ~ 75 minutes. ","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.","license":[{"name":"MIT License","uri":"https:\/\/opensource.org\/license\/mit"},{"name":"World Bank IGO Rider","uri":"https:\/\/github.com\/worldbank\/metadata-editor\/blob\/main\/WB-IGO-RIDER.md"}],"contacts":[{"name":"Alice Duhaut","affiliation":"World Bank Group","email":"aduhaut@worldbank.org"},{"name":"Reproducibility World Bank Group","affiliation":"World Bank Group","email":"reproducibility@worldbank.org"}],"datasets":[{"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_type":"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)","uri":"https:\/\/www.mra.mw\/contact","citation":"Malawi Revenue Authority. 2024. \"Automated System for Customs Data (ASYCUDA) World Import Declarations\" [dataset]. Unpublished data. Accessed 2024."},{"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_type":"Data is publicly available and included in the reproducibility package.","uri":"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."},{"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_type":"Data is forthcoming in the World Bank Microdata Library.","citation":"Duhaut A. 2026. \"Malawi Trade Facilitation Survey\" [dataset]. World Bank Microdata Library. Forthcoming."},{"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_type":"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_uri":"https:\/\/www.crickmay.co.za\/privacy-policy","uri":"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."},{"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_type":"Data is publicly available and included in the reproducibility package.","license":"Creative Commons Attribution 4.0 International Public License","license_uri":"https:\/\/www.openicpsr.org\/openicpsr\/project\/112686\/version\/V1\/view?path=\/openicpsr\/112686\/fcr:versions\/V1\/LICENSE.txt&type=file#","uri":"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."},{"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_type":"Data is publicly available and included in the reproducibility package.","license":"Creative Commons Attribution for Intergovernmental Organisations (CC BY-IGO)","license_uri":"https:\/\/docs.humdata.org\/about\/data-licenses?_gl=1*1ocx9gn*_ga*MTg2MTA0MDE5Ny4xNzM4MDkyOTUy*_ga_E60ZNX2F68*czE3OTQyNTU2NzEkbzYkZzAkdDE3OTQyNTU2NzEkajYwJGwwJGgw","uri":"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."},{"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_type":"Data is publicly available and included in the reproducibility package.","license":"Google Maps Terms of Service","license_uri":"https:\/\/www.google.com\/intl\/en_us\/help\/terms_maps\/","citation":"Authors' compilation. 2025. \"Malawi Border Post Coordinates\" [dataset]. Based on Google Maps.","uri":"https:\/\/www.google.com\/maps"}],"technology_environment":"Paper exhibits were reproduced on a computer with the following specifications:\n\u2022 OS: Windows 11 Enterprise\n\u2022 Processor: Intel(R) Xeon(R) Platinum 8562Y+ (2 processors)\n\u2022 Memory available: 32.0 GB","reproduction_instructions":"To reproduce the findings in this paper, a replicator must:\n1. **Secure Access to Data:** Access the datasets not included in the package. See the Datasets section for more details.\n2. **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.\n\nSince 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."},"datacite":{"creators":[{"givenName":"Alice","familyName":"Duhaut","nameType":"Personal","affiliation":[{"name":"World Bank Group","affiliationIdentifier":"https:\/\/ror.org\/02md09461","affiliationIdentifierScheme":"ROR","schemeUri":"https:\/\/ror.org"}]}],"titles":[{"lang":"en","title":"Reproducibility package for Trade Facilitation Without Trade Costs Reduction: Evidence from a Border Reform in Malawi"},{"title":"RR_MWI_2026_791","titleType":"Other"}],"publisher":"World Bank","publicationYear":"2026","types":{"resourceType":"Reproducibility package","resourceTypeGeneral":"Other"},"url":"https:\/\/reproducibility.worldbank.org\/index.php\/catalog\/study\/RR_MWI_2026_791","language":"en"},"tags":[{"tag":"DOI"},{"tag":"Open Code"},{"tag":"Restricted Data"}],"schematype":"script"}