| Literature DB >> 29790230 |
Harald Heinzl1, Martina Mittlboeck.
Abstract
The difference between the pth quantiles of 2 survival functions can be used to compare patients' survival between 2 therapies. Setting p = 0.5 yields the median survival time difference. Varying p between 0 and 1 defines the quantile survival time difference curve which can be straightforwardly estimated by the horizontal differences between 2 Kaplan-Meier curves. The estimate's variability can be visualized by adding either a bundle of resampled bootstrap step functions or, alternatively, approximate bootstrap confidence bands. The user-friendly SAS software macro %kmdiff enables the straightforward application of this exploratory graphical approach. The macro is described, and its application is exemplified with breast cancer data. The advantages and limitations of the approach are discussed.Entities:
Keywords: Kaplan-Meier curves; SAS macro; bootstrap samples; confidence bands; exploratory data analysis
Mesh:
Year: 2018 PMID: 29790230 PMCID: PMC6099283 DOI: 10.1111/jep.12948
Source DB: PubMed Journal: J Eval Clin Pract ISSN: 1356-1294 Impact factor: 2.431
Parameters of the SAS macro %kmdiff
| Parameter | Description |
|---|---|
| data | Input SAS data set (required); its name must not start with two underscores, and it must not contain variables whose names start with two underscores (in particular, “__g”, “__t”, and “__status”) |
| time | Survival time variable (required) |
| timeunit | Time units of the survival time variable; default is “years” |
| status | Survival status variable (required) |
| censval | Censoring status value(s) to be used in PROC LIFETEST; default is “0”; use the %str() function to specify more than 1 value |
| group | Covariate which distinguishes the two groups of interest (required) |
| gvalue1 | Numerical value of first group of interest (required) |
| gvalue2 | Numerical value of second group of interest (required) |
| grouplbl | Label of group variable (optional) |
| gvallbl1 | Label of first group value (optional) |
| gvallbl2 | Label of second group value (optional) |
| alpha | 100‐alpha % is the pointwise two‐sided confidence level; default for alpha is “5” |
| boot | Number of bootstrap replications for computing confidence bands; default is “2000”, minimum is “100” |
| bundle | Number of bootstrap replications shown in figures; default is “200” |
| seedval | Bootstrap random number seed; default is “0” |
Figure 1Kaplan‐Meier curves showing recurrence‐free survival (RFS) of postmenopausal and premenopausal women with primary node positive breast cancer
Figure 2RFS probabilities are plotted against quantile RFS time differences between postmenopausal and premenopausal women with primary node positive breast cancer (green solid line). The variability of the estimated curve is illustrated by a bundle of 200 bootstrap replications (grey solid lines)
Figure 3RFS probabilities are plotted against quantile RFS time differences between postmenopausal and premenopausal women with primary node positive breast cancer (green solid line). The variability of the estimated curve is illustrated by a bootstrap‐based 95% confidence band (2000 replications, green transparent area)
Figure 4RFS probabilities are plotted against quantile RFS time differences between postmenopausal and premenopausal women with primary node positive breast cancer (green solid line). The variability of the estimated curve is illustrated by both a bundle of 200 bootstrap replications (grey solid lines) and a bootstrap‐based 95% confidence band (2000 replications, black solid lines)