{
  "_id": "6a4f4d7a21b18e154850058b",
  "Package": "systemicrisk",
  "Type": "Package",
  "Title": "Systemic Risk and Network Reconstruction",
  "Version": "0.4.3",
  "Date": "2024-05-03",
  "Authors@R": "c(person(given=\"Axel\",family=\"Gandy\", role=c(\"aut\",\"cre\"),email=\"a.gandy@imperial.ac.uk\"),\nperson(given=\"Luitgard A.M.\",family=\"Veraart\", role=c(\"aut\")))",
  "Description": "Analysis of risk through liability matrices. Contains a\nGibbs sampler for network reconstruction, where only row and\ncolumn sums of the liabilities matrix as well as some other\nfixed entries are observed, following the methodology of\nGandy&Veraart (2016) <doi:10.1287/mnsc.2016.2546>. It also\nincorporates models that use a power law distribution on the\ndegree distribution.",
  "License": "GPL-3",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-07-09 07:16:00 UTC",
    "User": "root"
  },
  "Author": "Axel Gandy [aut, cre], Luitgard A.M. Veraart [aut]",
  "Maintainer": "Axel Gandy <a.gandy@imperial.ac.uk>",
  "Repository": "https://agandy.r-universe.dev",
  "Date/Publication": "2024-05-06 02:39:43 UTC",
  "RemoteUrl": "https://github.com/cran/systemicrisk",
  "RemoteRef": "HEAD",
  "RemoteSha": "cb44589c25416c4da09de4a69f5d11e253e8127c",
  "_user": "agandy",
  "_type": "src",
  "_file": "systemicrisk_0.4.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/7f3b2112b67656e35294dbd4969e91f660f96ee6ce6f7b32c30b0546089813fc",
  "_filesize": 1051559,
  "_sha256": "7f3b2112b67656e35294dbd4969e91f660f96ee6ce6f7b32c30b0546089813fc",
  "_expires": "2026-10-17T07:27:53.000Z",
  "_created": "2026-07-09T07:16:00.000Z",
  "_published": "2026-07-09T07:27:54.807Z",
  "_jobs": [
    {
      "job": 86061366411,
      "time": 132,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8191599838"
    },
    {
      "job": 86061366456,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8191598686"
    },
    {
      "job": 86061366397,
      "time": 156,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191608058"
    },
    {
      "job": 86061366445,
      "time": 125,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191596634"
    },
    {
      "job": 86061366363,
      "time": 217,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8191619876"
    },
    {
      "job": 86061366392,
      "time": 565,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8191741329"
    },
    {
      "job": 86061366478,
      "time": 199,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191633574"
    },
    {
      "job": 86061366395,
      "time": 384,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191680376"
    },
    {
      "job": 86060663313,
      "time": 256,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191552477"
    },
    {
      "job": 86061366328,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8191587894"
    },
    {
      "job": 86061366415,
      "time": 109,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8191590867"
    },
    {
      "job": 86061366448,
      "time": 116,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8191593314"
    },
    {
      "job": 86061366354,
      "time": 115,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8191592721"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745",
  "_status": "success",
  "_upstream": "https://github.com/cran/systemicrisk",
  "_commit": {
    "id": "cb44589c25416c4da09de4a69f5d11e253e8127c",
    "author": "Axel Gandy <a.gandy@imperial.ac.uk>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.4.3\n",
    "time": 1714963183
  },
  "_maintainer": {
    "name": "Axel Gandy",
    "email": "a.gandy@imperial.ac.uk",
    "login": "agandy",
    "description": "",
    "uuid": 4102758
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "lpSolve",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.11.2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 5,
  "_contributors": [
    {
      "user": "agandy",
      "count": 6,
      "uuid": 4102758
    }
  ],
  "_userbio": {
    "uuid": 4102758,
    "type": "user",
    "name": "Axel Gandy",
    "followers": 4
  },
  "_downloads": {
    "count": 615,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/systemicrisk"
  },
  "_searchresults": 78,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/systemicrisk.html",
    "manual.pdf"
  ],
  "_realowner": "agandy",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2",
      "date": "2015-03-19"
    },
    {
      "version": "0.3",
      "date": "2015-12-21"
    },
    {
      "version": "0.4",
      "date": "2017-01-08"
    },
    {
      "version": "0.4.1",
      "date": "2017-11-14"
    },
    {
      "version": "0.4.2",
      "date": "2019-01-13"
    },
    {
      "version": "0.4.3",
      "date": "2024-05-05"
    }
  ],
  "_exports": [
    "calibrate_ER",
    "calibrate_ER.nonsquare",
    "calibrate_FitnessEmp",
    "choosethin",
    "cloneMatrix",
    "default",
    "default_cascade",
    "default_clearing",
    "diagnose",
    "ERE_step_cycle",
    "findFeasibleMatrix",
    "findFeasibleMatrix_targetmean",
    "genL",
    "getfeasibleMatr",
    "GibbsSteps_kcycle",
    "Model.additivelink.exponential.fitness",
    "Model.fitness.conditionalmeandegree",
    "Model.fitness.genlambdaparprior",
    "Model.fitness.meandegree",
    "Model.Indep.p.lambda",
    "Model.lambda.constant",
    "Model.lambda.constant.nonsquare",
    "Model.lambda.GammaPrior",
    "Model.lambda.Gammaprior_mult",
    "Model.p.BetaPrior",
    "Model.p.Betaprior_mult",
    "Model.p.constant",
    "Model.p.constant.nonsquare",
    "Model.p.Fitness.Servedio",
    "sample_ERE",
    "sample_HierarchicalModel",
    "steps_ERE"
  ],
  "_help": [
    {
      "page": "calibrate_ER",
      "title": "Calibrate ER model to a given density",
      "topics": [
        "calibrate_ER"
      ]
    },
    {
      "page": "calibrate_ER.nonsquare",
      "title": "Calibrate ER model to a given density with a nonsquare matrix",
      "topics": [
        "calibrate_ER.nonsquare"
      ]
    },
    {
      "page": "calibrate_FitnessEmp",
      "title": "Calibrate empirical fitness model to a given density",
      "topics": [
        "calibrate_FitnessEmp"
      ]
    },
    {
      "page": "choosethin",
      "title": "Calibrate Thinning",
      "topics": [
        "choosethin"
      ]
    },
    {
      "page": "cloneMatrix",
      "title": "Creates a deep copy of a matrix",
      "topics": [
        "cloneMatrix"
      ]
    },
    {
      "page": "default",
      "title": "Default of Banks",
      "topics": [
        "default"
      ]
    },
    {
      "page": "default_cascade",
      "title": "Default Cascade",
      "topics": [
        "default_cascade"
      ]
    },
    {
      "page": "default_clearing",
      "title": "Clearing Vector with Bankruptcy Costs",
      "topics": [
        "default_clearing"
      ]
    },
    {
      "page": "diagnose",
      "title": "Outputs Effective Sample Size Diagonistics for MCMC run",
      "topics": [
        "diagnose"
      ]
    },
    {
      "page": "ERE_step_cycle",
      "title": "Does one Gibbs Step on a cycle",
      "topics": [
        "ERE_step_cycle"
      ]
    },
    {
      "page": "findFeasibleMatrix",
      "title": "Finds a Nonnegative Matrix Satisfying Row and Column Sums",
      "topics": [
        "findFeasibleMatrix"
      ]
    },
    {
      "page": "findFeasibleMatrix_targetmean",
      "title": "Creates a feasible starting matrix with a desired mean average degree",
      "topics": [
        "findFeasibleMatrix_targetmean"
      ]
    },
    {
      "page": "genL",
      "title": "Generate Liabilities Matrix from Prior",
      "topics": [
        "genL"
      ]
    },
    {
      "page": "getfeasibleMatr",
      "title": "Creates a feasible starting matrix",
      "topics": [
        "getfeasibleMatr"
      ]
    },
    {
      "page": "GibbsSteps_kcycle",
      "title": "Gibbs sampling step of a matrix in the ERE model",
      "topics": [
        "GibbsSteps_kcycle"
      ]
    },
    {
      "page": "Model.additivelink.exponential.fitness",
      "title": "Fitness model for liabilities matrix",
      "topics": [
        "Model.additivelink.exponential.fitness"
      ]
    },
    {
      "page": "Model.fitness.conditionalmeandegree",
      "title": "Mean out-degree of a node with given fitness in the fitness model",
      "topics": [
        "Model.fitness.conditionalmeandegree"
      ]
    },
    {
      "page": "Model.fitness.genlambdaparprior",
      "title": "Prior distribution for eta and zeta in the fitness model",
      "topics": [
        "Model.fitness.genlambdaparprior"
      ]
    },
    {
      "page": "Model.fitness.meandegree",
      "title": "Mean out-degree of a random node the fitness model",
      "topics": [
        "Model.fitness.meandegree"
      ]
    },
    {
      "page": "Model.Indep.p.lambda",
      "title": "Combination of Independent Models for p and lambda",
      "topics": [
        "Model.Indep.p.lambda"
      ]
    },
    {
      "page": "Model.lambda.constant",
      "title": "Model for a Constant lambda",
      "topics": [
        "Model.lambda.constant"
      ]
    },
    {
      "page": "Model.lambda.constant.nonsquare",
      "title": "Model for a Constant lambda and Non-Square Matrices",
      "topics": [
        "Model.lambda.constant.nonsquare"
      ]
    },
    {
      "page": "Model.lambda.GammaPrior",
      "title": "Model with Gamma Prior on Lambda",
      "topics": [
        "Model.lambda.GammaPrior"
      ]
    },
    {
      "page": "Model.lambda.Gammaprior_mult",
      "title": "Model Using Multiple Independent Components",
      "topics": [
        "Model.lambda.Gammaprior_mult"
      ]
    },
    {
      "page": "Model.p.BetaPrior",
      "title": "Model for a Random One-dimensional p",
      "topics": [
        "Model.p.BetaPrior"
      ]
    },
    {
      "page": "Model.p.Betaprior_mult",
      "title": "Model Using Multiple Independent Components",
      "topics": [
        "Model.p.Betaprior_mult"
      ]
    },
    {
      "page": "Model.p.constant",
      "title": "Model for a Constant p",
      "topics": [
        "Model.p.constant"
      ]
    },
    {
      "page": "Model.p.constant.nonsquare",
      "title": "Model for a constant p and Non-Square Matrices",
      "topics": [
        "Model.p.constant.nonsquare"
      ]
    },
    {
      "page": "Model.p.Fitness.Servedio",
      "title": "Multiplicative Fitness Model for Power Law",
      "topics": [
        "Model.p.Fitness.Servedio"
      ]
    },
    {
      "page": "sample_ERE",
      "title": "Sample from the ERE model with given row and column sums",
      "topics": [
        "sample_ERE"
      ]
    },
    {
      "page": "sample_HierarchicalModel",
      "title": "Sample from Hierarchical Model with given Row and Column Sums",
      "topics": [
        "sample_HierarchicalModel"
      ]
    },
    {
      "page": "steps_ERE",
      "title": "Perform Steps of the Gibbs Sampler of the ERE model",
      "topics": [
        "steps_ERE"
      ]
    }
  ],
  "_rundeps": [
    "lpSolve",
    "Rcpp"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "HierarchicalModels.Rmd",
      "filename": "HierarchicalModels.html",
      "title": "Example: Hierarchical Models",
      "engine": "knitr::knitr",
      "headings": [
        "An example using the fitness model",
        "Diagnostic of the R-output"
      ],
      "created": "2015-12-21 21:31:24",
      "modified": "2024-05-06 02:39:43",
      "commits": 3
    },
    {
      "source": "NonSquare.Rmd",
      "filename": "NonSquare.html",
      "title": "Non-square Matrices",
      "engine": "knitr::knitr",
      "headings": [
        "Non-square Matrices"
      ],
      "created": "2017-11-14 11:24:25",
      "modified": "2019-01-13 20:40:03",
      "commits": 2
    },
    {
      "source": "Introduction.Rmd",
      "filename": "Introduction.html",
      "title": "Some Introductory Examples",
      "engine": "knitr::knitr",
      "headings": [
        "An example with 3 banks",
        "Diagnostic of the R-output",
        "Default of banks"
      ],
      "created": "2015-03-20 00:02:28",
      "modified": "2024-05-06 02:39:43",
      "commits": 3
    }
  ],
  "_score": 4.068185861746161,
  "_indexed": true,
  "_nocasepkg": "systemicrisk",
  "_universes": [
    "agandy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-07-09T07:18:21.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/46f34b2b242e4bf71a090500b4a7ea4680e99f1e8cac209a87c7fadb6977f8a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-07-09T07:18:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/aac3a8f8e66dc858d91de15fae02be0a8c62811eac6e6616113b620532229028",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-07-09T07:18:44.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/4a536f653962b6dfa9297172ac356e18e069545713ff3611c61e5a0573744aa5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-07-09T07:18:06.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/917e13143cb579fa835ae254f241e5016561ef0e1c22cbcb0957df82172c1b60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-07-09T07:19:09.000Z",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/b8282a767ca866c24f457e11e12c2a9ecd5a93b07ece7c5455be0e651014e5d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-07-09T07:24:10.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/3c46f42121ef162114c252ea646855dfb413afb7a15f93aa49ada1f68b241067",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-07-09T07:19:45.000Z",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/9ec41c268499bd382059c7436409c95b9597180de4c5d5cec4a7963b387a663b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-07-09T07:21:15.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/c05a9dac51307f79965013de2b687f422536c60c9be04c7ad5a5e74c2b170cd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.3",
      "date": "2026-07-09T07:18:00.000Z",
      "arch": "emscripten",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/f04000d6d86e7bdb5116a29f1b7bf48090c62abb951678a98d9e55816e52ecd8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-07-09T07:17:18.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/7039500f490c6fd38e8163457d62c6524641e7b2c0091f5d48f05f05b92136a3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-07-09T07:17:28.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/3533307a2d8342f1f8db23c05e675825d461ecb15419f07cf98354a5b209e83c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-07-09T07:17:22.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "https://r2.ropensci.org/e9eaceac32640abd8c4b8c47ea8ae316cd55fd9eed2eb69e90a5d2b6a289ab63",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/29000786745"
    }
  ]
}