Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash 97 tok/s
Gemini 2.5 Pro 50 tok/s Pro
GPT-5 Medium 37 tok/s
GPT-5 High 28 tok/s Pro
GPT-4o 110 tok/s
GPT OSS 120B 468 tok/s Pro
Kimi K2 236 tok/s Pro
2000 character limit reached

causalBETA: An R Package for Bayesian Semiparametric Causal Inference with Event-Time Outcomes (2310.12358v2)

Published 18 Oct 2023 in stat.ME and stat.AP

Abstract: Observational studies are often conducted to estimate causal effects of treatments or exposures on event-time outcomes. Since treatments are not randomized in observational studies, techniques from causal inference are required to adjust for confounding. Bayesian approaches to causal estimates are desirable because they provide 1) prior smoothing provides useful regularization of causal effect estimates, 2) flexible models that are robust to misspecification, 3) full inference (i.e. both point and uncertainty estimates) for causal estimands. However, Bayesian causal inference is difficult to implement manually and there is a lack of user-friendly software, presenting a significant barrier to wide-spread use. We address this gap by developing causalBETA (Bayesian Event Time Analysis) - an open-source R package for estimating causal effects on event-time outcomes using Bayesian semiparametric models. The package provides a familiar front-end to users, with syntax identical to existing survival analysis R packages such as survival. At the same time, it back-ends to Stan - a popular platform for Bayesian modeling and high performance statistical computing - for efficient posterior computation. To improve user experience, the package is built using customized S3 class objects and methods to facilitate visualizations and summaries of results using familiar generic functions like plot() and summary(). In this paper, we provide the methodological details of the package, a demonstration using publicly-available data, and computational guidance.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (20)
  1. Bayesian survival analysis using the rstanarm r package, 2020.
  2. General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics, 7(4):434--455, 1998.
  3. Bayesian data analysis. CRC press, 2013.
  4. Miguel A. Hernán. The hazards of hazard ratios. Epidemiology, 21(1), 2010.
  5. A flexible approach for causal inference with multiple treatments and clustered survival outcomes. Statistics in Medicine, 41(25):4982--4999, 2022. doi: https://doi.org/10.1002/sim.9548. URL https://onlinelibrary.wiley.com/doi/abs/10.1002/sim.9548.
  6. Bayesian survival analysis, volume 2. Springer.
  7. Christopher Jackson. flexsurv: A platform for parametric survival modeling in r. Journal of Statistical Software, 70(8):1--33, 2016.
  8. The statistical analysis of failure time data. John Wiley & Sons, 2011.
  9. Unified methods for censored longitudinal data and causality. Springer.
  10. Covariance analysis of censored survival data using log-linear analysis techniques. Journal of the American Statistical Association, 76(374):231--240, 1981.
  11. Bayesian Semiparametric Analysis of Semicompeting Risks Data: Investigating Hospital Readmission After a Pancreatic Cancer Diagnosis. Journal of the Royal Statistical Society Series C: Applied Statistics, 64(2):253--273, 09 2014. doi: 10.1111/rssc.12078.
  12. Bayesian causal inference: a critical review. Philosophical Transactions of the Royal Society A, 381(2247):20220153, 2023.
  13. Causal survival analysis: A guide to estimating intention-to-treat and per-protocol effects from randomized clinical trials with non-adherence. Research Methods in Medicine & Health Sciences, 2(1):39--49, 2021. doi: 10.1177/2632084320961043.
  14. Radford M Neal et al. Mcmc using hamiltonian dynamics. Handbook of markov chain monte carlo, 2(11):2, 2011.
  15. A practical introduction to bayesian estimation of causal effects: Parametric and nonparametric approaches. Statistics in Medicine, 40(2):518--551, 2021. doi: https://doi.org/10.1002/sim.8761.
  16. James Robins. A new approach to causal inference in mortality studies with a sustained exposure period---application to control of the healthy worker survivor effect. Mathematical Modelling, 7(9):1393--1512, 1986.
  17. A Bayesian nonparametric approach to marginal structural models for point treatments and a continuous or survival outcome. Biostatistics, 18(1):32--47, 06 2016. ISSN 1465-4644. doi: 10.1093/biostatistics/kxw029.
  18. Peter B. Gilbert Ted Westling, Alex Luedtke and Marco Carone. Inference for treatment-specific survival curves using machine learning. Journal of the American Statistical Association, 0(0):1--13, 2023.
  19. Terry M Therneau. A Package for Survival Analysis in R, 2023. URL https://CRAN.R-project.org/package=survival. R package version 3.5-7.
  20. Dynamic treatment regimes: Statistical methods for precision medicine. Chapman and Hall/CRC, 2019.
Citations (2)
List To Do Tasks Checklist Streamline Icon: https://streamlinehq.com

Collections

Sign up for free to add this paper to one or more collections.

Summary

We haven't generated a summary for this paper yet.

Dice Question Streamline Icon: https://streamlinehq.com

Follow-up Questions

We haven't generated follow-up questions for this paper yet.

Authors (2)

Github Logo Streamline Icon: https://streamlinehq.com
X Twitter Logo Streamline Icon: https://streamlinehq.com