Partitioned survival state occupancy and area-under-the-curve QALY function
g(S_PFS(t), S_OS(t), u_PF, u_PD) = (P_PF(t), P_PD(t), P_D(t), QALY)
Maps a set of survival curves that are not mutually exclusive, usually progression-free survival (PFS) and overall survival (OS) for each treatment arm, to the share of the cohort in each health state over time, and then to mean time in each state and QALYs as utility-weighted areas under the curves. State membership is read from the curves rather than built from transition probabilities, which is what separates a partitioned survival model from a state transition model. Linked records cover the parts this package does not repeat: the restricted mean from a Kaplan-Meier curve (HE-FM-ADMC-003), QALYs summed over periods (HE-FM-QALY-001), discounted totals (HE-FM-DR-002), a treatment curve from a baseline curve and a hazard ratio (HE-FM-HR-003) and the continuous discount rate (HE-FM-CONT-003).
Three-state occupancy from PFS and OS curves in a partitioned survival model
P_PF = S_PFS; P_PD = S_OS - S_PFS; P_D = 1 - S_OS
Four-state occupancy with a time to treatment discontinuation curve
P_ON = S_TTD; P_OFF = S_PFS - S_TTD; P_PD = S_OS - S_PFS; P_D = 1 - S_OS
Partitioned survival QALYs as utility-weighted areas under PFS and OS
QALY = u_PF * A_PF + u_PD * (A_OS - A_PF)
Lifetime partitioned survival QALYs with exponential PFS and OS curves
QALY_exp = u_PF / (lambda_PFS + rho) + u_PD * (1 / (lambda_OS + rho) - 1 / (lambda_PFS + rho))
Partitioned survival QALYs with utilities by time to death
W = (1 - exp(-lambda_OS * a)) / lambda_OS; QALY_TTD = u_far * (1 / lambda_OS - W) + u_near * W