IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2404.09180.html
   My bibliography  Save this paper

ge_gravity2: a command for solving universal gravity models

Author

Listed:
  • Rodolfo G. Campos
  • Iliana Reggio
  • Jacopo Timini

Abstract

We describe an algorithm for computing counterfactual trade flows, prices, output, and welfare in a large class of general equilibrium trade models. We introduce a command called ge_gravity2 that allows users to perform these computations in Stata. This command extends the existing ge_gravity command by allowing users to compute the general equilibrium effects of changes in trade policy in positive supply elasticity models. It can be used to solve any model that falls into the class of universal gravity models as defined by Allen, Arkolakis, and Takahashi [Universal Gravity, Journal of Political Economy, 128(2), 2020, 393-433].

Suggested Citation

  • Rodolfo G. Campos & Iliana Reggio & Jacopo Timini, 2024. "ge_gravity2: a command for solving universal gravity models," Papers 2404.09180, arXiv.org, revised Apr 2024.
  • Handle: RePEc:arx:papers:2404.09180
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2404.09180
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Emmanuel Dhyne & Ayumu Ken Kikkawa & Magne Mogstad & Felix Tintelnot, 2021. "Trade and Domestic Production Networks," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 88(2), pages 643-668.
    2. Stephen J. Redding & Daniel M. Sturm, 2008. "The Costs of Remoteness: Evidence from German Division and Reunification," American Economic Review, American Economic Association, vol. 98(5), pages 1766-1797, December.
    3. James E. Anderson & Mario Larch & Yoto V. Yotov, 2018. "GEPPML: General equilibrium analysis with PPML," The World Economy, Wiley Blackwell, vol. 41(10), pages 2750-2782, October.
    4. James E. Anderson & Eric van Wincoop, 2003. "Gravity with Gravitas: A Solution to the Border Puzzle," American Economic Review, American Economic Association, vol. 93(1), pages 170-192, March.
    5. Marc J. Melitz, 2003. "The Impact of Trade on Intra-Industry Reallocations and Aggregate Industry Productivity," Econometrica, Econometric Society, vol. 71(6), pages 1695-1725, November.
    6. Redding, Stephen J., 2016. "Goods trade, factor mobility and welfare," Journal of International Economics, Elsevier, vol. 101(C), pages 148-167.
    7. di Giovanni, Julian & Levchenko, Andrei A., 2013. "Firm entry, trade, and welfare in Zipf's world," Journal of International Economics, Elsevier, vol. 89(2), pages 283-296.
    8. Krugman, Paul, 1980. "Scale Economies, Product Differentiation, and the Pattern of Trade," American Economic Review, American Economic Association, vol. 70(5), pages 950-959, December.
    9. Alvarez, Fernando & Lucas, Robert Jr., 2007. "General equilibrium analysis of the Eaton-Kortum model of international trade," Journal of Monetary Economics, Elsevier, vol. 54(6), pages 1726-1768, September.
    10. Treb Allen & Costas Arkolakis, 2014. "Trade and the Topography of the Spatial Economy," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 129(3), pages 1085-1140.
    11. Rodolfo G. Campos & Iliana Reggio & Jacopo Timini, 2023. "Autarky in Franco's Spain: The costs of a closed economy," Economic History Review, Economic History Society, vol. 76(4), pages 1259-1280, November.
    12. Baier, Scott L. & Yotov, Yoto V. & Zylkin, Thomas, 2019. "On the widely differing effects of free trade agreements: Lessons from twenty years of trade integration," Journal of International Economics, Elsevier, vol. 116(C), pages 206-226.
    13. Robert Dekle & Jonathan Eaton & Samuel Kortum, 2008. "Global Rebalancing with Gravity: Measuring the Burden of Adjustment," IMF Staff Papers, Palgrave Macmillan, vol. 55(3), pages 511-540, July.
    14. Anderson, James E, 1979. "A Theoretical Foundation for the Gravity Equation," American Economic Review, American Economic Association, vol. 69(1), pages 106-116, March.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Mario Larch & Yoto V. Yotov, 2016. "General Equilibrium Trade Policy Analysis with Structural Gravity," CESifo Working Paper Series 6020, CESifo.
    2. Costinot, Arnaud & Rodríguez-Clare, Andrés, 2014. "Trade Theory with Numbers: Quantifying the Consequences of Globalization," Handbook of International Economics, in: Gopinath, G. & Helpman, . & Rogoff, K. (ed.), Handbook of International Economics, edition 1, volume 4, chapter 0, pages 197-261, Elsevier.
    3. Scott L. Baier & Amanda Kerr & Yoto V. Yotov, 2018. "Gravity, distance, and international trade," Chapters, in: Bruce A. Blonigen & Wesley W. Wilson (ed.), Handbook of International Trade and Transportation, chapter 2, pages 15-78, Edward Elgar Publishing.
    4. Costas Arkolakis & Arnaud Costinot & Andres Rodriguez-Clare, 2012. "New Trade Models, Same Old Gains?," American Economic Review, American Economic Association, vol. 102(1), pages 94-130, February.
    5. Treb Allen & Costas Arkolakis, 2014. "Trade and the Topography of the Spatial Economy," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 129(3), pages 1085-1140.
    6. Benny Kleinman & Ernest Liu & Stephen J. Redding, 2024. "International Friends and Enemies," American Economic Journal: Macroeconomics, American Economic Association, vol. 16(4), pages 350-385, October.
    7. Rodrigo Adão & Costas Arkolakis & Federico Esposito, 2019. "General Equilibrium Effects in Space: Theory and Measurement," NBER Working Papers 25544, National Bureau of Economic Research, Inc.
    8. Yoto V. Yotov, 2021. "The Variation of Gravity within Countries (or 15 Reasons Why Gravity Should Be Estimated with Domestic Trade Flows)," CESifo Working Paper Series 9057, CESifo.
    9. Krebs, Oliver & Pflüger, Michael, 2023. "On the road (again): Commuting and local employment elasticities in Germany," Regional Science and Urban Economics, Elsevier, vol. 99(C).
    10. Treb Allen & Costas Arkolakis & Yuta Takahashi, 2020. "Universal Gravity," Journal of Political Economy, University of Chicago Press, vol. 128(2), pages 393-433.
    11. Lorenzo Caliendo & Luca David Opromolla & Fernando Parro & Alessandro Sforza, 2021. "Goods and Factor Market Integration: A Quantitative Assessment of the EU Enlargement," Journal of Political Economy, University of Chicago Press, vol. 129(12), pages 3491-3545.
    12. Redding, Stephen J., 2016. "Goods trade, factor mobility and welfare," Journal of International Economics, Elsevier, vol. 101(C), pages 148-167.
    13. Anderson, James E. & Yotov, Yoto V., 2020. "Short run gravity," Journal of International Economics, Elsevier, vol. 126(C).
    14. French, Scott, 2016. "The composition of trade flows and the aggregate effects of trade barriers," Journal of International Economics, Elsevier, vol. 98(C), pages 114-137.
    15. Rodolfo G. Campos & Benedikt Heid & Jacopo Timini, 2024. "The Economic Consequences of Geopolitical Fragmentation: Evidence from the Cold War," CESifo Working Paper Series 11057, CESifo.
    16. Yilmazkuday, Hakan, 2009. "Distribution of Consumption, Production and Trade within the U.S," MPRA Paper 16361, University Library of Munich, Germany.
    17. Ma, Lin & Tang, Yang, 2020. "Geography, trade, and internal migration in China," Journal of Urban Economics, Elsevier, vol. 115(C).
    18. Behrens, Kristian & Mion, Giordano & Murata, Yasusada & Suedekum, Jens, 2017. "Spatial frictions," Journal of Urban Economics, Elsevier, vol. 97(C), pages 40-70.
    19. Konstantin Kucheryavyy & Gary Lyn & Andrés Rodríguez-Clare, 2023. "Grounded by Gravity: A Well-Behaved Trade Model with Industry-Level Economies of Scale," American Economic Journal: Macroeconomics, American Economic Association, vol. 15(2), pages 372-412, April.
    20. Pablo D Fajgelbaum & Eduardo Morales & Juan Carlos Suárez Serrato & Owen Zidar, 2019. "State Taxes and Spatial Misallocation," The Review of Economic Studies, Review of Economic Studies Ltd, vol. 86(1), pages 333-376.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2404.09180. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.