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)
Related Posts with New package predsurv on SSC
average annual growth rates in panel dataDear all, I am currently working with a panel dataset, where I have country and year as indicators,…
Structural Impulse Response FunctionsI'm currently doing a SVAR model and the command I input for the structural impulse response functio…
Heckman two step modelDear Stata Users, I am attempting to apply the two step Heckman model, with a Tobit regression as f…
creating change variables in panel-structureDear Statalists, I am currently working on my master thesis with Paneldata from the German Socioeco…
Fighting spaghetti: some small devices using linkplotA common kind of question on Statalist concerns plotting multiple time series. Spaghetti -- tangled …
Subscribe to:
Post Comments (Atom)
0 Response to New package predsurv on SSC
Post a Comment