{
  "_id": "6ae327c295ca2370cc8cdd1e",
  "Package": "StanMoMo",
  "Title": "Bayesian Mortality Modelling with 'Stan'",
  "Version": "1.2.0",
  "Authors@R": "c(person(given = \"Karim\", family = \"Barigou\", role = c(\"aut\", \"cre\"), email = \"karim290492@gmail.com\",comment = c(ORCID = \"0000-0003-3389-9596\")),\nperson(given = \"Pierre-Olivier\", family = \"Goffard\",role=\"aut\",comment = c(ORCID = \"0000-0002-2667-6207\")))",
  "Description": "Implementation of popular mortality models using the\n'rstan' package, which provides the R interface to the 'Stan'\nC++ library for Bayesian estimation. The package supports\nwell-known models proposed in the actuarial and demographic\nliterature including the Lee-Carter (1992)\n<doi:10.1080/01621459.1992.10475265> and the Cairns-Blake-Dowd\n(2006) <doi:10.1111/j.1539-6975.2006.00195.x> models. By a\nsimple call, the user inputs deaths and exposures and the\npackage outputs the MCMC simulations for each parameter, the\nlog likelihoods and predictions. Moreover, the package includes\ntools for model selection and Bayesian model averaging by leave\nfuture-out validation.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.2.3",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/kabarigou/StanMoMo",
  "BugReports": "https://github.com/kabarigou/StanMoMo/issues",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-29 10:46:36 UTC",
    "User": "root"
  },
  "Author": "Karim Barigou [aut, cre]\n(<https://orcid.org/0000-0003-3389-9596>), Pierre-Olivier\nGoffard [aut] (<https://orcid.org/0000-0002-2667-6207>)",
  "Maintainer": "Karim Barigou <karim290492@gmail.com>",
  "Config/pak/sysreqs": "make",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2023-09-23 23:30:39 UTC",
  "RemoteUrl": "https://github.com/cran/StanMoMo",
  "RemoteRef": "HEAD",
  "RemoteSha": "01163f7dec3e1e99b25fc90d777299403879261b",
  "_user": "cran",
  "_type": "src",
  "_file": "StanMoMo_1.2.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e3d46d5835fdadc515aa6090ee368977e7ee0512544dc20257584d7bd0c6345e",
  "_filesize": 790833,
  "_sha256": "e3d46d5835fdadc515aa6090ee368977e7ee0512544dc20257584d7bd0c6345e",
  "_expires": "2027-02-06T11:02:24.000Z",
  "_created": "2026-10-29T10:46:36.000Z",
  "_published": "2026-10-29T11:02:26.118Z",
  "_upstream": "https://github.com/cran/StanMoMo",
  "_status": "success",
  "_maintainer": {
    "name": "Karim Barigou",
    "email": "karim290492@gmail.com",
    "login": "kabarigou",
    "linkedin": "in/karim-barigou",
    "description": "Professor of actuarial sciences at UCLouvain (Louvain-la-neuve, Belgium) \n\n\n",
    "uuid": 65466182,
    "orcid": "0000-0003-3389-9596"
  },
  "_jobs": [
    {
      "job": 123403139015,
      "time": 419,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12891637706"
    },
    {
      "job": 123403139022,
      "time": 534,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12892435297"
    },
    {
      "job": 123403139010,
      "time": 424,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12892190997"
    },
    {
      "job": 123403139080,
      "time": 498,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12891009672"
    },
    {
      "job": 123397504628,
      "time": 741,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12890764113"
    },
    {
      "job": 123403139002,
      "time": 245,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12891546971"
    },
    {
      "job": 123403139098,
      "time": 486,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12891836767"
    },
    {
      "job": 123403138985,
      "time": 670,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "12891358358"
    },
    {
      "job": 123403139000,
      "time": 540,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12891368486"
    },
    {
      "job": 123403138993,
      "time": 525,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "NOTE",
      "artifact": "12891717774"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951",
  "_commit": {
    "id": "01163f7dec3e1e99b25fc90d777299403879261b",
    "author": "Karim Barigou <karim290492@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.2.0\n",
    "time": 1695511839
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "role": "LinkingTo"
    },
    {
      "package": "loo",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.0.0",
      "role": "Imports"
    },
    {
      "package": "tidyverse",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "httr",
      "role": "Imports"
    },
    {
      "package": "bridgesampling",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "latex2exp",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "shinystan",
      "role": "Suggests"
    },
    {
      "package": "Cairo",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "kabarigou",
      "count": 4,
      "uuid": 65466182
    }
  ],
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 634,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 320,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/StanMoMo"
  },
  "_devurl": "https://github.com/kabarigou/stanmomo",
  "_searchresults": 15,
  "_topics": [
    "onetbb",
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/StanMoMo.html"
  ],
  "_homeurl": "https://github.com/kabarigou/stanmomo",
  "_realowner": "kabarigou",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2021-10-07"
    },
    {
      "version": "1.1.0",
      "date": "2022-06-23"
    },
    {
      "version": "1.1.1",
      "date": "2023-09-17"
    },
    {
      "version": "1.2.0",
      "date": "2023-09-23"
    }
  ],
  "_exports": [
    "apc_stan",
    "boxplot_post_dist",
    "cbd_stan",
    "compute_weights_BMA",
    "extract_map",
    "fit_mo_mo",
    "lc_stan",
    "m6_stan",
    "mortality_weights",
    "rh_stan",
    "sim_death_apc",
    "sim_death_cbd",
    "sim_death_lc",
    "sim_death_m6",
    "sim_death_mix_cbd_rh",
    "sim_death_rh",
    "sim_mortality_data"
  ],
  "_datasets": [
    {
      "name": "FRMaleData",
      "title": "Deaths and Exposures Data of French Males",
      "object": "FRMaleData",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "StanMoMo-package",
      "title": "The 'StanMoMo' package.",
      "topics": [
        "StanMoMo-package",
        "StanMoMo"
      ]
    },
    {
      "page": "apc_stan",
      "title": "Bayesian Age-Period-Cohort model with 'Stan'",
      "topics": [
        "apc_stan"
      ]
    },
    {
      "page": "boxplot_post_dist",
      "title": "Boxplot for the posterior distribution",
      "topics": [
        "boxplot_post_dist"
      ]
    },
    {
      "page": "cbd_stan",
      "title": "Bayesian Cairns-Blake-Dowd (CBD) model with Stan",
      "topics": [
        "cbd_stan"
      ]
    },
    {
      "page": "compute_weights_BMA",
      "title": "Compute the model evidence/marginal likelihood via bridge sampling (or via the harmonic mean estimator if bridge sampling fails)",
      "topics": [
        "compute_weights_BMA"
      ]
    },
    {
      "page": "extract_map",
      "title": "Function to get the a posterior means of the parameters based on a stanfit object",
      "topics": [
        "extract_map"
      ]
    },
    {
      "page": "fit_mo_mo",
      "title": "Wrapper function to fit and forecast mortality models",
      "topics": [
        "fit_mo_mo"
      ]
    },
    {
      "page": "FRMaleData",
      "title": "Deaths and Exposures Data of French Males",
      "topics": [
        "FRMaleData"
      ]
    },
    {
      "page": "lc_stan",
      "title": "Bayesian Lee-Carter with Stan",
      "topics": [
        "lc_stan"
      ]
    },
    {
      "page": "m6_stan",
      "title": "Bayesian M6 model with Stan",
      "topics": [
        "m6_stan"
      ]
    },
    {
      "page": "mortality_weights",
      "title": "Model averaging/weighting via future-out stacking or pseudo-BMA weighting",
      "topics": [
        "mortality_weights"
      ]
    },
    {
      "page": "rh_stan",
      "title": "Bayesian Renshaw-Haberman model with Stan",
      "topics": [
        "rh_stan"
      ]
    },
    {
      "page": "sim_death_apc",
      "title": "Simulation of death counts from the Age-Period-Cohort mortality model",
      "topics": [
        "sim_death_apc"
      ]
    },
    {
      "page": "sim_death_cbd",
      "title": "Simulation of death counts from the CBD model",
      "topics": [
        "sim_death_cbd"
      ]
    },
    {
      "page": "sim_death_lc",
      "title": "Simulation of death counts from the Lee-Carter mortality model",
      "topics": [
        "sim_death_lc"
      ]
    },
    {
      "page": "sim_death_m6",
      "title": "Simulation of death counts from the M6 model",
      "topics": [
        "sim_death_m6"
      ]
    },
    {
      "page": "sim_death_mix_cbd_rh",
      "title": "Simulation of death counts from a hybrid model that averages the mortality rates from the cbd and rh models",
      "topics": [
        "sim_death_mix_cbd_rh"
      ]
    },
    {
      "page": "sim_death_rh",
      "title": "Simulation of death counts from the Renshaw-Haberman mortality model",
      "topics": [
        "sim_death_rh"
      ]
    },
    {
      "page": "sim_mortality_data",
      "title": "Simulation of mortality data from various models",
      "topics": [
        "sim_mortality_data"
      ]
    }
  ],
  "_readme": "https://github.com/cran/StanMoMo/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "base64enc",
    "BH",
    "bit",
    "bit64",
    "blob",
    "bridgesampling",
    "Brobdingnag",
    "broom",
    "bslib",
    "cachem",
    "callr",
    "cellranger",
    "checkmate",
    "cli",
    "clipr",
    "coda",
    "conflicted",
    "cpp11",
    "crayon",
    "curl",
    "data.table",
    "DBI",
    "dbplyr",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "dtplyr",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "forcats",
    "fs",
    "gargle",
    "generics",
    "ggplot2",
    "glue",
    "googledrive",
    "googlesheets4",
    "gridExtra",
    "gtable",
    "haven",
    "highr",
    "hms",
    "htmltools",
    "httr",
    "ids",
    "inline",
    "isoband",
    "jquerylib",
    "jsonlite",
    "knitr",
    "labeling",
    "latex2exp",
    "lattice",
    "lifecycle",
    "loo",
    "lubridate",
    "magrittr",
    "Matrix",
    "matrixStats",
    "memoise",
    "mime",
    "modelr",
    "mvtnorm",
    "numDeriv",
    "openssl",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "ragg",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "readr",
    "readxl",
    "rematch",
    "rematch2",
    "reprex",
    "rlang",
    "rmarkdown",
    "rstan",
    "rstantools",
    "rstudioapi",
    "rvest",
    "S7",
    "sass",
    "scales",
    "selectr",
    "StanHeaders",
    "stringi",
    "stringr",
    "sys",
    "systemfonts",
    "tensorA",
    "textshaping",
    "tibble",
    "tidyr",
    "tidyselect",
    "tidyverse",
    "timechange",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "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": "bma.Rmd",
      "filename": "bma.html",
      "title": "Bayesian Model Averaging",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Bayesian model averaging via stacking and pseudo-BMA",
        "Implementation",
        "References"
      ],
      "created": "2021-10-07 15:20:05",
      "modified": "2023-09-23 23:30:39",
      "commits": 3
    },
    {
      "source": "StanMoMo.Rmd",
      "filename": "StanMoMo.html",
      "title": "Bayesian Mortality Modeling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction: Bayesian Lee-Carter with Stan",
        "Bayesian Estimation",
        "Forecasting",
        "Other models"
      ],
      "created": "2021-10-07 15:20:05",
      "modified": "2023-09-23 23:30:39",
      "commits": 4
    }
  ],
  "_score": 3.1760912590556813,
  "_indexed": false,
  "_nocasepkg": "stanmomo",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-29T10:52:56.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/421daf511d1f15c9dd70b82da711b743990f8b0e7ccfbee41288906d163ca5e8",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-29T10:53:50.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/a0157794cc5ec4ed3ba2929418d99c0e08c6819a62dee6bc4af241858b2bbbf5",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-29T10:53:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/25cca7e084a9343fcaf37641a437d5e0070b2bd51bf65cd9641d466057d8dd4c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.0",
      "date": "2026-10-29T10:53:26.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/d9ac91a3d70b4b93cdcc6c9b4fbd02d6f04afa9ccd42b82a20343b46ff658ceb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.0",
      "date": "2026-10-29T10:53:21.000Z",
      "arch": "emscripten",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/77fbf26d29a58adb25d42889aa3aa3ddd2219ea586c00597356615c15b5d6686",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-29T10:54:03.000Z",
      "arch": "aarch64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/833805ccd4e13b1513cf7e1be357e24af794074e2324d71147e2ff53d6383b08",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-29T10:52:24.000Z",
      "arch": "x86_64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/abf784dead891f4b569aeb40d761bc7c379b69f2df8e14840a1232092ad3b394",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-29T10:55:05.000Z",
      "arch": "aarch64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/b19f6fcda189f9133baba22cf7b999d7dc76f523a75fed7754ac1d4c350046ee",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.0",
      "date": "2026-10-29T10:52:33.000Z",
      "arch": "x86_64",
      "commit": "01163f7dec3e1e99b25fc90d777299403879261b",
      "fileid": "https://r2.ropensci.org/7871a03fd3e79e6792d98f1e5b09b5560631ddcc1c923495b583a1a9d96fcc16",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/40858981951"
    }
  ]
}