Learn R Programming

bayesCureRateModel (version 1.5)

Bayesian Cure Rate Modeling for Time-to-Event Data

Description

A fully Bayesian approach in order to estimate a general family of cure rate models under the presence of covariates, see Papastamoulis and Milienos (2024) and Papastamoulis and Milienos (2024b) . The promotion time can be modelled (a) parametrically using typical distributional assumptions for time to event data (including the Weibull, Exponential, Gompertz, log-Logistic distributions), or (b) semiparametrically using finite mixtures of distributions. In both cases, user-defined families of distributions are allowed under some specific requirements. Posterior inference is carried out by constructing a Metropolis-coupled Markov chain Monte Carlo (MCMC) sampler, which combines Gibbs sampling for the latent cure indicators and Metropolis-Hastings steps with Langevin diffusion dynamics for parameter updates. The main MCMC algorithm is embedded within a parallel tempering scheme by considering heated versions of the target posterior distribution.

Copy Link

Version

Install

install.packages('bayesCureRateModel')

Monthly Downloads

339

Version

1.5

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Panagiotis Papastamoulis

Last Published

October 31st, 2025

Functions in bayesCureRateModel (1.5)

print.summary_bayesCureModel

Print method for the summary
print.predict_bayesCureModel

Print method for the predict object
sim_mix_data

Simulated dataset
residuals.bayesCureModel

Computation of residuals.
summary.predict_bayesCureModel

Summary method for predictions.
print.bayesCureModel

Print method
predict.bayesCureModel

Predict method.
log_dagum

PDF and CDF of the Dagum distribution
cure_rate_MC3

Main function of the package
compute_fdr_tpr

Compute the achieved FDR and TPR
logLik.bayesCureModel

Extract the log-likelihood.
log_gamma_mixture

PDF and CDF of a Gamma mixture distribution
log_gamma

PDF and CDF of the Gamma distribution
Surv

Create a Survival Object
complete_log_likelihood_general

Logarithm of the complete log-likelihood for the general cure rate model.
cure_rate_mcmc

The basic MCMC scheme.
plot.bayesCureModel

Plot method
log_weibull

PDF and CDF of the Weibull distribution
log_logLogistic

PDF and CDF of the log-Logistic distribution.
log_gompertz

PDF and CDF of the Gompertz distribution
plot.predict_bayesCureModel

Plot method
log_user_mixture

Define a finite mixture of a given family of distributions.
log_lomax

PDF and CDF of the Lomax distribution
marriage_dataset

Marriage data
bayesCureRateModel-package

tools:::Rd_package_title("bayesCureRateModel")
summary.bayesCureModel

Summary method.