stpm3

stpm3 fits flexible parametric survival models. These models use splines to model the effect of the time scale. stpm3 replaces stpm2, though stpm2 will continue to be available on SSC.

I have added some examples to explain some of the features of stpm3 and differences to stpm2.

Installing You will need to install version of the stpm3, standsurv and gensplines. You can install from within Stata from SSC using the code below. If you have already installed earler test versions from by website then I recommend first removing these versions using ado uninstall before installing the version from SSC.

ssc install stpm3
ssc install standsurv
ssc install gensplines

Fitting stpm3 models.

Predictions (conditional on covariate values)

Marginal predictions

Other Details

  • [Numerical integration for models on log hazard scale]

Releases

See stpm3_releases.txt

Biostatistician