IDEAS home Printed from https://ideas.repec.org/p/cii/cepidt/2025-12.html

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. Baldwin, Richard & Taglioni, Daria, 2006. "Gravity for Dummies and Dummies for Gravity Equations," CEPR Discussion Papers 5850, C.E.P.R. Discussion Papers.
    2. Cameron,A. Colin & Trivedi,Pravin K., 2013. "Regression Analysis of Count Data," Cambridge Books, Cambridge University Press, number 9781107667273, January.
    3. 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.
    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. 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.
    6. Weidner, Martin & Zylkin, Thomas, 2021. "Bias and consistency in three-way gravity models," Journal of International Economics, Elsevier, vol. 132(C).
    7. 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.
    8. Maddalena Conte & Pierre Cotterlaz & Thierry Mayer, 2022. "The CEPII Gravity Database," Working Papers 2022-05, CEPII research center.
    9. repec:boc:pcon20:13 is not listed on IDEAS
    10. 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.
    11. 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.
    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. 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).
    3. 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.
    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. Paudel, Nawaraj S. & Lahiri, Sajal, 2024. "The effects of state-level foreign manufacturing imports on domestic inter-state and intra-state sales in the U.S.A," Economic Analysis and Policy, Elsevier, vol. 81(C), pages 297-305.
    6. 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.
    7. Harald Oberhofer & Michael Pfaffermayr & Yvonne Wolfmayr, 2021. "Die Auswirkungen des Brexit auf Österreichs Wirtschaft," WIFO Studies, WIFO, number 66782, August.
    8. Kox, Henk L.M., 2022. "A micro-macro model of foreign direct investment: knowledge-based gravity forces, self-selection and third-country effects," MPRA Paper 115542, University Library of Munich, Germany.
    9. Kox, Henk L.M., 2022. "Explaining foreign direct investment patterns: a testable micro-macro gravity model for FDI," MPRA Paper 115273, University Library of Munich, Germany.
    10. Fontagné, Lionel & Santoni, Gianluca, 2021. "GVCs and the endogenous geography of RTAs," European Economic Review, Elsevier, vol. 132(C).
    11. Felbermayr, Gabriel & Yotov, Yoto V., 2021. "From theory to policy with gravitas: A solution to the mystery of the excess trade balances," European Economic Review, Elsevier, vol. 139(C).
    12. 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 Trade Flow: International and South America Empir," MPRA Paper 96093, University Library of Munich, Germany, revised 10 Sep 2019.
    13. Cheong, Juyoung, 2023. "Do preferential trade agreements stimulate high-tech exports for low-income countries?," Economic Modelling, Elsevier, vol. 127(C).
    14. 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).
    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. Herman, Peter R. & Oliver, Sarah, 2023. "Trade, policy, and economic development in the digital economy," Journal of Development Economics, Elsevier, vol. 164(C).
    17. Santamaría, Marta & Ventura, Jaume & Yeşilbayraktar, Uğur, 2023. "Exploring European regional trade," Journal of International Economics, Elsevier, vol. 146(C).
    18. Julia Grübler & Oliver Reiter & Robert Stehrer, 2021. "On the new gold standard in EU trade integration: reviewing the EU-Japan EPA," Empirica, Springer;Austrian Institute for Economic Research;Austrian Economic Association, vol. 48(3), pages 611-644, August.
    19. Bettina Meinhart, "undated". "How EU membership affects foreign direct investment: Differences between EU15 and CEE countries," FIW Working Paper series 197, FIW.
    20. 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.

    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.