Cross-Section Factor Models
Overview
Linear cross-section factor model fitting with least-squares and robust fitting the 'lmrobdetMM()' function from 'RobStatTM'; related volatility, Value at Risk and Expected Shortfall risk and performance attribution (factor-contributed vs idiosyncratic returns); tabular displays of risk and performance reports; factor model Monte Carlo. The package authors would like to thank Chicago Research on Security Prices,LLC for the cross-section of about 300 CRSP stocks data (in the data.table object 'stocksCRSP', and S&P GLOBAL MARKET INTELLIGENCE for contributing 14 factor scores (a.k.a "alpha factors".and "factor exposures") fundamental data on the 300 companies in the data.table object 'factorSPGMI'. The 'stocksCRSP' and 'factorsSPGMI' data are not covered by the GPL-2 license, are not provided as open source of any kind, and they are not to be redistributed in any form.
Install
Health
NOTERd filesr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64, r-patched-linux-x86_64, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64
checkRd: (-1) fmCov.Rd:37: Lost braces; missing escapes or markup?
37 | where, \code{alpha(i)} is the intercept, \code{f(t)} is a {K x 1} vector of
| ^
checkRd: (-1) plot.ffm.Rd:82: Lost braces; missing escapes or markup?
82 | \item{las}{one of {0, 1, 2, 3} to set the direction of axis labels, same as
| ^
checkRd: (-1) summary.ffm.Rd:39: Lost braces; missing escapes or markup?
39 | Returned object is of class {summary.ffm}.
| ^- NOTE13 NOTENow
- NOTE14 NOTE2026-03-10
Documentation
- Help pages
- 35 (1 internal)includes a package overview page
- Examples that run
- 20%2 run in a plain check · 6 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
- Exported functions with examples
- 33%
- Documented parameters
- 93%
- Return-value docs
- 100%
- Help pages citing references
- 20%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
PRs over time
1 development-tooling and community-health practice detected across 1 family in the upstream repository
Checks run against github.com/robustport/facmodcs on 2026-10-18.
Dependencies
Installing facmodCS adds 23 packages (18 with compiled code, 22 MB of source tarballs). Heaviest: data.table 5.7 MB, PerformanceAnalytics 5.0 MB, robustbase 2.2 MB.
Code & Tests
People & History
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0Latest2023-06-15 · current release
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-06-15
- Total releases
- 1 / 3 yrs
- License
- GPL-2 OSI
- Minimum R
- ≥ 3.5
- Download size
- 86 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("facmodCS")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.