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

xtnumfac: A battery of estimators for the number of common factors in time series and panel-data models

Author

Listed:
  • Jan Ditzen

    (Free University of Bozen-Bolzano)

  • Simon Reese

    (Lund University)

Abstract

In this article, we introduce a new community-contributed command, xtnumfac, for estimating the number of common factors in time-series and panel datasets using the methods of Bai and Ng (2002, Econometrica 70: 191–221), Ahn and Horenstein (2013, Econometrica 81: 1203–1227), Onatski (2010, Review of Economics and Statistics 92: 1004–1016), and Gagliardini, Ossola, and Scaillet (2019, Journal of Econometrics 212: 503–521). Common factors are usually unobserved or unobservable. In time series, they influence all predictors, while in paneldata models, they influence all cross-sectional units at different degrees. Examples are shocks from oil prices, inflation, or demand or supply shocks. Knowledge about the number of factors is key for multiple econometric estimation methods, such as Pesaran (2006, Econometrica 74: 967–1012), Bai (2009, Econometrica 77: 1229–1279), Norkute et al. (2021, Journal of Econometrics 220: 416–446), and Kripfganz and Sarafidis (2021, Stata Journal 21: 659–686). This article discusses a total of 10 methods to estimate the number of common factors. Examples based on Kapetanios, Pesaran, and Reese (2021, Journal of Econometrics 221: 510–541) show that U.S. house prices are exposed to up to 10 common factors. Therefore, when one fits models with house prices as a dependent variable, the number of factors must be considered.

Suggested Citation

  • Jan Ditzen & Simon Reese, 2023. "xtnumfac: A battery of estimators for the number of common factors in time series and panel-data models," Stata Journal, StataCorp LP, vol. 23(2), pages 438-454, June.
  • Handle: RePEc:tsj:stataj:v:23:y:2023:i:2:p:438-454
    DOI: 10.1177/1536867X231175305
    Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj23-2/st0715/
    as

    Download full text from publisher

    File URL: http://www.stata-journal.com/article.html?article=st0715
    File Function: link to article purchase
    Download Restriction: no

    File URL: https://libkey.io/10.1177/1536867X231175305?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Eibinger, Tobias & Deixelberger, Beate & Manner, Hans, 2024. "Panel data in environmental economics: Econometric issues and applications to IPAT models," Journal of Environmental Economics and Management, Elsevier, vol. 125(C).

    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:23:y:2023:i:2:p:438-454. 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.

    We have no bibliographic references for this item. You can help adding them by using 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.