The mrsprep command restructures survival data and calculates weighted mean expected mortality rates and time-dependent weights so that a marginal relative survival can be directly estimated. After running mrsprep estimation commands that fit (conditional) relative survival models (e.