Skip to content

GCCfactor

GCC Estimation of the Multilevel Factor Model

v1.1.4 · Dec 4, 2025 · GPL (>= 3)

Description

Provides methods for model selection, estimation, inference, and simulation for the multilevel factor model, based on the principal component estimation and generalised canonical correlation approach. Details can be found in "Generalised Canonical Correlation Estimation of the Multilevel Factor Model." Lin and Shin (2025) <doi:10.2139/ssrn.4295429>.

Downloads

272

Last 30 days

15611th

636

Last 90 days

3.5K

Last year

Trend: +46.2% (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 27, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 24, 2026
ERROR r-devel-linux-x86_64-debian-gcc

examples

Running examples in ‘GCCfactor-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: vcov_global_comp
> ### Title: Get the variance estimates of the global component
> ### Aliases: vcov
...[truncated]...
 arguments
Error in bwNeweyWest(x, order.by = order.by, prewhite = prewhite, ar.method = ar.method,  : 
  VAR(1) prewhitening of estimating functions failed
Calls: vcov_global_comp -> vcov_global_loading -> <Anonymous> -> bwNeweyWest
Execution halted
ERROR r-devel-linux-x86_64-fedora-clang

examples

Running examples in ‘GCCfactor-Ex.R’ failed
The error most likely occurred in:

> ### Name: vcov_global_comp
> ### Title: Get the variance estimates of the global component
> ### Aliases: vcov_global_comp
> 
> ### ** Examples
> 
> panel <- UKhouse # 
...[truncated]...
 arguments
Error in bwNeweyWest(x, order.by = order.by, prewhite = prewhite, ar.method = ar.method,  : 
  VAR(1) prewhitening of estimating functions failed
Calls: vcov_global_comp -> vcov_global_loading -> <Anonymous> -> bwNeweyWest
Execution halted
ERROR r-devel-linux-x86_64-fedora-gcc

examples

Running examples in ‘GCCfactor-Ex.R’ failed
The error most likely occurred in:

> ### Name: vcov_global_comp
> ### Title: Get the variance estimates of the global component
> ### Aliases: vcov_global_comp
> 
> ### ** Examples
> 
> panel <- UKhouse # 
...[truncated]...
 arguments
Error in bwNeweyWest(x, order.by = order.by, prewhite = prewhite, ar.method = ar.method,  : 
  VAR(1) prewhitening of estimating functions failed
Calls: vcov_global_comp -> vcov_global_loading -> <Anonymous> -> bwNeweyWest
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies stringr sandwich Matrix reshape2 GCCfactor

Version History

new 1.1.4 Mar 10, 2026
updated 1.1.4 ← 1.1.2 diff Dec 4, 2025
updated 1.1.2 ← 1.1.1 diff Nov 27, 2025
updated 1.1.1 ← 1.1.0 diff Sep 11, 2025
updated 1.1.0 ← 1.0.1 diff Jun 26, 2025
updated 1.0.1 ← 1.0 diff Oct 29, 2023
new 1.0 Oct 12, 2023