JMbayes
Joint Models for Longitudinal and Survival Data using MCMC
Science Score: 23.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 3 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.8%) to scientific vocabulary
Keywords
Repository
Joint Models for Longitudinal and Survival Data using MCMC
Basic Info
- Host: GitHub
- Owner: drizopoulos
- Language: R
- Default Branch: master
- Size: 2.84 MB
Statistics
- Stars: 59
- Watchers: 10
- Forks: 25
- Open Issues: 7
- Releases: 0
Topics
Metadata Files
README.md
JMbayes: Joint Models for Longitudinal and Survival Data under the Bayesian Approach
Description
This repository contains the source files for the R package JMbayes. This package fits joint models for longitudinal and time-to-event data under a Bayesian approach using MCMC. These models are applicable in mainly two settings. First, when focus is on the survival outcome and we wish to account for the effect of an endogenous (aka internal) time-dependent covariates measured with error. Second, when focus is on the longitudinal outcome and we wish to correct for nonrandom dropout.
The package contains two main joint-model-fitting functions, jointModelBayes() and
mvJointModelBayes() with similar syntax but different capabilities.
Basic Features jointModelBayes()
It can fit joint models for a single longitudinal outcome and a time-to-event outcome.
The user can specify her own density function for the longitudinal responses using argument
densLong(default is the normal pdf). Among others, this allows to fit joint models with categorical and left-censored longitudinal responses and robust joint models with Student's-t error terms. In addition, using thedf.REargument, the user can also change the distribution of the random effects from multivariate normal to a multivariate Student's-t with prespecified degrees of freedom.For the survival outcome a relative risk models is assumed with a B-spline approximation for the baseline hazard (penalized (default) or regression splines can be used). Left-truncation and exogenous time-varying covariates can also be accommodated.
The user has now the option to define custom transformation functions for the terms of the longitudinal submodel that enter into the linear predictor of the survival submodel (arguments
extraForm,param). For example, the current value of the longitudinal outcomes, the velocity of the longitudinal outcome (slope), the area under the longitudinal profile. From the aforementioned options, in each model up to two terms can be included. In addition, using argumenttransFuninteractions terms, nonlinear terms (polynomials, splines) can be considered.
Basic Features mvJointModelBayes()
It can fit joint models for multiple longitudinal outcomes and a time-to-event outcome.
The longitudinal part of the joint model is a multivariate generalized linear mixed effects models, currently allowing for normal, binary and Poisson outcomes. This model is first fitted using function
mvglmer().For the survival outcome a relative risk models is assumed with a B-spline approximation for the baseline hazard (penalized (default) or regression splines can be used). Left-truncation, interval censored data and exogenous time-varying covariates can also be accommodated.
The user has now the option to define custom transformation functions for the terms of the longitudinal submodel that enter into the linear predictor of the survival submodel (argument
Formulas). For example, the current value of the longitudinal outcomes, the velocity of the longitudinal outcome (slope), the area under the longitudinal profile. From the aforementioned options, in each model limitless terms can be included. In addition, using argumentInteractionsallows to include interactions terms of the longitudinal components with other observed factors. A special case for this argument is to use functiontve()that allows for time-varying regression coefficients in the relative risk model. Furthermore, argumenttransFunsallows to transform the longitudinal components using some pre-defined transformation function (i.e.,exp(),expit(),log,sqrt()).The aforementioned features are illustrated in the Multivariate Joint Models vignette.
Dynamic predictions
Function
survfitJM()computes dynamic survival probabilities.Function
predict()computes dynamic predictions for the longitudinal outcome.Function
aucJM()calculates time-dependent AUCs for joint models, and functionrocJM()calculates the corresponding time-dependent sensitivities and specifies.Function
prederrJM()calculates prediction errors for joint models.Function
runDynPred()invokes a shiny application that can be used to streamline the calculation of dynamic predictions for models fitted by JMbayes.
Vignettes
Vignettes are available in the doc directory:
MultivariateJointModels.html illustrates the basic capabilities of
mvJointModelBayes().Dynamic_Predictions.html illustrates how dynamic predictions from multivariate joint models can be computed and evaluated.
Owner
- Name: Dimitris Rizopoulos
- Login: drizopoulos
- Kind: user
- Location: Rotterdam
- Company: Erasmus MC
- Website: https://www.drizopoulos.com/
- Twitter: drizopoulos
- Repositories: 9
- Profile: https://github.com/drizopoulos
Professor of Biostatistics Erasmus MC, Netherlands
GitHub Events
Total
- Issues event: 5
- Watch event: 2
- Issue comment event: 6
- Pull request event: 1
- Fork event: 2
Last Year
- Issues event: 5
- Watch event: 2
- Issue comment event: 6
- Pull request event: 1
- Fork event: 2
Committers
Last synced: over 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Dimitris Rizopoulos | d****s@e****l | 202 |
| gpapageorgiou | p****s@g****m | 69 |
| harryparr | h****r@g****m | 3 |
| jpkrooney | j****y@r****e | 2 |
| Harry Parr | 1****r | 2 |
| jpkrooney | 4****y | 1 |
| Ani | a****r@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 2
- Total pull requests: 0
- Average time to close issues: 2 days
- Average time to close pull requests: N/A
- Total issue authors: 2
- Total pull request authors: 0
- Average comments per issue: 0.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 0
- Average time to close issues: 2 days
- Average time to close pull requests: N/A
- Issue authors: 2
- Pull request authors: 0
- Average comments per issue: 0.5
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- amirabadiza921 (3)
- axinaxia (1)
- Jingyan-uth (1)
- penglistat (1)
- shahmandi (1)
- Jennie96Zhao (1)
- Samaneh-stat (1)
- studerus (1)
- chenzaoxyf (1)
- zoubirph (1)
- timwaite (1)
- quzhouxiachuan (1)
- huyendn (1)
- jgmeager51 (1)
- ellenerickson (1)
Pull Request Authors
- timwaite (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 684 last-month
- Total docker downloads: 1,419
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 25
- Total maintainers: 1
cran.r-project.org: JMbayes
Joint Modeling of Longitudinal and Time-to-Event Data under a Bayesian Approach
- Homepage: https://github.com/drizopoulos/JMbayes
- Documentation: http://cran.r-project.org/web/packages/JMbayes/JMbayes.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 0.8-85
published about 6 years ago
Rankings
Maintainers (1)
Dependencies
- doParallel * depends
- nlme * depends
- rstan * depends
- survival * depends
- Hmisc * imports
- MASS * imports
- Rcpp * imports
- foreach * imports
- jagsUI * imports
- shiny * imports
- splines * imports
- xtable * imports