{'fraction_non_alphanumeric': 0.0184645286686103, 'fraction_numerical': 0.003887269193391642, 'mean_word_length': 5.0588235294117645, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Ties between event times and jump times in the Cox model

Methods for dealing with tied event times in the Cox proportional hazards model are well developed. Also, the partial likelihood provides a natural way to handle covariates that change over time. However, ties between event times and the times that discrete time‐varying covariates change have not been systematically studied in the literature. In this article, we discuss the default behavior of current software and propose some simple methods for dealing with such ties. A simulation study shows that the default behavior of current software can lead to biased estimates of the coefficient of a binary time‐varying covariate and that two proposed methods (Random Jitter and Equally Weighted) reduce estimation bias. The proposed methods can be easily implemented with existing software. The methods are illustrated on the well‐known Stanford heart transplant data and data from a study on intimate partner violence and smoking. Copyright © 2012 John Wiley & Sons, Ltd.