{
  "_id": "6a104a01acfb0bcc41c9f9aa",
  "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-05-10 08:24:15 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",
  "MD5sum": "eba77640d639f47eff50258079cf6432",
  "_user": "agandy",
  "_type": "src",
  "_file": "systemicrisk_0.4.3.tar.gz",
  "_fileid": "569180a9f38f0e9f4507ef82a1bb36142934781c1d9f1db5264bec4ff59a56d1",
  "_filesize": 1051217,
  "_sha256": "569180a9f38f0e9f4507ef82a1bb36142934781c1d9f1db5264bec4ff59a56d1",
  "_created": "2026-05-10T08:24:15.000Z",
  "_published": "2026-05-22T12:20:17.262Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77378088696,
      "time": 124,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902292657"
    },
    {
      "job": 77378088743,
      "time": 119,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902292354"
    },
    {
      "job": 77378089032,
      "time": 112,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902291504"
    },
    {
      "job": 77378089334,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902293247"
    },
    {
      "job": 77378089243,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902365484"
    },
    {
      "job": 77378089422,
      "time": 227,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902370198"
    },
    {
      "job": 77378088819,
      "time": 192,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902365963"
    },
    {
      "job": 77378088729,
      "time": 288,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902377720"
    },
    {
      "job": 77378088628,
      "time": 210,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902279629"
    },
    {
      "job": 77378088329,
      "time": 104,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7160314218"
    },
    {
      "job": 77378088882,
      "time": 137,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6902293978"
    },
    {
      "job": 77378089288,
      "time": 106,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6902291054"
    },
    {
      "job": 77378089343,
      "time": 143,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6902294897"
    }
  ],
  "_buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 4102758
  },
  "_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"
  },
  "_downloads": {
    "count": 582,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/systemicrisk"
  },
  "_searchresults": 62,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_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": "14.2.0-4ubuntu2~24.04.1",
      "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": 3.968482948553935,
  "_indexed": true,
  "_nocasepkg": "systemicrisk",
  "_universes": [
    "agandy"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-10T08:26:20.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "db305ff734dbfc28d61857efdfbb9c2a373b9ceaa3ec0a8f914920487d26c106",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-10T08:26:14.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "628a00b4d70679f73081e1907e23e1cadd44f03123fecee6a05b72dbe59ffc26",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-10T08:26:10.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "4cd512fbe368ccb98ace9cdf0220709a796eac677749d0ffdca2aba1a9a096c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.3",
      "date": "2026-05-10T08:26:20.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "1d9adb339164b79d1b3a50d85a604489528f386c01f7a46cb31ec1869be8acc0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-10T08:39:00.000Z",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "6fdec991071257c63886ae832fc5c9ff136726e144e2929abb5ecdd3ce3d90a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-10T08:39:21.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "76fcccd95f25407bc77f9cc2abaf1e5577548955c42a162416fdd89a032bb6b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-10T08:38:49.000Z",
      "arch": "aarch64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "8eb85ea444e6c58789fc368a44e81af72ea227b9bbe3dd1110b01b8a28aaddce",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.3",
      "date": "2026-05-10T08:40:08.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "e661b2ff69e75da740ed75ad425cd88592e12ca431de308df76365089a4e37d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-10T08:25:46.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "f5bda0cb901480c2c9dd1d85b66914743aa17271b37abf4fe38191e1f269f3cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-10T08:25:34.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "e4ff6e71d47f6f1b9016e1f33cdea2e6047782c5620587add4e3c830dea8e9d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.3",
      "date": "2026-05-10T08:25:45.000Z",
      "arch": "x86_64",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "9602ae6d2adf4e228e99fd7dc4d7f9ca682251c94ea7c814b7a084ce25af4650",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.3",
      "date": "2026-05-22T12:19:51.000Z",
      "arch": "emscripten",
      "commit": "cb44589c25416c4da09de4a69f5d11e253e8127c",
      "fileid": "bb006ec134cb72466aec1a0e7510f7d8c1b09e8c3a637fa65a9e9f34f3301d53",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agandy/actions/runs/25623903968"
    }
  ]
}