Bayesian Survival Analysis Using the rstanarm R Package

02/22/2020
by   Samuel L. Brilleman, et al.
0

Survival data is encountered in a range of disciplines, most notably health and medical research. Although Bayesian approaches to the analysis of survival data can provide a number of benefits, they are less widely used than classical (e.g. likelihood-based) approaches. This may be in part due to a relative absence of user-friendly implementations of Bayesian survival models. In this article we describe how the rstanarm R package can be used to fit a wide range of Bayesian survival models. The rstanarm package facilitates Bayesian regression modelling by providing a user-friendly interface (users specify their model using customary R formula syntax and data frames) and using the Stan software (a C++ library for Bayesian inference) for the back-end estimation. The suite of models that can be estimated using rstanarm is broad and includes generalised linear models (GLMs), generalised linear mixed models (GLMMs), generalised additive models (GAMs) and more. In this article we focus only on the survival modelling functionality. This includes standard parametric (exponential, Weibull, Gompertz) and flexible parametric (spline-based) hazard models, as well as standard parametric accelerated failure time (AFT) models. All types of censoring (left, right, interval) are allowed, as is delayed entry (left truncation), time-varying covariates, time-varying effects, and frailty effects. We demonstrate the functionality through worked examples. We anticipate these implementations will increase the uptake of Bayesian survival analysis in applied research.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/06/2023

survextrap: a package for flexible and transparent survival extrapolation

Health policy decisions are often informed by estimates of long-term sur...
research
09/19/2017

Multilevel mixed effects parametric survival analysis

With the release of Stata 14 came the mestreg command to fit multilevel ...
research
06/04/2018

pammtools: Piece-wise exponential Additive Mixed Modeling tools

This article introduces the pammtools package, which facilitates data tr...
research
11/02/2018

The Multiplicative Mixed Model with the mumm R package as a General and Easy Random Interaction Model Tool

Multiplicative mixed models can be applied in a wide range of scientific...
research
01/08/2023

Characterizing quantile-varying covariate effects under the accelerated failure time model

An important task in survival analysis is choosing a structure for the r...
research
08/29/2019

Bayesian Stacked Parametric Survival with Frailty Components and Interval Censored Failure Times

To better understand effects of exposure to food allergens, food challen...
research
08/14/2023

reslife: Residual Lifetime Analysis Tool in R

Mean residual lifetime is an important measure utilized in various field...

Please sign up or login with your details

Forgot password? Click here to reset