IDEAS home Printed from https://ideas.repec.org/a/tsj/stataj/v8y2008i2p170-189.html
   My bibliography  Save this article

The Stata command felsdvreg to fit a linear model with two high-dimensional fixed effects

Author

Listed:
  • Thomas Cornelissen

    (University of Hannover)

Abstract

This article proposes a memory-saving decomposition of the design matrix to facilitate the estimation of a linear model with two high-dimensional fixed effects. A common way to fit such a model is to take into account one of the effects by including dummy variables and to sweep out the other effect by the within transformation (fixed-effects transformation). If the number of panel units is high, creating and storing the dummy variables can involve prohibitively large computer-memory requirements. The memory-saving procedure to set up the moment matrices for estimation presented in this article can reduce the memory requirements considerably. The companion Stata ado-file felsdvreg implements the estimation method, takes care of identification issues, and provides useful summary statistics. Copyright 2008 by StataCorp LP.

Suggested Citation

  • Thomas Cornelissen, 2008. "The Stata command felsdvreg to fit a linear model with two high-dimensional fixed effects," Stata Journal, StataCorp LP, vol. 8(2), pages 170-189, June.
  • Handle: RePEc:tsj:stataj:v:8:y:2008:i:2:p:170-189
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0143
    Download Restriction: no

    File URL: http://www.stata-journal.com/software/sj8-2/st0143/
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Martyn Andrews & Thorsten Schank & Richard Upward, 2006. "Practical fixed-effects estimation methods for the three-way error-components model," Stata Journal, StataCorp LP, vol. 6(4), pages 461-481, December.
    2. John M. Abowd & Francis Kramarz & David N. Margolis, 1999. "High Wage Workers and High Wage Firms," Econometrica, Econometric Society, vol. 67(2), pages 251-334, March.
    3. M. J. Andrews & L. Gill & T. Schank & R. Upward, 2008. "High wage workers and low wage firms: negative assortative matching or limited mobility bias?," Journal of the Royal Statistical Society Series A, Royal Statistical Society, vol. 171(3), pages 673-697, June.
    4. John M. Abowd & Robert H. Creecy & Francis Kramarz, 2002. "Computing Person and Firm Effects Using Linked Longitudinal Employer-Employee Data," Longitudinal Employer-Household Dynamics Technical Papers 2002-06, Center for Economic Studies, U.S. Census Bureau.
    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. Cornelißen Thomas & Hübler Olaf, 2011. "Unobserved Individual and Firm Heterogeneity in Wage and Job-Duration Functions: Evidence from German Linked Employer–Employee Data," German Economic Review, De Gruyter, vol. 12(4), pages 469-489, December.
    2. Mittag, Nikolas, 2016. "A Simple Method to Estimate Large Fixed Effects Models Applied to Wage Determinants and Matching," IZA Discussion Papers 10447, Institute of Labor Economics (IZA).
    3. Mittag, Nikolas, 2012. "New methods to estimate models with large sets of fixed effects with an application to matched employer-employee data from Germany," FDZ Methodenreport 201201_en, Institut für Arbeitsmarkt- und Berufsforschung (IAB), Nürnberg [Institute for Employment Research, Nuremberg, Germany].
    4. Davidson, Carl & Heyman, Fredrik & Matusz, Steven & Sjöholm, Fredrik & Zhu, Susan Chun, 2014. "Globalization and imperfect labor market sorting," Journal of International Economics, Elsevier, vol. 94(2), pages 177-194.
    5. Nikolas Mittag, 2015. "A Simple Method to Estimate Large Fixed Effects Models Applied to Wage Determinants and Matching," CERGE-EI Working Papers wp532, The Center for Economic Research and Graduate Education - Economics Institute, Prague.
    6. Frings, Hanna & Kamb, Rebecca, 2021. "What explains the urban wage premium? Sorting, non-portable or portable agglomeration effects?," Ruhr Economic Papers 916, RWI - Leibniz-Institut für Wirtschaftsforschung, Ruhr-University Bochum, TU Dortmund University, University of Duisburg-Essen.
    7. Jae Song & David J Price & Fatih Guvenen & Nicholas Bloom & Till von Wachter, 2019. "Firming Up Inequality," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 134(1), pages 1-50.
    8. 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.
    9. Erling Barth & James Davis & Richard B. Freeman, 2018. "Augmenting the Human Capital Earnings Equation with Measures of Where People Work," Journal of Labor Economics, University of Chicago Press, vol. 36(S1), pages 71-97.
    10. Bombardini, Matilde & Orefice, Gianluca & Tito, Maria D., 2019. "Does exporting improve matching? Evidence from French employer-employee data," Journal of International Economics, Elsevier, vol. 117(C), pages 229-241.
    11. François-Charles Wolff & Dale Squires & Patrice Guillotreau, 2013. "The Firm's Management in Production: Management, Firm, and Time Effects in an Indian Ocean Tuna Fishery," American Journal of Agricultural Economics, Agricultural and Applied Economics Association, vol. 95(3), pages 547-567.
    12. Philipp Barteska & Jay Euijung Lee, 2024. "Bureaucrats and the Korean export miracle," Discussion Papers 2024-11, Nottingham Interdisciplinary Centre for Economic and Political Research (NICEP).
    13. Engbom, Niklas & Moser, Christian & Sauermann, Jan, 2023. "Firm pay dynamics," Journal of Econometrics, Elsevier, vol. 233(2), pages 396-423.
    14. Gaure, Simen, 2014. "Practical Correlation Bias Correction in Two-way Fixed Effects Linear Regression," Memorandum 21/2014, Oslo University, Department of Economics.
    15. Katarína Borovičková & Robert Shimer, 2017. "High Wage Workers Work for High Wage Firms," NBER Working Papers 24074, National Bureau of Economic Research, Inc.
    16. Ajay Bhaskarabhatla & Luis Cabral & Deepak Hegde & Thomas Peeters, 2021. "Are Inventors or Firms the Engines of Innovation?," Management Science, INFORMS, vol. 67(6), pages 3899-3920, June.
    17. Jorge Alvarez & Felipe Benguria & Niklas Engbom & Christian Moser, 2018. "Firms and the Decline in Earnings Inequality in Brazil," American Economic Journal: Macroeconomics, American Economic Association, vol. 10(1), pages 149-189, January.
    18. Diana Lúcia Gonzaga da Silva & Carlos Roberto Azzoni, 2016. "Location and wages: the contribution of firm and worker effects in Brazil," Working Papers, Department of Economics 2016_41, University of São Paulo (FEA-USP).
    19. Huitfeldt, Ingrid & Kostøl, Andreas R. & Nimczik, Jan & Weber, Andrea, 2023. "Internal labor markets: A worker flow approach," Journal of Econometrics, Elsevier, vol. 233(2), pages 661-688.
    20. Woodcock Simon D, 2010. "Heterogeneity and Learning in Labor Markets," The B.E. Journal of Economic Analysis & Policy, De Gruyter, vol. 10(1), pages 1-69, September.

    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:tsj:stataj:v:8:y:2008:i:2:p:170-189. 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: Christopher F. Baum or Lisa Gilmore (email available below). General contact details of provider: http://www.stata-journal.com/ .

    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.