Reproducible Research Repository
Reproducible Research Repository
  • Home
  • Repository
  • Collections
  • About
    Home / Repository / JA / PP_WLD_2023_68-V01
ja

Reproducibility package for The Intensive Margin in Trade: How Big and How Important?

2023
Reference ID
PP_WLD_2023_68-v01
DOI
https://doi.org/10.3886/E168221V1
Author(s)
Ana M. Fernandes, Peter J. Klenow, Sergii Meleshchuk, Martha Denisse Pierola, Andrés Rodríguez- Clare
Collections
Journal articles
Metadata
JSON
Created on
Jan 02, 2024
Last modified
Mar 19, 2024
  • Project Description
  • Downloads
  • Overview
  • Reproducibility Package
  • Description
  • Scope and coverage
  • Disclaimer
  • Access and rights
  • Contacts
  • Information on metadata
  • Citation
  • Overview

    Abstract

    In benchmark trade models that feature a constant trade elasticity, bilateral exports vary entirely on the intensive margin (exports per firm) or entirely on the extensive margin (number of firms). Our empirical analysis documents that roughly one-half of this variation occurs along each margin, implying that the trade elasticity is not constant. We estimate a generalized Melitz model with a joint lognormal distribution for firm productivity, fixed costs, and demand shifters. Using exact-hat algebra, we quantify how trade costs affect trade flows and welfare. Welfare effects are similar to those in the Melitz-Pareto model, but implied trade flows differ significantly.

    Reproducibility Package

    Scripts
    Reproducibility package (data and code) for The Intensive Margin in Trade: How Big and How Important?
    Title
    Reproducibility package (data and code) for The Intensive Margin in Trade: How Big and How Important?
    Instructions
    See README in the (external) reproducibility package.
    Notes
    The reproducibility package is hosted externally at the journal.
    Source code repository
    Repository name URI
    AEA Data and Code Repository https://www.openicpsr.org/openicpsr/project/168221/version/V1/view
    Software
    Stata
    Name
    Stata
    Version
    17
    Matlab
    Name
    Matlab
    Version
    2023a

    Reproducibility

    Technology environment

    Paper exhibits produced with Stata code were attempted to be reproduced in a computer with the following specifications.
    • OS: Microsoft Windows 10 Version 21H2
    • Processor: Intel(R) Xeon(R) CPU E7-4890 v2 @ 2.80GHz, 2800 Mhz,
    2 Core(s), 2 Logical Processor(s)
    • Memory available: 15.8 GB
    • Software version: Stata 17
    Paper exhibits produced with Matlab code were attempted to be reproduced in a computer with the following specifications.
    • OS: Microsoft Windows 10 Enterprise
    • Processor: Intel(R) Xeon(R) Gold 6226R CPU @ 2.90GHz, 2900
    Mhz, 4 Core(s), 4 Logical Processor(s)
    • Memory available: 32 GB
    • Software version: Matlab 2023a

    Reproduction instructions

    Click on the provided link to access the external package. This package includes a README file, which you should refer to for detailed instructions on how to replicate these results.

    Data

    Datasets
    Exporter Dynamics Database
    Name
    Exporter Dynamics Database
    Note
    Following datasets are being used from this database: 1. CYD.dta 2. CYH2D.dta 3. CYD_1000usd.dta 4. CYD_China.dta 5. CYH2D_China.dta 6. CYD_China_1000usd.dta 7. hs2_alldest.dta 8. hs4_alldest.dta 9. hs6_alldest.dta Source: World Bank - Exporter Dynamics Database
    Access policy
    Published with (external) package
    Data URL
    https://microdata.worldbank.org/index.php/catalog/2545
    Data statement

    Certain datasets utilized in this study are subject to restrictions and cannot be fully disclosed to the public. The Exporter Dynamics Database (EDD) for the extended sample, with the exception of China, is accessible through the Microdata Library. However, the EDD indicators for China are derived from confidential firm-level customs data and are therefore not publicly available.
    The firm-level EDD data for the core sample is also restricted and generally not accessible to external researchers, with the exception of data from 10 specific countries: Albania, Bulgaria, Burkina Faso, Guatemala, Jordan, Malawi, Mexico, Peru, Uruguay, and Yemen. It should be noted that the data for these countries covers a shorter timeframe than that analyzed in the study. For detailed instructions on how to request access to the data and further information on data coverage, replicators are advised to refer to the README file included in the (external) reproducibility package.

    Description

    Output
    The Intensive Margin in Trade: How Big and How Important?
    Type
    Published Paper
    Title
    The Intensive Margin in Trade: How Big and How Important?
    Authors
    Ana M. Fernandes, Peter J. Klenow, Sergii Meleshchuk, Martha Denisse Pierola, and Andrés Rodríguez- Clare
    URL
    https://www.aeaweb.org/articles?id=10.1257/mac.20200269
    DOI
    https://doi.org/10.1257/mac.20200269
    Authors
    Author Affiliation Email
    Ana M. Fernandes World Bank afernandes@worldbank.org
    Peter J. Klenow Stanford and NBER klenow@stanford.edu
    Sergii Meleshchuk IMF smeleshchuk@imf.org
    Martha Denisse Pierola Inter- American Development Bank mpierola@iadb.org
    Andrés Rodríguez- Clare University of California, Berkeley and NBER arc@berkeley.edu
    Date of production

    2023-12

    Scope and coverage

    Geographic locations
    Location Code
    World WLD
    Topics
    ID Topic Parent topic ID Vocabulary Vocabulary URI
    D22 Firm Behavior: Empirical Analysis D2 Journal of Economic Literature (JEL)
    D24 Production • Cost • Capital • Capital, Total Factor, and Multifactor Productivity • Capacity D2 Journal of Economic Literature (JEL)
    D43 Oligopoly and Other Forms of Market Imperfection D4 Journal of Economic Literature (JEL)
    F12 Models of Trade with Imperfect Competition and Scale Economies • Fragmentation F1 Journal of Economic Literature (JEL)
    F14 Empirical Studies of Trade F1 Journal of Economic Literature (JEL)
    L13 Oligopoly and Other Imperfect Markets L1 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
    Creative Commons Attribution 4.0 International (CC BY 4.0) License https://creativecommons.org/licenses/by/4.0/

    Contacts

    Contacts
    Name Affiliation Email
    Ana M. Fernandes World Bank afernandes@worldbank.org
    Reproducibility WBG World Bank reproducibility@worldbank.org

    Information on metadata

    Producers
    Name Abbreviation Affiliation Role
    Reyes Retana MRR World Bank Junior Data Scientist
    Date of Production

    2023-12-21

    Document version

    1

    Citation

    Citation
    loading, please wait...
    Citation format
    Export citation: RIS | BibTeX | Plain text
    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.