standsurv command estimates standardized survival curves and related measures. It also allows various contrasts between the standardized functions. It is a post-estimation command and can be used after fitting a wide range of survival models. These include
streg models (except generalized gamma),
stpm2 models and
Note I previously developed
stpm2_standsurv, which only works with
stpm2 models, but
standsurv superceeds that. You can do the same things with
standsurv and much, much more.
So some of the examples are the same as
stpm2_standsurv. I will add more examples soon showing some of the additional things
standsurv can do.
You can install
standsurv within Stata using
. ssc install standsurv
standsurv no longer available on this site, so please use SSC.
Standard Survival Models
- Standardized survival functions and contrasts.
- Centiles of the standardized survival function.
- Restricted mean survival using standardized survival functions.
- The hazard function of the standardized survival curve.
- Estimating attributable fractions in cohort studies
- Some comments on why I am not so keen on
- Why just not use
Competing Risk Models
- Standardized cause-specific cumulative incidence functions.
- Other useful standardized measures in competing risks
Relative/Net Survival Models
- Standardized Relative Survival.
- External age-standardization
- Loss in Expectation of Life
- Standardized Crude Probabilities of death.