Similar Items: Adjusting for truncated study duration in recurrent event analysis: A weighting approach for clinical trials