JMbayes

Joint Models for Longitudinal and Survival Data using MCMC

https://github.com/drizopoulos/jmbayes

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

joint-models longitudinal-responses prediction-model survival-analysis
Last synced: 6 months ago · JSON representation

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
joint-models longitudinal-responses prediction-model survival-analysis
Created over 10 years ago · Last pushed about 5 years ago
Metadata Files
Readme

README.md

JMbayes: Joint Models for Longitudinal and Survival Data under the Bayesian Approach

Travis-CI Build Status CRAN status Download counter Research software impact DOI

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 the df.RE argument, 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 argument transFun interactions 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 argument Interactions allows to include interactions terms of the longitudinal components with other observed factors. A special case for this argument is to use function tve() that allows for time-varying regression coefficients in the relative risk model. Furthermore, argument transFuns allows 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 function rocJM() 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:

Owner

  • Name: Dimitris Rizopoulos
  • Login: drizopoulos
  • Kind: user
  • Location: Rotterdam
  • Company: Erasmus MC

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

All Time
  • Total Commits: 280
  • Total Committers: 7
  • Avg Commits per committer: 40.0
  • Development Distribution Score (DDS): 0.279
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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

  • Versions: 25
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 684 Last month
  • Docker Downloads: 1,419
Rankings
Forks count: 3.6%
Stargazers count: 6.6%
Average: 15.9%
Docker downloads count: 16.0%
Downloads: 16.4%
Dependent repos count: 23.9%
Dependent packages count: 28.7%
Maintainers (1)
Last synced: 7 months ago

Dependencies

DESCRIPTION cran
  • doParallel * depends
  • nlme * depends
  • rstan * depends
  • survival * depends
  • Hmisc * imports
  • MASS * imports
  • Rcpp * imports
  • foreach * imports
  • jagsUI * imports
  • shiny * imports
  • splines * imports
  • xtable * imports