IDEAS home Printed from https://ideas.repec.org/p/ces/ceswps/_12055.html
   My bibliography  Save this paper

ANOVA-HDFE: Fast Variance Decomposition with High-Dimensional Fixed Effects and an Application to Trade Flows

Author

Listed:
  • Hanna L. Adam
  • Mario Larch
  • Michael Nower

Abstract

Performing an analysis of variance (ANOVA) on a large dataset spanning many dimensions becomes computationally challenging or even infeasible. We develop a new, fast procedure, ANOVA-HDFE, which uses sequential linear regressions and builds on recent advances in regression analysis with high-dimensional fixed effects (HDFE). It accommodates both balanced and unbalanced settings with many categorical and continuous covariates, while also allowing for high-dimensional fixed effects. Applying ANOVA-HDFE to bilateral trade flows, we find that 60% of the variation is at the country or country-time level. Moreover, a substantial proportion of the pair-specific variation remains unexplained by standard trade cost proxy variables.

Suggested Citation

  • Hanna L. Adam & Mario Larch & Michael Nower, 2025. "ANOVA-HDFE: Fast Variance Decomposition with High-Dimensional Fixed Effects and an Application to Trade Flows," CESifo Working Paper Series 12055, CESifo.
  • Handle: RePEc:ces:ceswps:_12055
    as

    Download full text from publisher

    File URL: https://www.ifo.de/DocDL/cesifo1_wp12055.pdf
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Paulo Guimarães & Pedro Portugal, 2010. "A simple feasible procedure to fit models with high-dimensional fixed effects," Stata Journal, StataCorp LLC, vol. 10(4), pages 628-649, December.
    2. Redding, Stephen J. & Weinstein, David E., 2024. "Accounting for trade patterns," Journal of International Economics, Elsevier, vol. 150(C).
    3. Torres, Sónia & Portugal, Pedro & Addison, John T. & Guimarães, Paulo, 2018. "The sources of wage variation and the direction of assortative matching: Evidence from a three-way high-dimensional fixed effects regression model," Labour Economics, Elsevier, vol. 54(C), pages 47-60.
    4. Mittag, Nikolas, 2019. "A simple method to estimate large fixed effects models applied to wage determinants," Labour Economics, Elsevier, vol. 61(C).
    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. Ana Catarina Pimenta & Marta Silva & Joana Cima & Miguel Portela, 2022. "Workforce skills and firm productivity," Economic Bulletin and Financial Stability Report Articles and Banco de Portugal Economic Studies, Banco de Portugal, Economics and Research Department.
    2. Carneiro, Anabela & Portugal, Pedro & Raposo, Pedro & Rodrigues, Paulo M.M., 2023. "The persistence of wages," Journal of Econometrics, Elsevier, vol. 233(2), pages 596-611.
    3. Pedro Portugal & Hugo Reis & Paulo Guimarães & Ana Rute Cardoso, 2023. "What lies behind returns to schooling: the role of labor market sorting and worker heterogeneity," Working Papers w202322, Banco de Portugal, Economics and Research Department.
    4. Haddou, Samira, 2024. "Determinants of CDS in core and peripheral European countries: A comparative study during crisis and calm periods," The North American Journal of Economics and Finance, Elsevier, vol. 71(C).
    5. Paul Anand & Jere R. Behrman & Hai-Anh H. Dang & Sam Jones, 2018. "Inequality of opportunity in education: Accounting for the contributions of Sibs, schools and sorting across East Africa," Working Papers 480, ECINEQ, Society for the Study of Economic Inequality.
    6. Kim, Seula, 2025. "Workers' Job Prospects and Young Firm Dynamics," IZA Discussion Papers 17655, Institute of Labor Economics (IZA).
    7. P. Charnoz & C. Lelarge & C. Trevien, 2016. "Communication Costs and the Internal Organization of Multi-Plant Businesses: Evidence from the Impact of the French High-Speed Rail," Documents de Travail de l'Insee - INSEE Working Papers g2016-02, Institut National de la Statistique et des Etudes Economiques.
    8. Sandra Cavaco & Patricia Crifo & Antoine Rebérioux & Gwenael Roudaut, 2014. "Independent directors: less informed, but better selected? New evidence from a two-way director-firm fixed effect model," Working Papers hal-04141284, HAL.
    9. Fontagné, Lionel & Orefice, Gianluca & Piermartini, Roberta & Rocha, Nadia, 2015. "Product standards and margins of trade: Firm-level evidence," Journal of International Economics, Elsevier, vol. 97(1), pages 29-44.
    10. Nilsen, Øivind Anti & Raknerud, Arvid & Skjerpen, Terje, 2011. "Using the Helmert-transformation to reduce dimensionality in a mixed model: Application to a wage equation with worker and firm heterogeneity," Discussion Paper Series in Economics 11/2011, Norwegian School of Economics, Department of Economics, revised 04 Oct 2011.
    11. Xu, Lei & Ou, Amy Y. & Park, Haemin Dennis & Jiang, Han, 2024. "Breaking barriers or maintaining status quo? Female representation in decision-making group of venture capital firms and the funding of woman-led businesses," Journal of Business Venturing, Elsevier, vol. 39(1).
    12. Mion, Giordano & Opromolla, Luca David, 2014. "Managers' mobility, trade performance, and wages," Journal of International Economics, Elsevier, vol. 94(1), pages 85-101.
    13. 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.
    14. Kouretas, Georgios P. & Pawłowska, Małgorzata, 2020. "Does change in the market structure have any impact on different types of bank loans in the EU?," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 65(C).
    15. Osnago, Alberto & Piermartini, Roberta & Rocha, Nadia, 2015. "Trade policy uncertainty as barrier to trade," WTO Staff Working Papers ERSD-2015-05, World Trade Organization (WTO), Economic Research and Statistics Division.
    16. Constantino Carreto & Simon Freyaldenhoven & Christian Hansen & Jorge Perez Perez & Jesse Shapiro, 2024. "xtevent: Estimation and Visualization in the Linear Panel Event-Study Design," Working Papers 24-15, Federal Reserve Bank of Philadelphia.
    17. Stips, Felix & Kis-Katos, Krisztina, 2020. "Ethnic Networks and the Employment of Asylum Seekers: Evidence from Germany," IZA Discussion Papers 12903, Institute of Labor Economics (IZA).
    18. Köllö, János & Boza, István & Balázsi, László, 2021. "Wage gains from foreign ownership: evidence from linked employer-employee data," Journal for Labour Market Research, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany], vol. 55, pages 1-3.
    19. Lee, Hyun-Hoon & Park, Cyn-Young & Pyun, Ju Hyun, 2024. "International business cycle synchronization: A synthetic assessment," Japan and the World Economy, Elsevier, vol. 69(C).
    20. 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.

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;
    ;

    JEL classification:

    • 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
    • C55 - Mathematical and Quantitative Methods - - Econometric Modeling - - - Large Data Sets: Modeling and Analysis
    • F16 - International Economics - - Trade - - - Trade and Labor Market Interactions

    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:ces:ceswps:_12055. 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: Klaus Wohlrabe (email available below). General contact details of provider: https://edirc.repec.org/data/cesifde.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.