Brief Report: Estimating Differences and Ratios in Median Times to Event

Epidemiology. 2016 Nov;27(6):848-51. doi: 10.1097/EDE.0000000000000539.

Abstract

Time differences and time ratios are often more interpretable estimates of effect than hazard ratios for time-to-event data, especially for common outcomes. We developed a SAS macro for estimating time differences and time ratios between baseline-fixed binary exposure groups based on inverse probability-weighted Kaplan-Meier curves. The macro uses pooled logistic regression to calculate inverse probability of censoring and exposure weights, draws Kaplan-Meier curves based on the weighted data, and estimates the time difference and time ratio at a user-defined survival proportion. The macro also calculates the risk difference and risk ratio at a user-specified time. Confidence intervals are constructed by bootstrap. We provide an example assessing the effect of exclusive breastfeeding during diarrhea on the incidence of subsequent diarrhea in children followed from birth to 3 years in Vellore, India. The SAS macro provided here should facilitate the wider reporting of time differences and time ratios.

Publication types

  • Research Support, N.I.H., Extramural

MeSH terms

  • Breast Feeding
  • Child, Preschool
  • Confidence Intervals
  • Data Interpretation, Statistical*
  • Diarrhea / epidemiology
  • Diarrhea / prevention & control
  • Epidemiologic Research Design*
  • Female
  • Follow-Up Studies
  • Humans
  • Incidence
  • India / epidemiology
  • Infant
  • Infant, Newborn
  • Kaplan-Meier Estimate*
  • Male
  • Odds Ratio
  • Protective Factors
  • Recurrence
  • Secondary Prevention / methods
  • Time*