HDRFA: High-Dimensional Robust Factor Analysis

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).

Getting started

Package details

AuthorYong He [aut], Lingxiao Li [aut], Dong Liu [aut, cre], Wenxin Zhou [aut]
MaintainerDong Liu <liudong_stat@163.com>
LicenseGPL-2 | GPL-3
Version0.1.5
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("HDRFA")

Try the HDRFA package in your browser

Any scripts or data that you put into this service are public.

HDRFA documentation built on Sept. 11, 2024, 9:25 p.m.