跳到正文
FunCoding

搜索

搜索文档、Skill 和 MCP

quantitative-analysis

Answers a business question with data without fooling yourself — framing the question so an answer would change something, choosing the right comparison, checking the data before trusting it, recognizing the traps that produce confident wrong answers (aggregation reversals, survivorship, regression to the mean, multiple comparisons), and reporting uncertainty honestly. Use this to run an analysis, review one before acting on it, or work out why two people looking at the same data reached opposite conclusions.

AI 与智能体2kplugins/data-analytics/skills/quantitative-analysis/SKILL.md

安装

把这段话发给 Claude Code、Codex 或 Cursor。智能体会先检查安全性,你确认后才安装。

读取 https://funcoding.ai/skills/cbrock84/headcount/quantitative-analysis/install.md ,按里面的步骤帮我安装这个 Skill。

SKILL.md

Quantitative analysis

A wrong answer here is rarely an arithmetic error. It is a correct calculation on the wrong comparison, or on data that does not mean what the field name suggests.

Frame the question so that an answer changes something

Start from the decision. "How is retention doing" has no answer; "is the cohort we changed onboarding for retaining better than the one before it, enough to justify rolling it out" does.

Write down what you expect to find and what you would do in each case before you look. If every possible result leads to the same action, the analysis is not worth running — and knowing that in advance is worth more than the analysis would have been.

Choose the comparison before the metric

Almost every meaningful number is a comparison, and the choice of what to compare against does more work than the calculation.

  • Against what it was — needs a period long enough to see through seasonality and noise.
  • Against what it would have been — the strongest comparison and the hardest to construct. A holdout group, a matched segment, a pre-trend extended forward.
  • Against a peer or a benchmark — only useful if the definitions genuinely match, which they usually do not.

Name the counterfactual explicitly. "Revenue rose after the campaign" is a comparison against nothing, and it is the single most common way credit is claimed for a trend that was already happening.

Interrogate the data before you trust it

Look at the raw rows. Check when collection started and whether the definition changed partway. Check null rates, duplicates, and test or internal accounts still in the set. Check whether recent periods are still filling in — partial data at the tail is what produces the "sudden decline" that resolves itself a week later.

A field's name is not its definition. Find out what actually writes it and under what conditions, especially for anything named status, type, active, or created.

Know the traps that produce confident wrong answers

  • Aggregation reversals. A rate can improve in every segment and worsen overall if the mix shifted. Always check whether the segments agree with the total, and where they disagree, the segments are the truth.
  • Survivorship. Analyzing only accounts still present answers a question about survivors. The ones that left are usually the ones the question was about.
  • Regression to the mean. Anything selected for being extreme moves back toward average on its own. Interventions aimed at the worst performers get credited with this routinely.
  • Multiple comparisons. Test twenty segments at the usual threshold and one will look significant by chance. Decide what you are testing before you slice.
  • Denominator drift. A ratio moves when either half moves. Show both.
  • Correlation with an obvious common cause. Two things driven by the same seasonality will track each other beautifully and explain nothing.

Segment before concluding, and stop before you overfit

Blended numbers hide the finding almost every time — one segment moving hard while the rest sit still. Split by the two or three dimensions that plausibly matter and check whether the effect is general or local.

Then stop. Slicing until something looks interesting finds noise, reliably, and the result will not replicate.

Report the uncertainty rather than burying it

Give the estimate, the range around it, and what would change the answer. State the sample size and the period. Say plainly what the analysis cannot determine — an analysis honest about its limits gets trusted on the things it can determine.

Distinguish what the data shows from what you infer. Both belong in the report; conflating them is how a plausible interpretation becomes a fact by the third time it is repeated.

Sources

references/sources.md in this skill lists the outside authorities that settle the questions here — what each one is authoritative for, and what you may do with it. Check them before answering on anything they cover, and cite what you used. Most are free to read and not free to reproduce; the use note on each is binding.

Never

  • Run an analysis that leads to the same action whatever it finds.
  • Report a change without naming what it is being compared against.
  • Conclude from a total when the segments disagree with it.
  • Slice until something is significant and report the slice that was.

相似的 Skill

brand-guidelines
anthropics/skills180k

brand-guidelines

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

AI 与智能体

internal-comms
anthropics/skills180k

internal-comms

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

AI 与智能体

template-skill
anthropics/skills180k

template-skill

Replace with description of the skill and when Claude should use it.

AI 与智能体

mcp-builder
anthropics/skills180k

mcp-builder

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

AI 与智能体

algorithmic-art
anthropics/skills180k

algorithmic-art

Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.

AI 与智能体

academy-guide
anthropics/skills180k

academy-guide

Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

AI 与智能体