简介
用统计严谨性将原始数据转化为决策,内置方法论检查清单与常见分析陷阱识别,适合数据驱动型决策场景。
原始描述
Turn raw data into decisions with statistical rigor, proper methodology, and awareness of analytical pitfalls.
中文使用说明 来自收录源
核心用法
该 skill 定位为数据分析师的「方法论副驾驶」,强制用户在触碰数据前完成四问:决策目标是什么?什么证据能改变判断?实际拥有 vs 理想数据差距? relevant 时间窗口?这一设计直接对抗「分析瘫痪」与「数据越多越好」的本能误区。
方法论框架覆盖五大分析场景:假设检验、预测建模、队列分析、用户分群、异常检测,每种场景对应明确的输出标准(p值+效应量+置信区间、系数+R²+残差等)。特别值得强调的是「输出标准」章节——强制要求结论先行、量化不确定性、声明局限性、给出强化路径,这四项原则直接对标学术期刊的 reporting guideline,在 LLM 生成内容中较为罕见。
显著优点
- 反 p-hacking 设计:显式要求预注册假设或多重比较校正,内置 6 大分析陷阱对照表(辛普森悖论、幸存者偏差、时间周期不等、p-hacking、伪相关、百分比聚合错误),且提供识别特征与规避策略
- 决策导向:反复强调「没有决策的分析只是算术」,强制锚定业务动作,避免沦为描述性统计的华丽展示
- 不确定性量化:拒绝单点估计,要求区间表达("12-18%" 而非 "15%"),符合现代贝叶斯与频率派的最佳实践
潜在缺点与局限性
- 未覆盖因果推断:缺乏 DAG、工具变量、双重差分等因果识别方法,仅停留在相关性与预测层面
- 技术细节外置:核心方法(如回归诊断、队列分析计算)被拆分到
techniques.md与pitfalls.md,独立使用时可能信息碎片化 - 行业适配有限:未针对 SaaS、电商、金融、医疗等垂直场景预设指标口径(如 ARR、GMV、OR 值),需用户自行映射
适合人群
- 产品/运营/增长团队中的「半专业分析师」——具备 SQL/Excel 基础,但需要方法论校准
- 数据科学新手,用于建立「问对问题比算对数更重要」的职业直觉
- 需要快速审计外部分析报告的管理者,作为 check list 使用
常规风险
- 误读显著性:用户可能将「统计显著」等同于「业务重要」,skill 虽提示效应量,但 LLM 可能在生成中过度强调 p 值
- 样本量建议机械化:未内置具体样本量计算工具(如 power analysis),「小 N = 宽 CI」的提醒可能流于口号
- 领域知识缺失:在医疗、金融等强监管领域,内置方法论可能与合规要求(如 GCP、SR 11-7)存在 gap
技能正文
name: data-analysis-litiao description: Turn raw data into decisions with statistical rigor, proper methodology, and awareness of analytical pitfalls.
When to Load
User asks about: analyzing data, finding patterns, understanding metrics, testing hypotheses, cohort analysis, A/B testing, churn analysis, statistical significance.
Core Principle
Analysis without a decision is just arithmetic. Always clarify: What would change if this analysis shows X vs Y?
Methodology First
Before touching data:
- What decision is this analysis supporting?
- What would change your mind? (the real question)
- What data do you actually have vs what you wish you had?
- What timeframe is relevant?
Statistical Rigor Checklist
- Sample size sufficient? (small N = wide confidence intervals)
- Comparison groups fair? (same time period, similar conditions)
- Multiple comparisons? (20 tests = 1 "significant" by chance)
- Effect size meaningful? (statistically significant ≠ practically important)
- Uncertainty quantified? ("12-18% lift" not just "15% lift")
Analytical Pitfalls to Catch
| Pitfall | What it looks like | How to avoid |
|---|---|---|
| Simpson's Paradox | Trend reverses when you segment | Always check by key dimensions |
| Survivorship bias | Only analyzing current users | Include churned/failed in dataset |
| Comparing unequal periods | Feb (28d) vs March (31d) | Normalize to per-day or same-length windows |
| p-hacking | Testing until something is "significant" | Pre-register hypotheses or adjust for multiple comparisons |
| Correlation in time series | Both went up = "related" | Check if controlling for time removes relationship |
| Aggregating percentages | Averaging percentages directly | Re-calculate from underlying totals |
For detailed examples of each pitfall, see pitfalls.md.
Approach Selection
| Question type | Approach | Key output |
|---|---|---|
| "Is X different from Y?" | Hypothesis test | p-value + effect size + CI |
| "What predicts Z?" | Regression/correlation | Coefficients + R² + residual check |
| "How do users behave over time?" | Cohort analysis | Retention curves by cohort |
| "Are these groups different?" | Segmentation | Profiles + statistical comparison |
| "What's unusual?" | Anomaly detection | Flagged points + context |
For technique details and when to use each, see techniques.md.
Output Standards
- Lead with the insight, not the methodology
- Quantify uncertainty — ranges, not point estimates
- State limitations — what this analysis can't tell you
- Recommend next steps — what would strengthen the conclusion
Red Flags to Escalate
- User wants to "prove" a predetermined conclusion
- Sample size too small for reliable inference
- Data quality issues that invalidate analysis
- Confounders that can't be controlled for
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。