{'fraction_non_alphanumeric': 0.029498525073746312, 'fraction_numerical': 0.0, 'mean_word_length': 5.345794392523365, '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}}
Investigating onset, cessation, relapse, and recovery: why you should, and how you can, use discrete-time survival analysis to examine event occurrence.

In this article, we show how discrete-time survival analysis can address questions about onset, cessation, relapse, and recovery. Using data on the onset of suicide ideation and depression and relapse into cocaine use, we introduce key concepts underpinning the method, describe the action of the discrete-time hazard model, and discuss several types of main effects and interactions that can be included as predictors. We also comment on practical issues of data analysis and strategies for interpretation and presentation.