There are several statistical programmes to compute direct adjusted survival estimates from results of the Cox proportional hazards model. However, when used to analyze observational databases with large sample sizes or highly stratified treatment groups such as in registry-related datasets, these programmes are inefficient or unable to generate confidence bands and simultaneous p values. Also, these programmes do not consider potential left-truncation in retrospectively collected data. To address these deficiencies we developed a new SAS macro %adjsurvlt() able to produce direct adjusted survival estimates based on a stratified Cox model. The macro has improved computational performance and is able to handle left-truncated and right-censored time-to-event data. Several mechanisms were implemented to improve computational efficiency including choosing matrix operations over do-loops and reducing dimensions of co-variate matrices. Compared to the latest SAS macro, %adjsurvlt() used < 0.1% computational time to process a dataset with 100 treatment cohorts and a sample size of 20,000 and showed similar computational efficiency when analyzing left-truncated and right-censored data. We illustrate use of %adjsurvlt() to compare retrospectively collected survival data of 2 transplant cohorts.

Download full-text PDF

Source
http://www.ncbi.nlm.nih.gov/pmc/articles/PMC9396933PMC
http://dx.doi.org/10.1038/s41409-021-01435-2DOI Listing

Publication Analysis

Top Keywords

sas macro
12
direct adjusted
12
adjusted survival
12
time-to-event data
8
survival estimates
8
retrospectively collected
8
macro %adjsurvlt
8
left-truncated right-censored
8
computational efficiency
8
data
5

Similar Publications

Want AI Summaries of new PubMed Abstracts delivered to your In-box?

Enter search terms and have AI summaries delivered each week - change queries or unsubscribe any time!