R code for profile likelihood based estimation in semi-competing risks endpoints with PVF frailty
"PVFGeneral.R" fits the general model, while "PVFRestricted.R" fits the restricted model for the colon cancer data available in R survival package
*Bedia EC, Cancho V, and Bandyopadhyay D (2024). A frailty model for multistate semi-competing risk data with applications to colon cancer, Journal of the Indian Society for Probability and Statistics, 25, 395-416