Survival Analysis with Lifelines

•
1.9k
•

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.

주요 기능

01Kaplan-Meier survival function estimation and visualization
02Automated validation of proportional hazards assumptions
03Statistical group comparisons using logrank and multivariate tests
041,857 GitHub stars
05Support for parametric models including Weibull and Exponential fitters
06Cox Proportional Hazards regression for risk factor identification

사용 사례

01Identifying significant risk factors for disease progression or mortality
02Modeling prognosis and predicting survival probabilities for epidemiology studies
03Analyzing clinical trial data to compare time-to-event between patient cohorts