[Paper Review] spBayesSurv: Fitting Bayesian Spatial Survival Models Using R
This paper introduces the spBayesSurv R package for fitting Bayesian spatial survival models, supporting semiparametric (proportional hazards, proportional odds, accelerated failure time) and parametric models with spatial frailties for georeferenced and areally-referenced data. It handles complex censoring types, left-truncation, time-dependent covariates, and model comparison via LPML, DIC, and WAIC, with efficient MCMC inference and default priors for robust, user-friendly analysis of survival data with spatial dependence.
Spatial survival analysis has received a great deal of attention over the last 20 years due to the important role that geographical information can play in predicting survival. This paper provides an introduction to a set of programs for implementing some Bayesian spatial survival models in R using the package spBayesSurv. The function survregbayes includes the three most commonly-used semiparametric models: proportional hazards, proportional odds, and accelerated failure time. All manner of censored survival times are simultaneously accommodated including uncensored, interval censored, current-status, left and right censored, and mixtures of these. Left-truncated data are also accommodated. Time-dependent covariates are allowed under the piecewise constant assumption. Both georeferenced and areally observed spatial locations are handled via frailties. Model fit is assessed with conditional Cox-Snell residual plots, and model choice is carried out via the log pseudo marginal likelihood, the deviance information criterion and the Watanabe-Akaike information criterion. The accelerated failure time frailty model with a covariate-dependent baseline is included in the function frailtyGAFT. In addition, the package also provides two marginal survival models: proportional hazards and linear dependent Dirichlet process mixture, where the spatial dependence is modeled via spatial copulas. Note that the package can also handle non-spatial data using non-spatial versions of aforementioned models.
Motivation & Objective
- To address the need for flexible, Bayesian methods to analyze survival data with spatial dependence, particularly when geographical location influences survival outcomes.
- To provide a comprehensive R package that supports a wide range of survival models—semiparametric and parametric—while accommodating complex censoring and spatial correlation.
- To enable model fitting with minimal user tuning via self-tuning adaptive MCMC algorithms and sensible default priors.
- To extend existing methods by allowing continuous stratification in accelerated failure time models and incorporating spatial copulas for nonparametric survival modeling.
- To support model selection and validation using LPML, DIC, WAIC, and Bayes factors, enhancing reliability and interpretability of spatial survival inferences.
Proposed method
- Uses a transformed Bernstein polynomial prior to center a nonparametric baseline hazard on a parametric family, enabling flexible semiparametric modeling.
- Implements spatial frailty models via conditional autoregressive (CAR) and intrinsic Gaussian Markov random field (IGMRF) priors for georeferenced and areally-referenced spatial data.
- Applies self-tuning adaptive Metropolis-Hastings MCMC algorithms for posterior inference without manual tuning, ensuring efficient sampling.
- Supports multiple censoring types (right, left, interval, current-status) and left-truncation via a unified likelihood framework.
- Incorporates spatial copulas to model dependence in marginal nonparametric survival models, such as the linear dependent Dirichlet process mixture (LDDPM).
- Enables time-dependent covariates under the piecewise-constant assumption, allowing dynamic covariate effects in survival models.
Experimental results
Research questions
- RQ1How can Bayesian spatial survival models be efficiently fitted in R while handling complex censoring and spatial correlation?
- RQ2Can a unified framework be developed to support semiparametric and parametric survival models with spatial frailties for both georeferenced and areally-referenced data?
- RQ3How do model comparison criteria like LPML, DIC, and WAIC perform in selecting among competing spatial survival models?
- RQ4To what extent can continuous stratification in accelerated failure time models be implemented and assessed using Bayesian methods with MCMC?
- RQ5Can nonparametric spatial survival models be effectively extended using spatial copulas while maintaining computational feasibility and interpretability?
Key findings
- The spBayesSurv package successfully fits a wide range of Bayesian spatial survival models, including proportional hazards, proportional odds, and accelerated failure time models, with spatial frailties.
- The posterior mean for the conditional CAR frailty variance was estimated at 0.0803, indicating moderate spatial heterogeneity in survival outcomes.
- Model fit statistics showed LPML = -5925.194, DIC = 11849.82, and WAIC = 11850.39, supporting model selection and validation.
- Age, WBC, and TPI were identified as significant risk factors for leukemia survival; a 10-year decrease in age reduced the odds of dying by approximately 60%.
- Trace plots revealed suboptimal mixing for the frailty variance parameter τ², suggesting the need for more informative priors or longer MCMC chains.
- The package supports non-spatial models as well, with identical syntax to standard R survival functions, enhancing usability and backward compatibility.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.