Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
143 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
46 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

The R Package JMbayes for Fitting Joint Models for Longitudinal and Time-to-Event Data using MCMC (1404.7625v1)

Published 30 Apr 2014 in stat.CO and stat.AP

Abstract: Joint models for longitudinal and time-to-event data constitute an attractive modeling framework that has received a lot of interest in the recent years. This paper presents the capabilities of the R package JMbayes for fitting these models under a Bayesian approach using Markon chain Monte Carlo algorithms. JMbayes can fit a wide range of joint models, including among others joint models for continuous and categorical longitudinal responses, and provides several options for modeling the association structure between the two outcomes. In addition, this package can be used to derive dynamic predictions for both outcomes, and offers several tools to validate these predictions in terms of discrimination and calibration. All these features are illustrated using a real data example on patients with primary biliary cirrhosis.

Citations (238)

Summary

  • The paper presents JMbayes, a flexible R package that integrates Bayesian MCMC for joint modeling of longitudinal and time-to-event data.
  • It employs mixed-effects and Cox models to accurately capture the association between biomarkers and event risks.
  • The package enables dynamic predictions and robust model validation, advancing personalized medicine and risk evaluation.

Overview of the JMbayes Package for Bayesian Joint Modeling

The paper presents the JMbayes package in R, a tool designed for fitting joint models of longitudinal and time-to-event data using a Bayesian approach facilitated by Markov Chain Monte Carlo (MCMC) algorithms. Joint models offer a comprehensive framework for analyzing linked longitudinal and survival data, and have garnered significant interest in both statistical and medical research. The JMbayes package extends the capabilities of existing tools by integrating Bayesian methods, thus accommodating complex and flexible model specifications.

JMbayes facilitates the estimation of a wide variety of joint models, including those with continuous and categorical longitudinal responses. It offers extensive options for modeling the association structure between these responses and their corresponding event times, enhancing the user's ability to explore different aspects of the relationship between longitudinal biomarkers and event risks. This package also supports deriving dynamic predictions for both types of outcomes and provides tools for validating these predictions concerning discrimination and calibration.

A key strength of JMbayes lies in its flexibility. The package allows researchers to fit sophisticated joint models under various parameterizations, such as time-dependent values or slopes and cumulative effect models. It also supports models in which only random effects are shared between the submodels. These capabilities are critical in capturing the complexities of real-world data, where the typical assumptions of simpler models may not hold.

Methodological Framework

JMbayes employs a generalized linear mixed effects model to accommodate diverse types of longitudinal responses, accommodating a spectrum of link functions and distributions. The survival process is modeled using a relative risk approach where the hazard function incorporates features of the longitudinal process. Estimation within this framework is achieved using Bayesian methods, specifically MCMC, to sample from the posterior distributions of the model parameters and random effects. The package allows for flexible modeling of baseline hazard functions using B-splines, thereby providing adaptability and robustness in characterizing time-to-event data.

Implementation and Practical Use

The practical implementation of the package is built upon established methods for mixed-effects and survival models, providing an interface that integrates seamlessly with existing R packages like nlme and survival. The primary function, jointModelBayes(), facilitates model fitting by accepting mixed-effects and Cox model objects as inputs. Users can specify the time variable, distributional assumptions for the longitudinal data, and the association structure between the submodels.

Illustrative examples using the primary biliary cirrhosis dataset elucidate the capabilities of JMbayes. The paper demonstrates fitting standard joint models, extending them to include various association structures, and addressing data challenges such as non-normal error distributions and censored data. Furthermore, it highlights the application of dynamic prediction techniques for individual patient outcomes using longitudinal information, a feature particularly valuable in personalized medicine contexts.

Future Directions

While JMbayes already offers a comprehensive framework for joint modeling, the paper outlines potential enhancements, such as accommodating multiple longitudinal outcomes, handling time-dependent covariates, and expanding survival model capabilities to include competing risks and recurrent events scenarios. These additions will further enhance the package's utility in handling complex and multidimensional data typical of many biomedical studies.

Conclusion

The JMbayes package represents a significant advancement in joint modeling by incorporating Bayesian techniques. Its ability to fit a wide range of models and make dynamic predictions marks it as an essential tool for researchers dealing with longitudinal and survival data. By continuing to develop its capabilities, JMbayes is poised to meet the growing demands of complex data analysis in diverse research fields. The paper provides detailed examples, thus equipping researchers with the knowledge to apply these advanced modeling techniques effectively.