Home  >>  Archives  >>  Volume 16 Number 4  >>  st0462

The Stata Journal
Volume 16 Number 4: pp. 989-1012



Subscribe to the Stata Journal
cover

strcs: A command for fitting flexible parametric survival models on the log-hazard scale

Hannah Bower
Department of Medical Epidemiology and Biostatistics
Karolinska Institutet
Stockholm, Sweden
hannah.bower@ki.se
Michael J. Crowther
Department of Medical Epidemiology and Biostatistics
Karolinska Institutet
Stockholm, Sweden
and
Department of Health Sciences
University of Leicester
Leicester, UK
michael.crowther@leicester.ac.uk
Paul C. Lambert
Department of Medical Epidemiology and Biostatistics
Karolinska Institutet
Stockholm, Sweden
and
Department of Health Sciences
University of Leicester
Leicester, UK
paul.lambert@leicester.ac.uk
Abstract.  In this article, we describe strcs, a user-written command for fitting flexible parametric survival models on the log-hazard scale. strcs is an extension of the user-written stgenreg command (Crowther and Lambert, 2013b, Journal of Statistical Software 53(12): 1–17), which fits general parametric models with user-defined hazard functions using numerical integration. strcs implements a two-step method that incorporates both analytical and numerical integration to estimate the cumulative hazard function required for the log-likelihood function. This method improves the accuracy of the fully numeric estimation implemented in stgenreg. Time-dependent effects can be incorporated, and excess mortality models can be fit by using the available options. We also describe some of the extensive postestimation commands that are easily implemented after fitting an strcs model.
Buy article (PDF): $14.00 View cart
Buy entire issue (PDF): $28.00

View all articles by these authors: Hannah Bower, Michael J. Crowther, Paul C. Lambert

View all articles with these keywords: strcs, strcs postestimation, flexible parametric survival model, log-hazard scale

Download citation: BibTeX  RIS

Download citation and abstract: BibTeX  RIS