NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Correction to: A SAS macro for estimating direct adjusted survival functions for time-to-event data with or without left truncation

Zhen‐Huan Hu, Hailin Wang, Robert Peter Gale, Mei‐Jie ZhangBone 2022 · OpenAlex

Introduction

In a recent correction notice published in Bone Marrow Transplantation, authors have highlighted a significant addition to the toolkit of clinical researchers and biostatisticians: the %adjsurvlt() SAS macro. While the notice primarily serves to restore a missing "Series Editors Introduction," it also provides a detailed look at a tool designed to simplify the estimation of direct adjusted survival functions in complex clinical datasets.

Addressing Complexity in Survival Analysis

Survival analysis is a cornerstone of research in fields like oncology and hematology. However, real-world data often presents challenges that standard statistical methods struggle to handle simultaneously:

  1. Right Censoring: This occurs when a study concludes before an event of interest (such as relapse or death) happens for a specific patient.
  2. Left Truncation: This is a more nuanced issue where individuals only enter a study cohort if they have already survived to a certain milestone. A classic example is a study of post-transplant outcomes where patients are only "at risk" and observed after they have survived the period between diagnosis and the transplant itself.

Adjusting survival curves to account for varying patient characteristics (covariates) under these conditions is mathematically intensive. Researchers frequently require standardized methods to calculate these adjusted curves and, perhaps more importantly, to derive statistically sound p-values and confidence intervals for comparison.

The %adjsurvlt() Solution

The authors developed the %adjsurvlt() macro to bridge the gap between complex theoretical biostatistics and practical clinical application. The macro focuses on several key technical areas:

Direct Adjustment

The macro employs direct adjustment to estimate the survival probability of a population as if every individual shared a specific set of baseline characteristics. This allows for a "fair" comparison between groups that might otherwise have different underlying risk profiles.

Monte Carlo Simulations and Confidence Bands

A standout feature of the tool is its use of Monte Carlo simulations to generate robust statistical estimates. Unlike standard confidence intervals, which provide a range of uncertainty at a single point in time, the macro generates confidence bands. These bands represent the range of uncertainty across the entire duration of the survival curve, offering a more comprehensive and honest visualization of data reliability.

Computational Efficiency

To handle the intensive nature of these simulations, the macro utilizes optimized "do-loops." This design significantly reduces the processing time required, making it feasible for researchers to run complex models on standard hardware without excessive wait times.

Accessibility and Community Engagement

Despite the high-level math involved, the authors emphasize that the tool is designed for ease of use. In a lighthearted nod to the user-friendly interface, they suggest that the implementation is straightforward enough for a "5-year-old with an iPad" to navigate.

Furthermore, the authors have embraced an open-source approach. The macro is publicly available on GitHub, encouraging immediate implementation and feedback from the global research community. In a unique move for academic publishing, the authors have even invited readers to suggest a more "catchy" name for the macro, offering a vintage Keuffel and Esser slide rule as a prize for the winning entry.

Conclusion

The introduction of the %adjsurvlt() macro represents a significant step forward in making advanced survival analysis accessible to clinical researchers. By automating the complexities of left truncation and direct adjustment, and by prioritizing the use of confidence bands over simple intervals, the tool provides a more accurate and efficient means of interpreting time-to-event data.

The macro and its documentation can be accessed at: https://github.com/zhen-huan-hu/adjsurvlt.

Summary updated

BibTeX
@inproceedings{hu2022correction,
  author = {Zhen‐Huan Hu and Hailin Wang and Robert Peter Gale and Mei‐Jie Zhang},
  title = {{Correction to: A SAS macro for estimating direct adjusted survival functions for time-to-event data with or without left truncation}},
  booktitle = {Bone},
  year = {2022},
  doi = {10.1038/s41409-021-01533-1},
}
Figure