HDRFA
Software:67102
High-Dimensional Robust Factor Analysis
Yong He, Lingxiao Li, Dong Liu, Wenxin Zhou
Last update: 7 November 2023
Software version identifier: 0.1.1, 0.1.0, 0.1.2, 0.1.3, 0.1.4
Copyright license: GNU General Public License, version 3.0, GNU General Public License, version 2.0
Factor models have been widely applied in areas such as economics and finance, and the well-known heavy-tailedness of macroeconomic/financial data should be taken into account when conducting factor analysis. We propose two algorithms to do robust factor analysis by considering the Huber loss. One is based on minimizing the Huber loss of the idiosyncratic error's L2 norm, which turns out to do Principal Component Analysis (PCA) on the weighted sample covariance matrix and thereby named as Huber PCA. The other one is based on minimizing the element-wise Huber loss, which can be solved by an iterative Huber regression algorithm. In this package we also provide the code for traditional PCA, the Robust Two Step (RTS) method by He et al. (2022) and the Quantile Factor Analysis (QFA) method by Chen et al. (2021) and He et al. (2023).