ab-testing-analyzer
全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。
Analyze user retention and churn using survival analysis, cohort analysis, and machine learning. Calculate retention rates, build survival curves, predict churn risk, and generate retention optimization strategies. Use when working with user subscription data, membership
$ npx -y skills add liangdabiao/claude-data-analysis-ultra-main --skill retention-analysis --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/retention-analysisContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyze user retention and churn using survival analysis, cohort analysis, and machine learning. Calculate retention rates, build survival curves, predict churn risk, and generate retention optimization strategies. Use when working with user subscription data, membership
name: retention-analysis description: Analyze user retention and churn using survival analysis, cohort analysis, and machine learning. Calculate retention rates, build survival curves, predict churn risk, and generate retention optimization strategies. Use when working with user subscription data, membership information, or when user mentions retention, churn, survival analysis, or customer lifetime value. allowed-tools: Read, Write, Edit, Bash, Grep, Glob
Analyze user retention patterns, predict customer churn, and optimize retention strategies using advanced statistical methods and machine learning techniques.
This skill helps you: 1. **Calculate retention rates** and churn metrics 2. **Build survival curves** using Kaplan-Meier analysis 3. **Perform cohort analysis** to understand behavior patterns 4. **Predict churn risk** with machine learning models 5. **Identify retention drivers** using Cox regression 6. **Generate actionable insights** for retention improvement
Install required packages:
pip install pandas numpy matplotlib seaborn scikit-learn lifelines
Your data should include:
1. **Data preprocessing**: Clean and prepare retention data 2. **Survival analysis**: Build Kaplan-Meier curves 3. **Cohort analysis**: Group users by acquisition time 4. **Risk modeling**: Identify churn drivers with Cox regression 5. **Churn prediction**: Build machine learning prediction models 6. **Insight generation**: Create actionable recommendations
# Analyze monthly subscription renewal patterns # Predict which users are likely to churn # Identify features that drive long-term retention
# Track member engagement over time # Compare retention across membership tiers # Analyze payment method impact on retention
# Analyze repeat purchase patterns # Calculate customer lifetime value # Identify high-value customer segments
1. **What is our overall retention rate?** 2. **How does retention vary by user segment?** 3. **What factors most influence customer churn?** 4. **Which users are at highest risk of leaving?** 5. **How can we improve long-term retention?** 6. **What is the typical customer lifetime?**
See [examples/](examples/) directory for:
1. **Data Quality**: Ensure accurate churn definitions and time measurements 2. **Event Definition**: Clearly define what constitutes "churn" 3. **Time Windows**: Choose appropriate analysis periods 4. **Segmentation**: Analyze different user groups separately 5. **Validation**: Always validate models with test data 6. **Business Context**: Consider operational constraints and costs
基于 Claude Skill 架构的智能数据分析平台。提供两套完整的技能体系: 通用数据分析技能 - 6阶段完整分析流程 互联网数据分析技能 - 7个专业分析模块 + 1个入口技能
全面的AB测试分析工具,支持实验设计、统计检验、用户分群分析和可视化报告生成。用于分析产品改版、营销活动、功能优化等AB测试结果,提供统计显著性检验和深度洞察。
Perform multi-touch attribution analysis using Markov chains, Shapley values, and custom attribution models. Use when you need to analyze marketing channel…
Generates production-ready analysis code in Python, R, SQL. Invoke when user wants reusable code for data analysis, ML, or visualization.
Analyze text content using both traditional NLP and LLM-enhanced methods. Extract sentiment, topics, keywords, and insights from various content types…
通用的 6 阶段数据分析助手:数据质量→探索性分析→假设生成→可视化→代码生成→综合报告。提供完整的方法论和模板!
自动化数据探索和可视化工具,提供从数据加载到专业报告生成的完整EDA解决方案。支持多种图表类型、智能数据诊断、建模评估和HTML报告生成。适用于医疗、金融、电商等领域的数据分析项目。