# stpm2_standsurv

The `stpm2_standsurv`

estimates standardized survival curves and related measures. It also allows various contrasts between the standardized functions. It is a post-estimation command and is used after fitting an `stpm2`

model.

Note: I am developing an improved survival standardization command, `standsurv`

.

## Using `stpm2_standsurv`

- 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
- Standardized cause-specific cumulative incidence functions.
- Some comments on why I am not so keem on
`stteffects`

- Why just not use
`margins`