{
  "_id": "6a326e213efcd9bda43879db",
  "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-06-17 09:48:05 UTC",
    "User": "root"
  },
  "Author": "Bernardo Reckziegel [aut, cre]",
  "Maintainer": "Bernardo Reckziegel <bernardo_cse@hotmail.com>",
  "MD5sum": "5b583f534c2ae1459f03e2b32fd9b92d",
  "_user": "reckziegel",
  "_type": "src",
  "_file": "ffp_0.2.2.9000.tar.gz",
  "_fileid": "40f1bc7d74925a2a8197815747f04177fb2f86fcb76c71b1e04e82c944bab5c4",
  "_filesize": 1637309,
  "_sha256": "40f1bc7d74925a2a8197815747f04177fb2f86fcb76c71b1e04e82c944bab5c4",
  "_created": "2026-06-17T09:48:05.000Z",
  "_published": "2026-06-17T09:51:29.046Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 81866064905,
      "time": 166,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7691846077"
    },
    {
      "job": 81866064898,
      "time": 151,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691839331"
    },
    {
      "job": 81866064961,
      "time": 163,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7691835558"
    },
    {
      "job": 81866064941,
      "time": 138,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691826843"
    },
    {
      "job": 81865448766,
      "time": 194,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691776120"
    },
    {
      "job": 81866064935,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691826199"
    },
    {
      "job": 81866064971,
      "time": 105,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7691822922"
    },
    {
      "job": 81866064945,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7691824453"
    },
    {
      "job": 81866064981,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7691819391"
    }
  ],
  "_buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264",
  "_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",
    "followers": 52
  },
  "_downloads": {
    "count": 268,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ffp"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/reckziegel/ffp",
  "_searchresults": 33,
  "_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",
    "LICENSE",
    "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.819543935541869,
  "_indexed": true,
  "_nocasepkg": "ffp",
  "_universes": [
    "reckziegel"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:50:30.000Z",
      "distro": "noble",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "e3ac04a60e0c1ba65896d33eeb783f0a32e95d13f980e56057119e2a34e359b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:50:16.000Z",
      "distro": "noble",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "1c92f7ae1faa6e13995523617226bf1fed1bda12a970830f1621cc56327e6d23",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:50:17.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "05926955a4383c032fe8a34adf8233b4e4445b26b0b5f8280158594b876e5f0d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:49:59.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "c8638f4e6d11ea15635f17e8e2d0871885a3df6ad73c67f3cbc8c1802aee3e70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:50:19.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "b953589418f9cf8420253588187f5ca603de97006fdfaa5b612d0685e2d31f68",
      "status": "success",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:49:26.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "3c8af83008f2b23c12ad350f27ec78076b76b298624b20a081c22136bcddff6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:49:24.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "55ddf5b87d89def4fd9499050d5265b51a0e4c0eded9691339f5cffaac56198f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-06-17T09:49:15.000Z",
      "commit": "da655b211d72304d7bf436a5116fb3b4c40d5a0f",
      "fileid": "b4c1708cf0e1a4a92141a7733615d4a0f3d685b2eaabfd4471058627d2c683f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/reckziegel/actions/runs/27680179264"
    }
  ]
}