Skip to main content

Lund University Publications

LUND UNIVERSITY LIBRARIES

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

Ditzen, Jan and Reese, Simon LU (2023) In Stata Journal 23(2). p.438-454
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... (More)

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.

(Less)
Please use this url to cite or link to this publication:
author
and
organization
publishing date
type
Contribution to journal
publication status
published
subject
keywords
common factors, cross-section dependence, factor models, panel-data models, st0715, time-series models, xtnumfac
in
Stata Journal
volume
23
issue
2
pages
17 pages
publisher
StataCorp LP
external identifiers
  • scopus:85163678673
ISSN
1536-867X
DOI
10.1177/1536867X231175305
language
English
LU publication?
yes
id
5eeaac6b-4209-452f-991d-0432365920d1
date added to LUP
2023-09-18 13:37:36
date last changed
2023-09-18 13:37:36
@article{5eeaac6b-4209-452f-991d-0432365920d1,
  abstract     = {{<p>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.</p>}},
  author       = {{Ditzen, Jan and Reese, Simon}},
  issn         = {{1536-867X}},
  keywords     = {{common factors; cross-section dependence; factor models; panel-data models; st0715; time-series models; xtnumfac}},
  language     = {{eng}},
  number       = {{2}},
  pages        = {{438--454}},
  publisher    = {{StataCorp LP}},
  series       = {{Stata Journal}},
  title        = {{xtnumfac : A battery of estimators for the number of common factors in time series and panel-data models}},
  url          = {{http://dx.doi.org/10.1177/1536867X231175305}},
  doi          = {{10.1177/1536867X231175305}},
  volume       = {{23}},
  year         = {{2023}},
}