Relative Content

Tag Archive for rsurvival-analysis

How do I incorporate background mortality to produce an excess hazard model using flexsurv?

The flexsurv package in R facilitates the use of background mortality estimates to model excess hazard. In the examples I can find (the standsurv vignette and the 2023 paper by Sweeting et al.), the source of this background mortality is the survival::survexp.us object. I would like to use more relevant sources of background mortality but cannot figure out how to do this.