IDEAS home Printed from https://ideas.repec.org/p/cii/cepidt/2025-12.html
   My bibliography  Save this paper

The Variance of Gravity

Author

Listed:
  • Camilo Umana Dajud

Abstract

This paper documents a fundamental problem in applied gravity estimation: the variance of gravity estimates becomes prohibitively large when policy regressors are parse. I define sparse regressors as dummy variables that equal one in fewer than 100 to 500 observations depending on the setting; a common characteristic of trade policies such as free trade agreements. Through Monte Carlo simulations calibrated to match previously established data generating processes in the literature, I demonstrate that the variance of coefficient estimates is approximately inversely proportional to the number of treated observations, making reliable statistical inference impossible when policy variables are infrequent. This variance problem is distinct from well-known issues related to high-dimensional fixed effects and affects both OLS and PPML estimators regardless of specification complexity. The severity of this variance problem depends on the magnitude of the true underlying coefficient: the variance problem is severe and practically prohibitive for moderate coefficients (such as those typically found for many trade policy effects), but becomes negligible for large effects. To address this issue, I propose Ridge regularization as a practical solution that reduces estimate variance while introducing minimal bias. The main contribution however is not advocating for Ridge regularization, but rather highlighting that variance is often the dominant source of uncertainty in gravity estimation when dealing with sparse policy variables, underscoring fundamental limitations of gravity models for evaluating infrequent policies with moderate effect sizes. These findings have implications not only for the international trade literature but also for other fields that employ gravitytype specifications, including migration and macroeconomics.

Suggested Citation

  • Camilo Umana Dajud, 2025. "The Variance of Gravity," Working Papers 2025-12, CEPII research center.
  • Handle: RePEc:cii:cepidt:2025-12
    as

    Download full text from publisher

    File URL: http://www.cepii.fr/PDF_PUB/wp/2025/wp2025-12.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Cameron,A. Colin & Trivedi,Pravin K., 2013. "Regression Analysis of Count Data," Cambridge Books, Cambridge University Press, number 9781107667273, January.
    2. Head, Keith & Mayer, Thierry, 2014. "Gravity Equations: Workhorse,Toolkit, and Cookbook," Handbook of International Economics, in: Gopinath, G. & Helpman, . & Rogoff, K. (ed.), Handbook of International Economics, edition 1, volume 4, chapter 0, pages 131-195, Elsevier.
    3. Richard Baldwin & Daria Taglioni, 2006. "Gravity for Dummies and Dummies for Gravity Equations," NBER Working Papers 12516, National Bureau of Economic Research, Inc.
    4. Thierry Mayer & Vincent Vicard & Soledad Zignago & Beata Javorcik, 2019. "The cost of non-Europe, revisited," Economic Policy, CEPR;CES;MSH, vol. 34(98), pages 145-199.
    5. repec:hal:spmain:info:hdl:2441/6o8sdn6fuv9m1r3rt5verlv4b7 is not listed on IDEAS
    6. Weidner, Martin & Zylkin, Thomas, 2021. "Bias and consistency in three-way gravity models," Journal of International Economics, Elsevier, vol. 132(C).
    7. Egger, Peter & Larch, Mario, 2008. "Interdependent preferential trade agreement memberships: An empirical analysis," Journal of International Economics, Elsevier, vol. 76(2), pages 384-399, December.
    8. 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.
    9. Thierry Mayer & Vincent Vicard & Soledad Zignago & Beata Javorcik, 2019. "The cost of non-Europe, revisited," Economic Policy, CEPR, CESifo, Sciences Po;CES;MSH, vol. 34(98), pages 145-199.
    10. Maddalena Conte & Pierre Cotterlaz & Thierry Mayer, 2022. "The CEPII Gravity Database," Working Papers 2022-05, CEPII research center.
    11. Sergio Correia & Paulo Guimarães & Tom Zylkin, 2020. "Fast Poisson estimation with high-dimensional fixed effects," Stata Journal, StataCorp LLC, vol. 20(1), pages 95-115, 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. Kim, Dongin & Steinbach, Sandro & Zurita, Carlos, 2024. "Deep trade agreements and agri-food global value chain integration," Food Policy, Elsevier, vol. 127(C).
    2. Mario Larch & Yoto V. Yotov, 2024. "Estimating the effects of trade agreements: Lessons from 60 years of methods and data," The World Economy, Wiley Blackwell, vol. 47(5), pages 1771-1799, May.
    3. Heid, Benedikt & Stähler, Frank, 2024. "Structural gravity and the gains from trade under imperfect competition: Quantifying the effects of the European Single Market," Economic Modelling, Elsevier, vol. 131(C).
    4. Silviano Esteve-Pérez & Salvador Gil-Pareja & Rafael Llorca-Vivero & Jordi Paniagua, 2021. "Has the Euro paid off? A study of the trade-induced welfare effects of the EMU," Working Papers 2103, Department of Applied Economics II, Universidad de Valencia.
    5. J. M. C. Santos Silva & Silvana Tenreyro, 2022. "The Log of Gravity at 15," Portuguese Economic Journal, Springer;Instituto Superior de Economia e Gestao, vol. 21(3), pages 423-437, September.
    6. Delgadillo Chavarria, Carlos Bruno, 2019. "El Efecto de la Mediterraneidad sobre el Flujo Comercial Internacional: Evidencia Empírica Internacional y para América del Sur (1990-2016) [The Effect of Landlocked Country Status on International," MPRA Paper 96294, University Library of Munich, Germany, revised 10 Sep 2019.
    7. Arne Nagengast & Fernando Rios-Avila & Yoto Yotov, 2024. "The European Single Market and Intra-EU Trade: An Assessment with Heterogeneity-Robust Difference-in-Differences Methods," School of Economics Working Paper Series 2024-5, LeBow College of Business, Drexel University.
    8. Mario Larch & Jeff Luckstead & Yoto V. Yotov, 2024. "Economic sanctions and agricultural trade," American Journal of Agricultural Economics, John Wiley & Sons, vol. 106(4), pages 1477-1517, August.
    9. Fabien Candau & Geoffroy Guepie & Reine Kouakou, 2018. "In Gravity no Veritas: Dubious Trade Elasticiy and Weak Effects of Regional Trade Agreements in Africa," Working Papers hal-02625930, HAL.
    10. Delgadillo Chavarria, Carlos Bruno, 2019. "El Efecto de la Mediterraneidad sobre el Flujo Comercial Internacional: Evidencia Empírica Internacional y para América del Sur (1990-2016) [The Effect of Landlocked Country Status on International," MPRA Paper 96093, University Library of Munich, Germany, revised 10 Sep 2019.
    11. Mario Larch & Serge Shikher & Constantinos Syropoulos & Yoto V. Yotov, 2022. "Quantifying the impact of economic sanctions on international trade in the energy and mining sectors," Economic Inquiry, Western Economic Association International, vol. 60(3), pages 1038-1063, July.
    12. Kox, Henk L.M., 2022. "A micro-macro model of foreign direct investment: Knowledge-based gravity forces, self-selection and third-country effects," EconStor Preprints 266494, ZBW - Leibniz Information Centre for Economics.
    13. Peiró-Palomino, Jesús & Rodríguez-Crespo, Ernesto & Suárez-Varela, Marta, 2022. "Do countries with higher institutional quality transition to cleaner trade?," Ecological Economics, Elsevier, vol. 201(C).
    14. Carter, Colin A. & Steinbach, Sandro & Zhuang, Xiting, 2022. "Global Shipping Container Disruptions and U.S. Agricultural Exports," Working Papers 320397, International Agricultural Trade Research Consortium.
    15. Mario Larch & Jeff Luckstead & Yoto V. Yotov, 2024. "Economic sanctions and agricultural trade," American Journal of Agricultural Economics, John Wiley & Sons, vol. 106(4), pages 1477-1517, August.
    16. Frensch, Richard & Fidrmuc, Jarko & Rindler, Michael, 2023. "Topography, borders, and trade across Europe," Journal of Comparative Economics, Elsevier, vol. 51(3), pages 816-832.
    17. Harald Oberhofer & Michael Pfaffermayr & Yvonne Wolfmayr, 2021. "Die Auswirkungen des Brexit auf Österreichs Wirtschaft," WIFO Studies, WIFO, number 66782, December.
    18. Swati Dhingra & Rebecca Freeman & Hanwei Huang, 2023. "The Impact of Non‐tariff Barriers on Trade and Welfare," Economica, London School of Economics and Political Science, vol. 90(357), pages 140-177, January.
    19. Taralashvili, Tamar, 2024. "How interstate soft conflicts affect bilateral migration: Results from a structural gravity model," International Economics, Elsevier, vol. 179(C).
    20. Federico Carril-Caccia & Jordi Paniagua & Francisco Requena, 2021. "Asylum Migration, Borders, and Terrorism in a Structural Gravity Model," Politics and Governance, Cogitatio Press, vol. 9(4), pages 146-158.

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    JEL classification:

    • F10 - International Economics - - Trade - - - General
    • F14 - International Economics - - Trade - - - Empirical Studies of Trade
    • C23 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Models with Panel Data; Spatio-temporal Models

    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:cii:cepidt:2025-12. 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: the person in charge (email available below). General contact details of provider: https://edirc.repec.org/data/cepiifr.html .

    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.