disbayes
R package for Bayesian multi-state modelling of chronic disease burden data
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
✓DOI references
Found 2 DOI reference(s) in README -
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.9%) to scientific vocabulary
Repository
R package for Bayesian multi-state modelling of chronic disease burden data
Basic Info
Statistics
- Stars: 9
- Watchers: 2
- Forks: 2
- Open Issues: 0
- Releases: 3
Metadata Files
README.md
disbayes
The development repository for the disbayes R package for chronic disease epidemiology estimation with incomplete data.
disbayescan estimate age-specific case fatality for a disease, given:- published information on age-specific mortality and at least one of incidence or prevalence
- some indication of the uncertainty associated with the published estimates, either as a credible interval, or by expressing the estimate as a number of cases with associated denominator.
The underlying model is a three-state multi-state model with states given by no disease, disease and death. Remission from the disease is optional.
Case fatality, incidence or remission rates can be modelled as smooth functions of age, through a spline model, or estimated independently for each age. Case fatality or remission can also be modelled as age-constant.
Two alternative estimation methods can be used, both based on the Stan software.
- exact point estimation using optimisation to obtain the posterior mode, with credible intervals based on an approximation to the Bayesian posterior. This is generally instant to compute, but the uncertainty quantification is approximate.
- full Bayesian estimation using Markov Chain Monte Carlo. This gives more accurate uncertainty quantification but is computationally intensive.
The following more advanced models are provided, which are all more computationally intensive:
- hierarchical models for data by age and area, which share information between areas to strengthen estimates from areas with less data
- hierarchical models for data by age, area and gender, where the effect of gender is assumed to be the same for every area
- models with assumed trends in disease incidence or case fatality through calendar time, where trends can be age-specific (non-hierarchical models only)
It is inspired by the DisMod II and DisMod-MR packages used for the Global Burden of Disease studies. It modifies and extends the formal, fully Bayesian framework described in the book by Flaxman et al..
The method is fully described in Jackson et al. (2023).
Source code is at the GitHub repository
Installation
CRAN version
r
install.packages("disbayes")
Development version
r
install.packages("devtools") # if devtools not already installed
library(devtools)
install_github("chjackson/disbayes")
If this fails, make sure that the rstan package is set up properly, as explained here. If you are on Windows, then follow these instructions for installing rstan from source on Windows.
Introduction and worked example
Bayesian estimation of chronic disease epidemiology from incomplete data: the disbayes package
Owner
- Name: Chris Jackson
- Login: chjackson
- Kind: user
- Website: http://twitter.com/cjackstats
- Repositories: 22
- Profile: https://github.com/chjackson
Statistician and programmer
GitHub Events
Total
- Watch event: 2
Last Year
- Watch event: 2
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 1
- Total pull requests: 1
- Average time to close issues: about 17 hours
- Average time to close pull requests: about 17 hours
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 1.0
- Average comments per pull request: 4.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- HenrikBengtsson (1)
Pull Request Authors
- andrjohns (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 268 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: disbayes
Bayesian Multi-State Modelling of Chronic Disease Burden Data
- Homepage: https://chjackson.github.io/disbayes/
- Documentation: http://cran.r-project.org/web/packages/disbayes/disbayes.pdf
- License: GPL-3
-
Latest release: 1.1.0
published over 2 years ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- Rcpp >= 0.12.0 imports
- SHELF * imports
- dplyr * imports
- generics * imports
- ggplot2 * imports
- loo * imports
- magrittr * imports
- matrixStats * imports
- methods * imports
- mgcv * imports
- rstan >= 2.18.1 imports
- tibble * imports
- tidyr * imports
- knitr * suggests
- rmarkdown * suggests
- rstantools >= 2.0.0.9000 suggests
- tempdisagg * suggests
- testthat * suggests