Package: BayesTSM
Title: Bayesian Progressive Three State Model with Censoring Due to
        Intervention
Version: 1.0.1
Authors@R: 
    person("Thomas", "Klausch", , "t.klausch@amsterdamumc.nl", role = c("aut", "cre"))
Description: In screening programs, individuals are usually followed up and tested (screened) for the development of a disease, such as cancer. The target disease often develops progressively in stages; for example healthy (state 1), pre-state disease (state 2), and the disease state (state 3). When the pre-state disease is found during screening it is intervened upon, for example by surgical removal of a lesion, so that the progression of the pre-state disease to disease is interrupted. This is called censoring due to intervention. Researchers often want to estimate the time from baseline to the pre-state disease, the time from the pre-state disease to the disease, and the total time from baseline to the disease. In addition, researchers often want to regress these times on baseline covariates. To these ends, 'BayesTSM' estimates a progressive three-state model with censoring due to intervention using Bayesian estimation methods, as described in Klausch et al. (2023) <doi:10.1214/22-AOAS1669>.
License: MIT + file LICENSE
URL: https://github.com/thomasklausch2/bayestsm
BugReports: https://github.com/thomasklausch2/bayestsm/issues
Encoding: UTF-8
Imports: actuar, coda, doParallel, foreach, graphics, ggplot2, MASS,
        MCMCpack, mvtnorm, parallel, posterior, Rcpp, rlang, survival
LinkingTo: Rcpp
Depends: R (>= 3.5.0)
Config/roxygen2/version: 8.0.0
Suggests: knitr, rmarkdown, bookdown
VignetteBuilder: knitr
LazyData: true
NeedsCompilation: yes
Packaged: 2026-06-08 19:41:14 UTC; thomas
Author: Thomas Klausch [aut, cre]
Maintainer: Thomas Klausch <t.klausch@amsterdamumc.nl>
Repository: CRAN
Date/Publication: 2026-06-16 20:00:07 UTC
Built: R 4.7.0; x86_64-w64-mingw32; 2026-07-27 03:55:56 UTC; windows
Archs: x64
