Learn R Programming

HDRFA (version 0.1.5)

High-Dimensional Robust Factor Analysis

Description

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

Copy Link

Version

Install

install.packages('HDRFA')

Monthly Downloads

176

Version

0.1.5

License

GPL-2 | GPL-3

Maintainer

Dong Liu

Last Published

July 22nd, 2024

Functions in HDRFA (0.1.5)

PCA

Principal Component Analysis for Large-Dimensional Factor Models
RTS_FN

Estimating Factor Numbers Robustly via Multivariate Kendall’s Tau Eigenvalue Ratios
IQR_FN

Estimating Factor Numbers via Rank Minimization Corresponding to IQR
HPCA_FN

Estimating Factor Numbers via Rank Minimization Corresponding to Huber PCA
RTS

Robust Two Step Algorithm for Large-Dimensional Elliptical Factor Models
PCA_FN

Estimating Factor Numbers via Eigenvalue Ratios Corresponding to PCA
HPCA

Huber Principal Component Analysis for Large-Dimensional Factor Models
IQR

Iterative Quantile Regression Methods for Quantile Factor Models