Thanks as always to Kit Baum, a new package predsurv is now available for download from SSC. In Stata, use the ssc command to do this.

The predsurv package is described as below on my website, and enables the user to compute a k-year (or k-unit) predicted survival probability for all lifetimes after fitting a survival model using streg. I would like to thank Isabel Canette of StataCorp for some helpful discussions about how best to do this.

Best wishes

Roger

---------------------------------------------------------------------------
package predsurv from http://www.rogernewsonresources.org.uk/stata10
---------------------------------------------------------------------------

TITLE
predsurv: Compute predicted survival to a specified time after streg

DESCRIPTION/AUTHOR(S)
predsurv is intended for use in a survival time dataset set up by
stset, after streg has been used to fit a survival time model. It
computes a survival probability for a user-specified survival time,
in the units specified by the scale() option of stset. Note that
predsurv can do out-of-sample prediction, if streg has been used to
fit a model on a subset of the data.

Author: Roger Newson
Distribution-Date: 20february2020
Stata-Version: 10

INSTALLATION FILES (click here to install)
predsurv.ado
predsurv.sthlp
---------------------------------------------------------------------------
(click here to return to the previous screen)