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

CRAN

277

Last 30 days

14769th

694

Last 90 days

2.7K

Last year

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

r2u CRAN

9

Last 30 days

23

Last 90 days

90

Last year

Trend: -35.7% (30d vs prior 30d)

autoCRAN

0

Last 7 days

5

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-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 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 11, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE May 10, 2026
WARNING r-devel-linux-x86_64-debian-gcc

PDF version of manual

LaTeX errors when creating PDF version.
This typically indicates Rd problems.
LaTeX errors found:
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies quantreg pracma HDRFA

Version History

7 tracked
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