Related Experiment Video
Updated: Mar 17, 2026

Using the Race Model Inequality to Quantify Behavioral Multisensory Integration Effects
Published on: May 10, 2019
Brief Report: Estimating Differences and Ratios in Median Times to Event
Elizabeth T Rogawski1, Daniel J Westreich, Gagandeep Kang
1From the aDepartment of Epidemiology, University of North Carolina at Chapel Hill, Chapel Hill, NC; bDivision of Gastrointestinal Sciences, Christian Medical College, Vellore, India; and cDivision of Geographic Medicine and Infectious Diseases, Tufts Medical Center, Boston, MA.
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.
Related Concept Videos
Median
Comparing the Survival Analysis of Two or More Groups
Measures of Central Tendency
Kaplan-Meier Approach
Censoring Survival Data
Ratio Level of Measurement
A set of data measured using the ratio scale takes care of the ratio problem and provides complete information. Ratio scale data are like interval scale data, except they have a zero point and ratios can be calculated....

