Related Experiment Video
Updated: Nov 17, 2025

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
SemiCompRisks: An R Package for the Analysis of Independent and Cluster-correlated Semi-competing Risks Data
Danilo Alvares1, Sebastien Haneuse2, Catherine Lee3
1Department of Statistics, Pontificia Universidad Católica de Chile, Macul, Santiago, Chile.
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.
Related Concept Videos
Comparing the Survival Analysis of Two or More Groups
Assumptions of Survival Analysis
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...
Statistical Methods for Analyzing Epidemiological Data
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Statistical Software for Data Analysis and Clinical Trials

