Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2019 Jun;11(1):376-400.
doi: 10.32614/rj-2019-038. Epub 2019 Aug 20.

SemiCompRisks: An R Package for the Analysis of Independent and Cluster-correlated Semi-competing Risks Data

Affiliations

SemiCompRisks: An R Package for the Analysis of Independent and Cluster-correlated Semi-competing Risks Data

Danilo Alvares et al. R J. 2019 Jun.

Abstract

Semi-competing risks refer to the setting where primary scientific interest lies in estimation and inference with respect to a non-terminal event, the occurrence of which is subject to a terminal event. In this paper, we present the R package SemiCompRisks that provides functions to perform the analysis of independent/clustered semi-competing risks data under the illness-death multi-state model. The package allows the user to choose the specification for model components from a range of options giving users substantial flexibility, including: accelerated failure time or proportional hazards regression models; parametric or non-parametric specifications for baseline survival functions; parametric or non-parametric specifications for random effects distributions when the data are cluster-correlated; and, a Markov or semi-Markov specification for terminal event following non-terminal event. While estimation is mainly performed within the Bayesian paradigm, the package also provides the maximum likelihood estimation for select parametric models. The package also includes functions for univariate survival analysis as complementary analysis tools.

PubMed Disclaimer

Figures

Figure 1:
Figure 1:
Graphical representation of (a) semi-competing risks and (b) competing risks.
Figure 2:
Figure 2:
Estimated baseline survival (top) and hazard (bottom) functions from the above analysis.
Figure 3:
Figure 3:
Convergence diagnostic via trace plot of multiple chains.

References

    1. Allignol A, Beyersmann J, and Schumacher M. Mvna: An R package for the Nelson-Aalen estimator in multistate models. R News, 8(2):48–50, 2008. URL http://cran.r-project.org/doc/Rnews/Rnews_2008-2.pdf.[p2]
    1. Allignol A, Schumacher M, and Beyersmann J. Empirical transition matrix of multi-state models: The etm package. Journal of Statistical Software, 38(4):1–15, 2011. URL 10.18637/jss.v038.i04. [p2] - DOI
    1. Araújo A, Meira-Machado L, and Roca-Pardiñas J. TPmsm: Estimation of the transition probabilities in 3-state models. Journal of Statistical Software, 62(4):1–29, 2014. URL 10.18637/jss.v062.i04. [p2] - DOI
    1. Boruvka A and Cook RJ. Coxinterval: Cox-Type Models for Interval-Censored Data, 2015. URL https://cran.r-project.org/package=coxinterval. R package version 1.2. [p3]
    1. Brooks SP and Gelman A. General methods for monitoring convergence of iterative simulations. Journal of Computational and Graphical Statistics, 7(4):434–455, 1998. URL 10.1080/10618600.1998.10474787. [p9] - DOI

LinkOut - more resources