{'fraction_non_alphanumeric': 0.015137180700094607, 'fraction_numerical': 0.003784295175023652, 'mean_word_length': 4.75, '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}}
A linear rank test for use when the main interest is in differences in cure rates.

For diseases with a positive probability of being cured, a family of alternatives to the null hypothesis of equality of survival distributions is introduced, which is designed to focus power against alternatives with differences in cure rates. The optimal linear rank test for this alternative is derived, and found to be substantially more efficient than the log-rank test for this alternative when cure rates are less than 50%, while there is little difference between the tests if the cure rates are 50% or greater. The simple test based on the difference of Kaplan-Meier estimates of the proportion cured is also examined, and found to be fully efficient for this alternative with no censoring, while its efficiency rapidly drops as censoring is increased. The new test is not a pure test of equality of cure rates when the data are censored, but rather is a test of equality of survival distributions that focuses power against late differences in the survival curves.