stpm2 fits flexible parametric survival models. These models use splines to model some transformation of the survial function. The most common is the $\log[-\log[S(t)]]$ link function, which fits proportional hazards models.

I have added some examples and aim to add to these.

Proportional hazards models

Time-dependent effects (non proportional hazards)

  • Non-proportional hazards

Relative survival

  • A simple relative survival model
  • the logistic, probit and Aranda-Ordaz link functions.