1. Estimating differences and ratios in median times to event
- Author
-
Rogawski, Elizabeth T., Westreich, Daniel J., Kang, Gagandeep, Ward, Honorine D., and Cole, Stephen R.
- Subjects
Diarrhea ,Male ,Incidence ,Infant, Newborn ,India ,Infant ,Kaplan-Meier Estimate ,Protective Factors ,Article ,Time ,Breast Feeding ,Recurrence ,Child, Preschool ,Data Interpretation, Statistical ,Epidemiologic Research Design ,Confidence Intervals ,Odds Ratio ,Secondary Prevention ,Humans ,Female ,Follow-Up Studies - 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.
- Published
- 2016