Fully Flexible Probabilities for Stress Testing and Portfolio Construction
Overview
Implements numerical entropy-pooling for portfolio construction and scenario analysis as described in Meucci, Attilio (2008) and Meucci, Attilio (2010) doi:10.2139/ssrn.1696802.
- Added
relative_entropy()to compute the relative entropy between two distributions; entropy-pooling()runs about to 30-60% faster (#19);view_on_marginal_distribution()restricts just the first two moments of the distribution;- Small changes in the documentation files.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 32 (6 internal)
- Examples that run
- 92%23 run in a plain check · 2 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 92%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 3%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 89
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
14 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/reckziegel/ffp on 2026-10-21.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2022-09-29 · The repository has a site deploy workflow
Show all practicesHide 2 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.2.2Latest
- RR 4.2.0 released · 2022-04-22
- 0.2.12022-03-24 · diff ↗
- 0.2.02022-02-17 · diff ↗ ·
removed 1 export
Fit2Momsadded 12 exports
bind_views, entropy_pooling, ffp_moments, fit_to_moments, view_on_copula, view_on_correlation, view_on_covariance, view_on_joint_distribution, view_on_marginal_distribution, view_on_mean, view_on_rank, view_on_volatility - 0.1.02021-07-14
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2021-07-14
- Total releases
- 4 / 5 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 56 KB / 2 files
- Download size
- 337 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ffp")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.