{
  "_id": "6a1f0437b401979e7341b72a",
  "Type": "Package",
  "Package": "ffp",
  "Title": "Fully Flexible Probabilities for Stress Testing and Portfolio\nConstruction",
  "Version": "0.2.2.9000",
  "Authors@R": "person(given = \"Bernardo\",\nfamily = \"Reckziegel\",\nrole = c(\"aut\", \"cre\"),\nemail = \"bernardo_cse@hotmail.com\")",
  "Description": "Implements numerical entropy-pooling for portfolio\nconstruction and scenario analysis as described in Meucci,\nAttilio (2008) and Meucci, Attilio (2010)\n<doi:10.2139/ssrn.1696802>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/Reckziegel/FFP",
  "BugReports": "https://github.com/Reckziegel/FFP/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.1",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake libicu-dev",
  "Repository": "https://reckziegel.r-universe.dev",
  "Date/Publication": "2022-09-29 18:22:37 UTC",
  "RemoteUrl": "https://github.com/reckziegel/ffp",
  "RemoteRef": "HEAD",
  "RemoteSha": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-18 07:48:39 UTC",
    "User": "root"
  },
  "Author": "Bernardo Reckziegel [aut, cre]",
  "Maintainer": "Bernardo Reckziegel <bernardo_cse@hotmail.com>",
  "MD5sum": "f6ecabd966028587ada553d77d1edd9a",
  "_user": "reckziegel",
  "_type": "src",
  "_file": "ffp_0.2.2.9000.tar.gz",
  "_fileid": "8ae3a2fcadb4c181fffe409b5caf59080e6b12a8890f8fb9a222fac8386db9f3",
  "_filesize": 1637304,
  "_sha256": "8ae3a2fcadb4c181fffe409b5caf59080e6b12a8890f8fb9a222fac8386db9f3",
  "_created": "2026-05-18T07:48:39.000Z",
  "_published": "2026-06-02T16:26:31.332Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79120094928,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7052248201"
    },
    {
      "job": 79120094891,
      "time": 159,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052245605"
    },
    {
      "job": 79120095063,
      "time": 186,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7052244061"
    },
    {
      "job": 79120095584,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052243543"
    },
    {
      "job": 79120093971,
      "time": 213,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052194267"
    },
    {
      "job": 79120094025,
      "time": 127,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7363703378"
    },
    {
      "job": 79120094678,
      "time": 112,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7052229774"
    },
    {
      "job": 79120094850,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7052227672"
    },
    {
      "job": 79120095086,
      "time": 127,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7052234709"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/reckziegel/ffp",
  "_commit": {
    "id": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
    "author": "Bernardo Reckziegel <bernardo_cse@hotmail.com>",
    "committer": "Bernardo Reckziegel <bernardo_cse@hotmail.com>",
    "message": "Increment version number to 0.2.2.9000\n",
    "time": 1664475757
  },
  "_maintainer": {
    "name": "Bernardo Reckziegel",
    "email": "bernardo_cse@hotmail.com",
    "login": "reckziegel",
    "twitter": "@ReckziegelB",
    "description": "",
    "uuid": 24939585
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "version": ">= 0.2.1",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.0.10",
      "role": "Imports"
    },
    {
      "package": "forcats",
      "version": ">= 0.5.2",
      "role": "Imports"
    },
    {
      "package": "ggdist",
      "version": ">= 3.2.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.3.6",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "version": ">= 1.8.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "mvtnorm",
      "version": ">= 1.1-3",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "version": ">= 0.3.4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "scales",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "version": ">= 1.4.1",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "version": ">= 3.1.8",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 1.2.1",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "version": ">= 0.4.1",
      "role": "Imports"
    },
    {
      "package": "nloptr",
      "version": ">= 2.0.3",
      "role": "Imports"
    },
    {
      "package": "crayon",
      "role": "Imports"
    },
    {
      "package": "NlcOptim",
      "version": ">= 0.6",
      "role": "Imports"
    },
    {
      "package": "copula",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ghyp",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "version": ">= 1.40",
      "role": "Suggests"
    },
    {
      "package": "markdown",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "roxygen2",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.4",
      "role": "Suggests"
    },
    {
      "package": "xts",
      "version": ">= 0.12.1",
      "role": "Suggests"
    }
  ],
  "_owner": "reckziegel",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "bayesian-inference",
    "entropy-pooling",
    "flexible-probabilities",
    "portolio-optimization",
    "risk-management",
    "scenarios",
    "views"
  ],
  "_stars": 20,
  "_contributors": [
    {
      "user": "reckziegel",
      "count": 85,
      "uuid": 24939585
    }
  ],
  "_userbio": {
    "uuid": 24939585,
    "type": "user",
    "name": "Bernardo Reckziegel"
  },
  "_downloads": {
    "count": 219,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ffp"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/reckziegel/ffp",
  "_searchresults": 32,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ffp.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/reckziegel/ffp",
  "_realowner": "reckziegel",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-07-14"
    },
    {
      "version": "0.2.0",
      "date": "2022-02-17"
    },
    {
      "version": "0.2.1",
      "date": "2022-03-24"
    },
    {
      "version": "0.2.2",
      "date": "2022-09-29"
    }
  ],
  "_exports": [
    "as_ffp",
    "bind_probs",
    "bind_views",
    "bootstrap_scenarios",
    "crisp",
    "double_decay",
    "empirical_stats",
    "ens",
    "entropy_pooling",
    "exp_decay",
    "ffp",
    "ffp_moments",
    "fit_to_moments",
    "half_life",
    "is_ffp",
    "kernel_entropy",
    "kernel_normal",
    "new_ffp",
    "relative_entropy",
    "scenario_density",
    "scenario_histogram",
    "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"
  ],
  "_datasets": [
    {
      "name": "db",
      "title": "Dataset used in Historical Scenarios with Fully Flexible Probabilities ('matrix' format).",
      "object": "db",
      "class": [
        "matrix",
        "array"
      ],
      "fields": [
        "SWAP2YR",
        "SWAP10YR",
        "CDXIG OTR",
        "S&P 500",
        "Dollar Index",
        "Crude",
        "Gold",
        "VIX",
        "10YR Inflation Swap Rate"
      ],
      "rows": 1083,
      "table": true,
      "tojson": true
    },
    {
      "name": "db_tbl",
      "title": "Dataset used in Historical Scenarios with Fully Flexible Probabilities ('tibble' format).",
      "object": "db_tbl",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "SWAP2YR",
        "SWAP10YR",
        "CDXIG OTR",
        "S&P 500",
        "Dollar Index",
        "Crude",
        "Gold",
        "VIX",
        "10YR Inflation Swap Rate"
      ],
      "rows": 1083,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "autoplot",
      "title": "Inspection of a 'ffp' object with ggplot2",
      "topics": [
        "autoplot.ffp",
        "plot.ffp"
      ]
    },
    {
      "page": "bind_probs",
      "title": "Stack Flexible Probabilities",
      "topics": [
        "bind_probs"
      ]
    },
    {
      "page": "bind_views",
      "title": "Stack Different Views",
      "topics": [
        "bind_views"
      ]
    },
    {
      "page": "bootstrap_scenarios",
      "title": "Flexible Probabilities Driven Bootstrap",
      "topics": [
        "bootstrap_scenarios",
        "bootstrap_scenarios.data.frame",
        "bootstrap_scenarios.matrix",
        "bootstrap_scenarios.numeric",
        "bootstrap_scenarios.tbl",
        "bootstrap_scenarios.ts",
        "bootstrap_scenarios.xts"
      ]
    },
    {
      "page": "crisp",
      "title": "Full Information by Market Conditioning",
      "topics": [
        "crisp",
        "crisp.data.frame",
        "crisp.default",
        "crisp.matrix",
        "crisp.numeric",
        "crisp.tbl_df",
        "crisp.ts",
        "crisp.xts"
      ]
    },
    {
      "page": "db",
      "title": "Dataset used in Historical Scenarios with Fully Flexible Probabilities ('matrix' format).",
      "topics": [
        "db"
      ]
    },
    {
      "page": "db_tbl",
      "title": "Dataset used in Historical Scenarios with Fully Flexible Probabilities ('tibble' format).",
      "topics": [
        "db_tbl"
      ]
    },
    {
      "page": "double_decay",
      "title": "Flexible Probabilities using Partial Information",
      "topics": [
        "double_decay",
        "double_decay.data.frame",
        "double_decay.default",
        "double_decay.matrix",
        "double_decay.numeric",
        "double_decay.tbl",
        "double_decay.ts",
        "double_decay.xts"
      ]
    },
    {
      "page": "empirical_stats",
      "title": "Summary Statistics for Empirical Distributions",
      "topics": [
        "empirical_stats",
        "empirical_stats.data.frame",
        "empirical_stats.default",
        "empirical_stats.matrix",
        "empirical_stats.numeric",
        "empirical_stats.tbl_df",
        "empirical_stats.ts",
        "empirical_stats.xts"
      ]
    },
    {
      "page": "ens",
      "title": "Effective Number of Scenarios",
      "topics": [
        "ens"
      ]
    },
    {
      "page": "entropy_pooling",
      "title": "Numerical Entropy Minimization",
      "topics": [
        "entropy_pooling"
      ]
    },
    {
      "page": "exp_decay",
      "title": "Full Information by Exponential Decay",
      "topics": [
        "exp_decay",
        "exp_decay.data.frame",
        "exp_decay.default",
        "exp_decay.matrix",
        "exp_decay.numeric",
        "exp_decay.tbl",
        "exp_decay.ts",
        "exp_decay.xts"
      ]
    },
    {
      "page": "ffp",
      "title": "Manipulate the 'ffp' Class",
      "topics": [
        "as_ffp",
        "as_ffp.default",
        "as_ffp.integer",
        "ffp",
        "is_ffp"
      ]
    },
    {
      "page": "ffp_moments",
      "title": "Moments with Flexible Probabilities",
      "topics": [
        "ffp_moments",
        "ffp_moments.data.frame",
        "ffp_moments.default",
        "ffp_moments.matrix",
        "ffp_moments.numeric",
        "ffp_moments.tbl_df",
        "ffp_moments.xts"
      ]
    },
    {
      "page": "half_life",
      "title": "Half-Life Calculation",
      "topics": [
        "half_life"
      ]
    },
    {
      "page": "kernel_entropy",
      "title": "Partial Information Kernel-Damping",
      "topics": [
        "kernel_entropy",
        "kernel_entropy.data.frame",
        "kernel_entropy.default",
        "kernel_entropy.matrix",
        "kernel_entropy.numeric",
        "kernel_entropy.tbl_df",
        "kernel_entropy.ts",
        "kernel_entropy.xts"
      ]
    },
    {
      "page": "kernel_normal",
      "title": "Full Information by Kernel-Damping",
      "topics": [
        "kernel_normal",
        "kernel_normal.data.frame",
        "kernel_normal.default",
        "kernel_normal.matrix",
        "kernel_normal.numeric",
        "kernel_normal.tbl_df",
        "kernel_normal.ts",
        "kernel_normal.xts"
      ]
    },
    {
      "page": "relative_entropy",
      "title": "Relative Entropy",
      "topics": [
        "relative_entropy"
      ]
    },
    {
      "page": "scenario_density",
      "title": "Plot Scenarios",
      "topics": [
        "scenario_density",
        "scenario_histogram"
      ]
    },
    {
      "page": "view_on_copula",
      "title": "Views on Copulas",
      "topics": [
        "view_on_copula",
        "view_on_copula.default",
        "view_on_copula.matrix",
        "view_on_copula.tbl_df",
        "view_on_copula.xts"
      ]
    },
    {
      "page": "view_on_correlation",
      "title": "Views on Correlation Structure",
      "topics": [
        "view_on_correlation",
        "view_on_correlation.default",
        "view_on_correlation.matrix",
        "view_on_correlation.tbl_df",
        "view_on_correlation.xts"
      ]
    },
    {
      "page": "view_on_joint_distribution",
      "title": "Views on Joint Distribution",
      "topics": [
        "view_on_joint_distribution",
        "view_on_joint_distribution.default",
        "view_on_joint_distribution.matrix",
        "view_on_joint_distribution.tbl_df",
        "view_on_joint_distribution.xts"
      ]
    },
    {
      "page": "view_on_marginal_distribution",
      "title": "Views on Marginal Distribution",
      "topics": [
        "view_on_marginal_distribution",
        "view_on_marginal_distribution.default",
        "view_on_marginal_distribution.matrix",
        "view_on_marginal_distribution.tbl_df",
        "view_on_marginal_distribution.xts"
      ]
    },
    {
      "page": "view_on_mean",
      "title": "Views on Expected Returns",
      "topics": [
        "view_on_mean",
        "view_on_mean.default",
        "view_on_mean.matrix",
        "view_on_mean.tbl_df",
        "view_on_mean.xts"
      ]
    },
    {
      "page": "view_on_rank",
      "title": "Views on Relative Performance",
      "topics": [
        "view_on_rank",
        "view_on_rank.default",
        "view_on_rank.matrix",
        "view_on_rank.tbl_df",
        "view_on_rank.xts"
      ]
    },
    {
      "page": "view_on_volatility",
      "title": "Views on Volatility",
      "topics": [
        "view_on_volatility",
        "view_on_volatility.default",
        "view_on_volatility.matrix",
        "view_on_volatility.tbl_df",
        "view_on_volatility.xts"
      ]
    }
  ],
  "_readme": "https://github.com/reckziegel/ffp/raw/HEAD/README.md",
  "_rundeps": [
    "assertthat",
    "cli",
    "cpp11",
    "crayon",
    "distributional",
    "dplyr",
    "farver",
    "forcats",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "mvtnorm",
    "NlcOptim",
    "nloptr",
    "numDeriv",
    "pillar",
    "pkgconfig",
    "purrr",
    "quadprog",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "how-does-EP-work.Rmd",
      "filename": "how-does-EP-work.html",
      "title": "How does EP work?",
      "author": "Bernardo Reckziegel",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2022-09-28 14:00:38",
      "modified": "2022-09-28 14:00:38",
      "commits": 1
    },
    {
      "source": "views.Rmd",
      "filename": "views.html",
      "title": "Views",
      "author": "Bernardo Reckziegel",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Views on Expected Returns",
        "Views on Volatility",
        "Views on Correlation",
        "Views on Relative Performance",
        "Views on Marginal Distribution",
        "Views on Copulas"
      ],
      "created": "2022-09-28 14:00:38",
      "modified": "2022-09-29 13:22:32",
      "commits": 4
    }
  ],
  "_score": 5.8061799739838875,
  "_indexed": true,
  "_nocasepkg": "ffp",
  "_universes": [
    "reckziegel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:51:08.000Z",
      "distro": "noble",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "76098f30f45dae32bc56f416a13b5df62e28a708a08668c4ea19c49106e297c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:51:03.000Z",
      "distro": "noble",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "a2f87b4119643d1f62ac482f1a5136aa9b78282761851b26a2dd12266540a1b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:51:08.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "d91f554d3a835544666a55f8e2af2036a81a2d2d75e41b9d7516cc11f94cae1c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:50:56.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "8e751974017012be19e4bbaf633f5fd1bd7c3c751a4323e87af74ffaacacd022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:50:04.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "b23631b511483e3a38c7674c322b712f86a90a1873254f6e7d42e9d7689f3f7b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:49:58.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "6a774f3ab34c276418007debfe497d3fc590ab45cc7f72bdc2f21299b07b9a35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-18T07:50:15.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "5c122d11759e10bf009fdd3dc1ae0d651b952261b4addc618f561282fad2361d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9000",
      "date": "2026-06-02T16:26:13.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "b58313400d3dfe46638766453be8ad2b1aa4ce2e9b942afdd7708ae1645a958a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/26020341820"
    }
  ]
}