You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEWS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# 15 Jan 2024 - Version 0.2
1
+
# 26 Jan 2024 - Version 0.2
2
2
3
3
This version provides additional functionality to the calculation of restricted mean durations in `calc_allrmds`. These estimates may now be constrained by a lifetable (see `calc_ltsurv`) and discounting may now be applied. A vignette describing how to use this functionality is provided: `vignette("background-mortality")`.
Copy file name to clipboardExpand all lines: vignettes/background-mortality.Rmd
+33-7Lines changed: 33 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -21,11 +21,35 @@ knitr::opts_chunk$set(
21
21
22
22
This is the second in a series of vignettes illustrating methods for evaluating the fit and efficiency of three state oncology cost-effectiveness model structures, as described in an accompanying journal article.[1] The package is heavily dependent on [flexsurv](https://cran.r-project.org/package=flexsurv)).[2]
23
23
24
-
After fitting models, as described in `vignette("example")`, estimates of restricted mean durations in health states can be calculated after constraining for background mortality from a given life table. This background mortality is assumed to add to the mortality hazard observed in the dataset. In doing this, we must assume that the original dataset was NOT subject to this type of mortality. This is a common, pragmatic assumption in cost-effectiveness models. Further discussion of survival extrapolation incorporating general population mortality is provided by Sweeting et al.[3]
24
+
After fitting models, as described in `vignette("example")`, estimates of restricted mean durations in health states can be calculated after constraining for background mortality from a given life table.
25
25
26
-
First, we discussing some underpinning math(s). Then we provide a demonstration of the calculations and modeling using some illustrative data.
26
+
## What does constraining for background mortality mean?
27
27
28
-
## The math bit
28
+
### Approach 1 - Constraining only the survival function
29
+
30
+
This background mortality is assumed to limit the survival function as follows.
This is a simple approach, and has been used at least one NICE technology appraisal: "Patient longevity is always the lesser of values generated from the disease-specific survival curve (after adjustment for treatment and functional status) and the survival curve for the general population according to age and sex." [3] However, this approach does not ensure that the hazard is at least as great as the hazard of background mortality.
37
+
38
+
### Approach 2 - Constraining the hazard function
39
+
40
+
A more reasonable adjustment would be that the hazard of background mortality acts as a constraint to the unadjusted hazard.[4]
\implies S_{adjusted}(t) = \exp \left[ - \int_0^t h_{adjusted}(u) du \right]
45
+
$$
46
+
In either case, we must assume that the original dataset was NOT subject to background mortality. Although unlikely to be true, this is a common, pragmatic assumption in cost-effectiveness models as long as background mortality is relatively insignificant during trial follow-up.
47
+
48
+
### Approach 3 - Modeling excess hazard in the original dataset
49
+
50
+
The above approaches work by adjusting extrapolations made from models fitted to data assumed to be not subject to background mortality. If - as is likely - the population in the dataset were in fact subject to background mortality, then it would be better to model that dataset using excess hazard methods rather than to seek to make adjustments to extrapolations after the fact. Further discussion of survival extrapolation incorporating general population mortality is provided by Sweeting et al.[4]
51
+
52
+
## Deriving restricted mean duration estimates under Approach 1
29
53
30
54
Following the notation in the journal article supporting this
31
55
package, where membership probabilities at time $t$ from baseline are
@@ -45,7 +69,7 @@ $l_x$ is an appropriate lifetable.
45
69
We can also derive the average background mortality hazard for $t$ in the range $[t_1, t_2)$.
@@ -92,7 +116,7 @@ Suppose a discount rate $i$\% applies over unit time. Then the discounting facto
92
116
93
117
### Programming implications
94
118
95
-
The calculation of restricted mean durations in *psm3mkv* default to assume no life table constraints or discounting. However, when a lifetable is specified, then $S_{gen}(t)$ and $h_{gen}(t)$ are specified and constrains the estimates of restricted mean durations as indicated above. When a discount rate is specified, then the mean estimates reflect this also.
119
+
The calculation of restricted mean durations in *psm3mkv* default to assume no life table constraints or discounting. However, when a lifetable is specified, then $S_{gen}(t)$ and $h_{gen}(t)$ are specified and constrain the estimated means as indicated. When a discount rate is specified, then the mean estimates reflect this also.
Then we derive a projection with lifetable constraints over the same time horizon.
243
+
Then we derive a projection with lifetable constraints (according to Approach 1) over the same time horizon.
220
244
221
245
```{r proj2}
222
246
# Run the calculation
@@ -276,4 +300,6 @@ A summary of the STM-CR estimates of mean time in PF is given in the table below
276
300
277
301
2. Jackson C, Metcalfe P, Amdahl J, Warkentin MT, Sweeting M, Kunzmann K. flexsurv: Flexible Parametric Survival and Multi-State Models. Available at: https://cran.r-project.org/package=flexsurv.
278
302
279
-
3. Sweeting et al. Survival Extrapolation Incorporating General Population Mortality Using Excess Hazard and Cure Models: A Tutorial. Med Decis Making 2023 Aug;43(6):737-748. [DOI: 10.1177/0272989X231184247](https://doi.org/10.1177/0272989X231184247)
303
+
3. National Institute for Health and Care Excellence. Avalglucosidase alfa for treating Pompe disease. Technology appraisal guidance [TA821]. August 24, 2022. Available from: [https://www.nice.org.uk/guidance/ta821/documents/committee-papers](https://www.nice.org.uk/guidance/ta821/documents/committee-papers)
304
+
305
+
4. Sweeting et al. Survival Extrapolation Incorporating General Population Mortality Using Excess Hazard and Cure Models: A Tutorial. Med Decis Making 2023 Aug;43(6):737-748. [DOI: 10.1177/0272989X231184247](https://doi.org/10.1177/0272989X231184247)
1. Jackson C, Metcalfe P, Amdahl J, Warkentin MT, Sweeting M, Kunzmann K. flexsurv: Flexible Parametric Survival and Multi-State Models. Available at: https://cran.r-project.org/package=flexsurv.
253
253
254
-
2. Woods BS, Sideris E, Palmer S, Latimer N, Soares M. Partitioned Survival and State Transition Models for Healthcare Decision Making in Oncology: Where Are We Now? Value in Health 23(12):1613-21; 2020. DOI: 10.1016/j.jval.2020.08.2094
254
+
2. Woods BS, Sideris E, Palmer S, Latimer N, Soares M. Partitioned Survival and State Transition Models for Healthcare Decision Making in Oncology: Where Are We Now? Value in Health 23(12):1613-21; 2020. [DOI: 10.1016/j.jval.2020.08.2094](https://doi.org/10.1016/j.jval.2020.08.2094)
255
255
256
-
3. Royston P and Parmar M. Flexible parametric proportional-hazards and proportional-odds models for censored survival data, with application to prognostic modelling and estimation of treatment effects. Statistics in Medicine 21(1):2175-2197; 2002. DOI: 10.1002/sim.1203
256
+
3. Royston P and Parmar M. Flexible parametric proportional-hazards and proportional-odds models for censored survival data, with application to prognostic modelling and estimation of treatment effects. Statistics in Medicine 21(1):2175-2197; 2002. [DOI: 10.1002/sim.1203](https://doi.org/10.1002/sim.1203)
257
257
258
258
4. Hanpu Z. Predictive Evaluation Metrics in Survival Analysis. Vignette to the *SurvMetrics* R package. July 2021. Available from: https://cran.r-project.org/package=SurvMetrics/vignettes/SurvMetrics-vignette.html
0 commit comments