photography of a fox lying on grass

Flexible parametric survival analysis

Latest stable release: v1.85

strcs provides a cutting-edge implementation for survival analysis, modelling the baseline log hazard function, and any time-dependent effects, with restricted cubic splines. A wide range of predictions are available after estimation.

Developed by our consultant Dr Hannah Bower, strcs is a freely available Stata package available both on our GitHub page, and directly installable from the SSC archive.


The latest stable version of strcs is available on the Statistical Software Components archive, and can be installed directly in Stata by typing:

ssc install strcs


Bower H, Crowther MJ, Lambert PC. strcs: A command for fitting flexible parametric survival models on the log-hazard scale. The Stata Journal 2016;16(4):989-1012.

Crowther MJ, Lambert PC. stgenreg: A Stata package for the general parametric analysis of survival data. Journal of Statistical Software 2013;12(53).

Crowther MJ, Lambert PC. A general framework for parametric survival analysis. Statistics in Medicine 2014;33(30):5280-5297.