Survival Analysis with Lifelines
Performs advanced survival analysis and time-to-event modeling using the Lifelines library for clinical and empirical research.
This skill integrates the Lifelines library into Claude's workflow, enabling researchers and data scientists to perform robust survival analysis on right-censored data. It provides automated guidance for generating Kaplan-Meier survival curves, conducting Cox Proportional Hazards regression, and performing logrank tests to compare treatment groups across various disciplines like medicine and sociology. By enforcing critical best practices—such as assumption checking and proper censoring handling—the skill ensures that users derive statistically sound prognostic insights from complex longitudinal datasets without the biases associated with standard regression models.