Package: ffp 0.2.2.9000

ffp: Fully Flexible Probabilities for Stress Testing and Portfolio Construction

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

Authors:Bernardo Reckziegel [aut, cre]

ffp_0.2.2.9000.tar.gz
ffp_0.2.2.9000.zip(r-4.5)ffp_0.2.2.9000.zip(r-4.4)ffp_0.2.2.9000.zip(r-4.3)
ffp_0.2.2.9000.tgz(r-4.4-any)ffp_0.2.2.9000.tgz(r-4.3-any)
ffp_0.2.2.9000.tar.gz(r-4.5-noble)ffp_0.2.2.9000.tar.gz(r-4.4-noble)
ffp_0.2.2.9000.tgz(r-4.4-emscripten)ffp_0.2.2.9000.tgz(r-4.3-emscripten)
ffp.pdf |ffp.html
ffp/json (API)
NEWS

# Install 'ffp' in R:
install.packages('ffp', repos = c('https://reckziegel.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/reckziegel/ffp/issues

Datasets:
  • db - Dataset used in Historical Scenarios with Fully Flexible Probabilities ('matrix' format).
  • db_tbl - Dataset used in Historical Scenarios with Fully Flexible Probabilities ('tibble' format).

On CRAN:

bayesian-inferenceentropy-poolingflexible-probabilitiesportolio-optimizationrisk-managementscenariosviews

5.65 score 14 stars 32 scripts 255 downloads 1 mentions 29 exports 49 dependencies

Last updated 2 years agofrom:da655b211d. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 17 2024
R-4.5-winOKNov 17 2024
R-4.5-linuxOKNov 17 2024
R-4.4-winOKNov 17 2024
R-4.4-macOKNov 17 2024
R-4.3-winOKNov 17 2024
R-4.3-macOKNov 17 2024

Exports:as_ffpbind_probsbind_viewsbootstrap_scenarioscrispdouble_decayempirical_statsensentropy_poolingexp_decayffpffp_momentsfit_to_momentshalf_lifeis_ffpkernel_entropykernel_normalnew_ffprelative_entropyscenario_densityscenario_histogramview_on_copulaview_on_correlationview_on_covarianceview_on_joint_distributionview_on_marginal_distributionview_on_meanview_on_rankview_on_volatility

Dependencies:assertthatclicolorspacecpp11crayondistributionaldplyrfansifarverforcatsgenericsggdistggplot2gluegtableisobandlabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmunsellmvtnormNlcOptimnlmenloptrnumDerivpillarpkgconfigpurrrquadprogR6RColorBrewerRcpprlangscalesstringistringrtibbletidyrtidyselecttimechangeutf8vctrsviridisLitewithr

How does EP work?

Rendered fromhow-does-EP-work.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2022-09-28
Started: 2022-09-28

Views

Rendered fromviews.Rmdusingknitr::rmarkdownon Nov 17 2024.

Last update: 2022-09-29
Started: 2022-09-28

Readme and manuals

Help Manual

Help pageTopics
Inspection of a 'ffp' object with ggplot2autoplot.ffp plot.ffp
Stack Flexible Probabilitiesbind_probs
Stack Different Viewsbind_views
Flexible Probabilities Driven Bootstrapbootstrap_scenarios bootstrap_scenarios.data.frame bootstrap_scenarios.matrix bootstrap_scenarios.numeric bootstrap_scenarios.tbl bootstrap_scenarios.ts bootstrap_scenarios.xts
Full Information by Market Conditioningcrisp crisp.data.frame crisp.default crisp.matrix crisp.numeric crisp.tbl_df crisp.ts crisp.xts
Dataset used in Historical Scenarios with Fully Flexible Probabilities ('matrix' format).db
Dataset used in Historical Scenarios with Fully Flexible Probabilities ('tibble' format).db_tbl
Flexible Probabilities using Partial Informationdouble_decay double_decay.data.frame double_decay.default double_decay.matrix double_decay.numeric double_decay.tbl double_decay.ts double_decay.xts
Summary Statistics for Empirical Distributionsempirical_stats empirical_stats.data.frame empirical_stats.default empirical_stats.matrix empirical_stats.numeric empirical_stats.tbl_df empirical_stats.ts empirical_stats.xts
Effective Number of Scenariosens
Numerical Entropy Minimizationentropy_pooling
Full Information by Exponential Decayexp_decay exp_decay.data.frame exp_decay.default exp_decay.matrix exp_decay.numeric exp_decay.tbl exp_decay.ts exp_decay.xts
Manipulate the 'ffp' Classas_ffp as_ffp.default as_ffp.integer ffp is_ffp
Moments with Flexible Probabilitiesffp_moments ffp_moments.data.frame ffp_moments.default ffp_moments.matrix ffp_moments.numeric ffp_moments.tbl_df ffp_moments.xts
Half-Life Calculationhalf_life
Partial Information Kernel-Dampingkernel_entropy kernel_entropy.data.frame kernel_entropy.default kernel_entropy.matrix kernel_entropy.numeric kernel_entropy.tbl_df kernel_entropy.ts kernel_entropy.xts
Full Information by Kernel-Dampingkernel_normal kernel_normal.data.frame kernel_normal.default kernel_normal.matrix kernel_normal.numeric kernel_normal.tbl_df kernel_normal.ts kernel_normal.xts
Relative Entropyrelative_entropy
Plot Scenariosscenario_density scenario_histogram
Views on Copulasview_on_copula view_on_copula.default view_on_copula.matrix view_on_copula.tbl_df view_on_copula.xts
Views on Correlation Structureview_on_correlation view_on_correlation.default view_on_correlation.matrix view_on_correlation.tbl_df view_on_correlation.xts
Views on Joint Distributionview_on_joint_distribution view_on_joint_distribution.default view_on_joint_distribution.matrix view_on_joint_distribution.tbl_df view_on_joint_distribution.xts
Views on Marginal Distributionview_on_marginal_distribution view_on_marginal_distribution.default view_on_marginal_distribution.matrix view_on_marginal_distribution.tbl_df view_on_marginal_distribution.xts
Views on Expected Returnsview_on_mean view_on_mean.default view_on_mean.matrix view_on_mean.tbl_df view_on_mean.xts
Views on Relative Performanceview_on_rank view_on_rank.default view_on_rank.matrix view_on_rank.tbl_df view_on_rank.xts
Views on Volatilityview_on_volatility view_on_volatility.default view_on_volatility.matrix view_on_volatility.tbl_df view_on_volatility.xts