Skip to content

HDRFA

High-Dimensional Robust Factor Analysis

v0.1.5 · Jul 21, 2024 · GPL-2 | GPL-3

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

Downloads

273

Last 30 days

15526th

666

Last 90 days

2.7K

Last year

Trend: +21.9% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies quantreg pracma HDRFA

Version History

new 0.1.5 Mar 10, 2026
updated 0.1.5 ← 0.1.4 diff Jul 21, 2024
updated 0.1.4 ← 0.1.3 diff Nov 6, 2023
updated 0.1.3 ← 0.1.2 diff Oct 5, 2023
updated 0.1.2 ← 0.1.1 diff Sep 25, 2023
updated 0.1.1 ← 0.1.0 diff Apr 5, 2023
new 0.1.0 Mar 6, 2023