retention-analysis

Community

Understand and optimize customer retention.

Authorliangdabiao
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides comprehensive retention analysis using survival and cohort analysis, churn prediction, and customer lifetime value modeling to help SaaS, membership programs, and e-commerce sustain long-term engagement.

Core Features & Use Cases

  • Survival Analysis: Kaplan-Meier curves, Cox regression, and median survival time.
  • Cohort Analysis: Cohort-based retention matrices and heatmaps.
  • Churn Prediction: ML models and risk scoring for at-risk users.
  • LTV & ROI: Customer lifetime value modeling and ROI insights.

Quick Start

Load retention data, fit Kaplan-Meier curves, perform cohort analysis, and build churn models. Quick steps:

  • Prepare user-activity data with timestamps and churn indicators
  • Compute retention and survival metrics
  • Train a churn prediction model and generate actionable recommendations

Dependency Matrix

Required Modules

pandasnumpylifelinesmatplotlibseabornscikit-learn

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: retention-analysis
Download link: https://github.com/liangdabiao/claude-data-analysis-ultra-main/archive/main.zip#retention-analysis

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.