Thanks once again to Kit Baum, a nw version of the predsurv packge is now available for download from SSC. In Stata, use the ssc command to do this, or adoupdate if you already have an old version of predsurv.
The predsurv package is described as below on my website. The new version adds a cumind option, causing predsurv to estimate cumulative incidence prrobablities instead of survval probabilities.
Besst wishes (and hoping you all are well)
Roger
--------------------------------------------------------------------------------------------------
package predsurv from http://www.rogernewsonresources.org.uk/stata10
--------------------------------------------------------------------------------------------------
TITLE
predsurv: Compute predicted survival or cumulative incidence 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 or cumulative incidence 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: 25march2020
Stata-Version: 10
INSTALLATION FILES (click here to install)
predsurv.ado
predsurv.sthlp
--------------------------------------------------------------------------------------------------
(click here to return to the previous screen)
The predsurv package is described as below on my website. The new version adds a cumind option, causing predsurv to estimate cumulative incidence prrobablities instead of survval probabilities.
Besst wishes (and hoping you all are well)
Roger
--------------------------------------------------------------------------------------------------
package predsurv from http://www.rogernewsonresources.org.uk/stata10
--------------------------------------------------------------------------------------------------
TITLE
predsurv: Compute predicted survival or cumulative incidence 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 or cumulative incidence 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: 25march2020
Stata-Version: 10
INSTALLATION FILES (click here to install)
predsurv.ado
predsurv.sthlp
--------------------------------------------------------------------------------------------------
(click here to return to the previous screen)