# stpp

`stpp`

calculates the Pohar-Perme non-parametric estimate of marginal relative survival, which under assumptions can be interpreted as marginal net survival. The estimate is a step function and changes at each event time.
This is a different implementation to `strs`

and `stnet`

where the time-scale is split into a number of intervals. `stns`

is another command
that can be used to give an estimate of marginal relative survival. The motivation for developing `stpp`

was to directly standardize
the estimates using both traditional standardization and by using individual weights and to extend to estimation of other related measures. The other measures crude probabilities and the ability to incorporate a second expeccted rate file, which can be used to estimates measures defined by Sasieni and Brentnall and non-parametric estimates of reference adjusted measures.

The single example currently just replicates the help file, but with some added description.

## Examples

### Basic example

## Version History

Version 1.1.7 - 2020-12-22

- When listing results on the screen using the list() option, a missing value was given if the time was greater than the largest event time, but less than the largest censoring time. This has been fixed.

Version 1.1.6 - 2020-12-13

- Fixed mata error when list() option had time greater than in data
- some minor speed gains
- help file examples now produce nice graphs (previously not sorted by _t)

Version 1.1.5 - 2020-10-19

- fixed bug introduced in 1.1.4: ederer2 option now works again.

Version 1.1.4 - 2020-10-06

- check for problems with merging lifetable
- Big speed up in writing results back to Stata
- Change default for transformation to survival to product integration. (added “fh” option for Fleming-Harrington estimates)

Version 1.1.2 - 2020-07-14

- changed weights for references adjusted measures
- added error if try to use ederer2 option with using2()