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 & 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.
    3. 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.
    4. 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.
    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. 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.
    4. 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].
    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. Rasmus Lentz & Jean Marc Robin & Suphanit Piyapromdee, 2018. "On Worker and Firm Heterogeneity in Wages and Employment Mobility: Evidence from Danish Register Data," 2018 Meeting Papers 469, Society for Economic Dynamics.
    10. Bassi, Vittorio & Nyshadham, Anant & Tamayo, Jorge & Adhvaryu, Achyuta, 2020. "No Line Left Behind: Assortative Matching Inside the Firm," CEPR Discussion Papers 14554, C.E.P.R. Discussion Papers.
    11. 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.
    12. Cho, Chanho & Halford, Joseph T. & Hsu, Scott & Ng, Lilian, 2016. "Do managers matter for corporate innovation?," Journal of Corporate Finance, Elsevier, vol. 36(C), pages 206-229.
    13. 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.
    14. Fanfani, Bernardo, 2022. "Tastes for discrimination in monopsonistic labour markets," Labour Economics, Elsevier, vol. 75(C).
    15. Bastien Drut & Richard Duhautois, 2017. "Assortative Matching Using Soccer Data," Journal of Sports Economics, , vol. 18(5), pages 431-447, June.
    16. Morchio, Iacopo & Moser, Christian, 2018. "The Gender Pay Gap: Micro Sources and Macro Consequences," MPRA Paper 99276, University Library of Munich, Germany, revised 24 Mar 2020.
    17. 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.
    18. 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).
    19. Engbom, Niklas & Moser, Christian & Sauermann, Jan, 2023. "Firm pay dynamics," Journal of Econometrics, Elsevier, vol. 233(2), pages 396-423.
    20. Ainara González de San Román & Yolanda F. Rebollo‐Sanz, 2018. "An Estimation Of Worker And Firm Effects With Censored Data," Bulletin of Economic Research, Wiley Blackwell, vol. 70(4), pages 459-482, October.

    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.