statistical-analysis
Skill26k starsChanged 10 months agoApache-2.0View on GitHub
Apply statistical methods including descriptive stats, trend analysis, outlier detection, and hypothesis testing. Use when analyzing distributions, testing for significance, detecting anomalies, computing correlations, or interpreting statistical results.
20 other projects use a version of this, 1 of them edited.
How people change it
All 1 edited versions we compared keep every one of its 16 rules.
Of the 1 edited version we compared: 1 keep every rule.
We split this file and each edited version into the rules they give an agent and match them by wording. A version that adds no rule of its own and has not changed since this file last did reads as an older text, so what it lacks is not counted as dropped. We keep no past texts of a file, so that is inferred, and an edited version that started from an older text still counts its gaps as drops.
Adopted by
Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data
Most recently taken up by
- aidless/research-writing-skilltheir own version, first seen Oct 4, 2026
- BrightGold70/skillstheir own version, first seen Sep 29, 2026
- nurlan135/stats-skill-for-ai-agentstheir own version, first seen Sep 18, 2026
- rmusser01/tldw-stufftheir own version, first seen Sep 6, 2026
- AngelCampa1/decision-making-skillstheir own version, first seen Sep 2, 2026
- jaechang-hits/SciAgent-Skillstheir own version, first seen Jul 24, 2026
Who's talking about anthropics/knowledge-work-plugins
- @tommis.fi“github.com/anthropics/k...”Bluesky · May 24, 2026 · 5 likes
- A Hacker News story“Anthropic – Legal Productivity Plugin”Hacker News · Feb 4, 2026 · 4 points
- A Hacker News story“Claude open source knowledge Work Plugins”Hacker News · Jan 30, 2026 · 4 points
- Kilo-Org/kilo-marketplace“Add build-dashboard skill”GitHub · Jun 23, 2026 · 2 reactions
- @github-trending.bsky.social“🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / knowledge-work-plugins ⭐ 13,162 (+486) 🗒 Python Open …”Bluesky · May 24, 2026 · 2 likes
The biggest 5 of 57 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 57
Talked about on GitHub, Bluesky and Hacker News (57 times).
On GitHub · 50
- Jun 23, 2026Add build-dashboard skill — Kilo-Org/kilo-marketplace2 reactions · 1 comment
- Nov 24, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 2baf6d1 → 5e504ae — sudosubin/agents.nix0 reactions
- Nov 24, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-19 → 0-unstable-2026-11-23 — sudosubin/agents.nix0 reactions
- Nov 24, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-19 → 0-unstable-2026-11-23 — sudosubin/agents.nix0 reactions
- Nov 23, 2026chore(skills): bump the skill-packs group across 1 directory with 19 updates — solanabr/ai-kit0 reactions · 2 comments
45 more on GitHub
- Nov 23, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-19 → 0-unstable-2026-11-23 — sudosubin/agents.nix0 reactions
- Nov 20, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-18 → 0-unstable-2026-11-19 — sudosubin/agents.nix0 reactions
- Nov 19, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-18 → 0-unstable-2026-11-19 — sudosubin/agents.nix0 reactions
- Nov 19, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-18 → 0-unstable-2026-11-19 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-13 → 0-unstable-2026-11-18 — sudosubin/agents.nix0 reactions
- Nov 18, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-13 → 0-unstable-2026-11-18 — sudosubin/agents.nix0 reactions
- Nov 18, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-13 → 0-unstable-2026-11-18 — sudosubin/agents.nix0 reactions
- Nov 16, 2026deps: actualiza skills (auditar) — savaf/dotfiles0 reactions
- Nov 16, 2026Feature: 3 role additions adapted from Anthropic knowledge-work-plugins (Sales deal skills, Legal helper, Accounting close) — amgadbarkat-ab/Ark-Agent0 reactions
- Nov 15, 2026[P1 WORK PACKS] Composable knowledge-work skills, commands, connectors and real professional workflows — loftwah/app-composer0 reactions
- Nov 14, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 43ccfc0 → e91a134 — sudosubin/agents.nix0 reactions
- Nov 14, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 43ccfc0 → e91a134 — sudosubin/agents.nix0 reactions
- Nov 13, 2026agent-skills.github.anthropics.knowledge-work-plugins: 43ccfc0 → e91a134 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 02717ef → 43ccfc0 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 02717ef → 43ccfc0 — sudosubin/agents.nix0 reactions
- Nov 13, 2026agent-skills.github.anthropics.knowledge-work-plugins: 02717ef → 43ccfc0 — sudosubin/agents.nix0 reactions
- Nov 13, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 13, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-12 → 0-unstable-2026-11-13 — sudosubin/agents.nix0 reactions
- Nov 12, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-11 → 0-unstable-2026-11-12 — sudosubin/agents.nix0 reactions
- Nov 12, 2026investigation: evaluate anthropics/knowledge-work-plugins — gordonpn/dotfiles0 reactions
- Nov 11, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-09 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 11, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-09 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 11, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-09 → 0-unstable-2026-11-11 — sudosubin/agents.nix0 reactions
- Nov 10, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-07 → 0-unstable-2026-11-09 — sudosubin/agents.nix0 reactions
- Nov 10, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-07 → 0-unstable-2026-11-09 — sudosubin/agents.nix0 reactions
- Nov 9, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-07 → 0-unstable-2026-11-09 — sudosubin/agents.nix0 reactions
- Nov 9, 2026deps: actualiza skills (auditar) — savaf/dotfiles0 reactions
- Nov 7, 2026engineering plugin — mattbutlerengineering/skills0 reactions
- Nov 7, 2026knowledge base improvements — mattbutlerengineering/skills0 reactions
- Nov 7, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-06 → 0-unstable-2026-11-07 — sudosubin/agents.nix0 reactions
- Nov 7, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-06 → 0-unstable-2026-11-07 — sudosubin/agents.nix0 reactions
- Nov 7, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-06 → 0-unstable-2026-11-07 — sudosubin/agents.nix0 reactions
- Nov 6, 2026deps: actualiza skills (auditar) — savaf/dotfiles0 reactions
- Nov 6, 2026research: instilling placement and architecture judgment in coding agents (skills, agents, rules, checks) — dfadler/agent-config0 reactions
- Nov 6, 2026agent-skills.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-04 → 0-unstable-2026-11-06 — sudosubin/agents.nix0 reactions
- Nov 6, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-04 → 0-unstable-2026-11-06 — sudosubin/agents.nix0 reactions
- Nov 6, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-11-04 → 0-unstable-2026-11-06 — sudosubin/agents.nix0 reactions
- Nov 4, 2026claude-code-marketplaces.github.anthropics.knowledge-work-plugins: 0-unstable-2026-10-28 → 0-unstable-2026-11-04 — sudosubin/agents.nix0 reactions
- Nov 4, 2026claude-code-plugins.github.anthropics.knowledge-work-plugins: 0-unstable-2026-10-28 → 0-unstable-2026-11-04 — sudosubin/agents.nix0 reactions
- Oct 27, 2026scan: 2026-10-27 daily discovery — mattbutlerengineering/ai-tooling0 reactions
- Oct 24, 2026📈 Bản tin xu hướng AI mã nguồn mở 2026-10-24 — thanhtantran/agents-radar0 reactions
- Oct 24, 2026🔥 GitHub Trending AI 早报 · 2026-10-24 · Top 6 项目 — happydog-intj/ai-xiaohongshu-daily0 reactions
On Bluesky · 5
- May 24, 2026github.com/anthropics/k... — @tommis.fi5 likes and reposts
- May 24, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / knowledge-work-plugins ⭐ 13,162 (+486) 🗒 Python Open source repository of plugins… — @github-trending.bsky.social2 likes and reposts · 1 reply
- May 25, 2026📈 Today's GitHub Trending: 1. https://github.com/Lum1104/Understand-Anything - TypeScript, 5625 stars today 2.… — @ghtrend.newsmast.social.ap.brid.gy1 likes and repost · 1 reply
- May 24, 2026今日のGitHubトレンド anthropics/knowledge-work-plugins Claudeを特定の役割や企業に最適化したスペシャリストにするためのプラグイン集です。 Claude CoworkやClaude… — @dailygithubtrends.bsky.social1 likes and repost
- Oct 20, 2026🚀 Skyrocketing! 🚀 (200+ new stars) 📦 anthropics / knowledge-work-plugins ⭐ 30,616 (+262) 🗒 Python Open source repository of plugins… — @github-trending.bsky.social0 likes and reposts · 1 reply
On Hacker News · 2
- Feb 4, 2026Anthropic – Legal Productivity Plugin4 points · 2 comments
- Jan 30, 2026Claude open source knowledge Work Plugins4 points
Used with
Projects with it also use venue-templates, scientific-critical-thinking and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
ZanderRussSkillvenue-templates
Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
Also in 4 projects that use this
ZanderRussSkillscientific-critical-thinking
Evaluate research rigor. Assess methodology, experimental design, statistical validity, biases, confounding, evidence quality (GRADE, Cochrane ROB), for critical analysis of scientific claims.
Also in 5 projects that use this
sahinSkillpeer-review
Also in 4 projects that use this
AnthropicSkillxlsx
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
Also in 4 projects that use this
AnthropicSkilldocx
Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks
Also in 4 projects that use this
MicrosoftSkillmcp-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).
Also in 4 projects that use this
- +6 more from ZanderRuss
Other versions20 projects use a version of this.
Word for word · 2
- miptah21/skills★ 2100% same
- jmolz/m0lz.01★ 0100% same
Edited · 1
- kongaharsha/claude-skills★ 1100% same
Wrote their own version · 17
- LeonChaoX/qinyan-academic-skills★ 932same name
- jaechang-hits/SciAgent-Skills★ 369same name
- qinyan-ai/qinyan-academic-skills★ 80same name
- Chanw-research/claude-code-paper-writing★ 42same name
- Barrios88/barrios-skills★ 30same name
- TashanGKD/tashan-research-skills★ 19same name
- TerryFYL/claude-statistical-analysis-skill★ 19same name
- ZanderRuss/obsidian-claude★ 19same name
- JunMA98/Computer-science-claude-skills★ 3same name
- rmusser01/tldw-stuff★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository253 other files it gives its agents.
- partner-built/zoom-plugin/AGENTS.mdAGENTS.md
- partner-built/slack/CLAUDE.mdCLAUDE.md
- instrument-data-to-allotropeSkill
- nextflow-developmentSkill
- scientific-problem-selectionSkill
- scvi-toolsSkill
- single-cell-rna-qcSkill
- startSkill
- cowork-plugin-customizerSkill
- create-cowork-pluginSkill
- customer-escalationSkill
- customer-researchSkill
- draft-responseSkill
- kb-articleSkill
- ticket-triageSkill
- analyzeSkill
- build-dashboardSkill
- create-vizSkill
- data-context-extractorSkill
- data-visualizationSkill
- explore-dataSkill
- sql-queriesSkill
- validate-dataSkill
- write-querySkill
- accessibility-reviewSkill
- design-critiqueSkill
- design-handoffSkill
- design-systemSkill
- research-synthesisSkill
- user-researchSkill
- ux-copySkill
- architectureSkill
- code-reviewSkill
- debugSkill
- deploy-checklistSkill
- documentationSkill
- incident-responseSkill
- standupSkill
- system-designSkill
- tech-debtSkill
- testing-strategySkill
- digestSkill
- knowledge-synthesisSkill
- searchSkill
- search-strategySkill
- source-managementSkill
- audit-supportSkill
- close-managementSkill
- financial-statementsSkill
- journal-entry-prepSkill
- journal-entrySkill
- reconciliationSkill
- sox-testingSkill
- variance-analysisSkill
- comp-analysisSkill
- draft-offerSkill
- interview-prepSkill
- onboardingSkill
- org-planningSkill
- people-reportSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 16 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
16
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Always report mean and median together for business metrics: If they diverge significantly, the data is skewed and the mean alone is …
- Distinctive: line 88
Check for periodic patterns:
- Distinctive: line 92
When comparing periods, always use YoY or same-period comparisons to avoid conflating trend with seasonality
- Distinctive: line 101
Moving average forecast: Use trailing average as the forecast.
- Distinctive: line 137
Do NOT automatically remove outliers.
- Distinctive: line 141
Genuine extremes: Keep them but consider using robust statistics (median instead of mean)
- Distinctive: line 159
Use hypothesis testing when you need to determine whether an observed difference is likely real or could be due to random chance.
- Distinctive: line 162
Before/after comparison: Did the product change actually move the metric?
- Distinctive: line 171
Interpret: If p < alpha, reject H0 (evidence of a real difference)
- Distinctive: line 200
If your sample is small, say so: "With only 200 observations per group, we have limited power to detect effects smaller than X%"
- Distinctive: line 206
When you find a correlation, explicitly consider:
- Distinctive: line 216
When you test many hypotheses, some will be "significant" by chance:
- Distinctive: line 218
If you looked at many segments before finding one that's different, note that
- Distinctive: line 224
Always check whether the conclusion holds across key segments
- Distinctive: line 232
Always ask: "Who is missing from this dataset, and would their inclusion change the conclusion?"
- Distinctive: line 244
Prefer ranges: "We expect churn between 4-6% based on historical patterns"
“Common” is measured: kept by at least 6 in 10 of the 15 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Statistical Analysis Skill
Descriptive statistics, trend analysis, outlier detection, hypothesis testing, and guidance on when to be cautious about statistical claims.
Descriptive Statistics Methodology
Central Tendency
Choose the right measure of center based on the data:
| Situation | Use | Why |
| Symmetric distribution, no outliers | Mean | Most efficient estimator |
| Skewed distribution | Median | Robust to outliers |
| Categorical or ordinal data | Mode | Only option for non-numeric |
| Highly skewed with outliers (e.g., revenue per user) | Median + mean | Report both; the gap shows skew |
Always report mean and median together for business metrics. If they diverge significantly, the data is skewed and the mean alone is misleading.
Spread and Variability
- Standard deviation: How far values typically fall from the mean. Use with normally distributed data.
- Interquartile range (IQR): Distance from p25 to p75. Robust to outliers. Use with skewed data.
- Coefficient of variation (CV): StdDev / Mean. Use to compare variability across metrics with different scales.
- Range: Max minus min. Sensitive to outliers but gives a quick sense of data extent.
Percentiles for Business Context
Report key percentiles to tell a richer story than mean alone:
p1: Bottom 1% (floor / minimum typical value)
p5: Low end of normal range
p25: First quartile
p50: Median (typical user)
p75: Third quartile
p90: Top 10% / power users
p95: High end of normal range
p99: Top 1% / extreme usersExample narrative: "The median session duration is 4.2 minutes, but the top 10% of users spend over 22 minutes per session, pulling the mean up to 7.8 minutes."
Describing Distributions
Characterize every numeric distribution you analyze:
- Shape: Normal, right-skewed, left-skewed, bimodal, uniform, heavy-tailed
- Center: Mean and median (and the gap between them)
- Spread: Standard deviation or IQR
- Outliers: How many and how extreme
- Bounds: Is there a natural floor (zero) or ceiling (100%)?
Trend Analysis and Forecasting
Identifying Trends
Moving averages to smooth noise:
# 7-day moving average (good for daily data with weekly seasonality)
df['ma_7d'] = df['metric'].rolling(window=7, min_periods=1).mean()
# 28-day moving average (smooths weekly AND monthly patterns)
df['ma_28d'] = df['metric'].rolling(window=28, min_periods=1).mean()Period-over-period comparison:
- Week-over-week (WoW): Compare to same day last week
- Month-over-month (MoM): Compare to same month prior
- Year-over-year (YoY): Gold standard for seasonal businesses
- Same-day-last-year: Compare specific calendar day
Growth rates:
Simple growth: (current - previous) / previous
CAGR: (ending / beginning) ^ (1 / years) - 1
Log growth: ln(current / previous) -- better for volatile seriesSeasonality Detection
Check for periodic patterns:
- Plot the raw time series -- visual inspection first
- Compute day-of-week averages: is there a clear weekly pattern?
- Compute month-of-year averages: is there an annual cycle?
- When comparing periods, always use YoY or same-period comparisons to avoid conflating trend with seasonality
Forecasting (Simple Methods)
For business analysts (not data scientists), use straightforward methods:
- Naive forecast: Tomorrow = today. Use as a baseline.
- Seasonal naive: Tomorrow = same day last week/year.
- Linear trend: Fit a line to historical data. Only for clearly linear trends.
- Moving average forecast: Use trailing average as the forecast.
Always communicate uncertainty. Provide a range, not a point estimate:
- "We expect 10K-12K signups next month based on the 3-month trend"
- NOT "We will get exactly 11,234 signups next month"
When to escalate to a data scientist: Non-linear trends, multiple seasonalities, external factors (marketing spend, holidays), or when forecast accuracy matters for resource allocation.
Outlier and Anomaly Detection
Statistical Methods
Z-score method (for normally distributed data):
z_scores = (df['value'] - df['value'].mean()) / df['value'].std()
outliers = df[abs(z_scores) > 3] # More than 3 standard deviationsIQR method (robust to non-normal distributions):
Q1 = df['value'].quantile(0.25)
Q3 = df['value'].quantile(0.75)
IQR = Q3 - Q1
lower_bound = Q1 - 1.5 * IQR
upper_bound = Q3 + 1.5 * IQR
outliers = df[(df['value'] < lower_bound) | (df['value'] > upper_bound)]Percentile method (simplest):
outliers = df[(df['value'] < df['value'].quantile(0.01)) |
(df['value'] > df['value'].quantile(0.99))]Handling Outliers
Do NOT automatically remove outliers. Instead:
- Investigate: Is this a data error, a genuine extreme value, or a different population?
- Data errors: Fix or remove (e.g., negative ages, timestamps in year 1970)
- Genuine extremes: Keep them but consider using robust statistics (median instead of mean)
- Different population: Segment them out for separate analysis (e.g., enterprise vs. SMB customers)
Report what you did: "We excluded 47 records (0.3%) with transaction amounts >$50K, which represent bulk enterprise orders analyzed separately."
Time Series Anomaly Detection
For detecting unusual values in a time series:
- Compute expected value (moving average or same-period-last-year)
- Compute deviation from expected
- Flag deviations beyond a threshold (typically 2-3 standard deviations of the residuals)
- Distinguish between point anomalies (single unusual value) and change points (sustained shift)
Hypothesis Testing Basics
When to Use
Use hypothesis testing when you need to determine whether an observed difference is likely real or could be due to random chance. Common scenarios:
- A/B test results: Is variant B actually better than A?
- Before/after comparison: Did the product change actually move the metric?
- Segment comparison: Do enterprise customers really have higher retention?
The Framework
- Null hypothesis (H0): There is no difference (the default assumption)
- Alternative hypothesis (H1): There is a difference
- Choose significance level (alpha): Typically 0.05 (5% chance of false positive)
- Compute test statistic and p-value
- Interpret: If p < alpha, reject H0 (evidence of a real difference)
Common Tests
| Scenario | Test | When to Use |
| Compare two group means | t-test (independent) | Normal data, two groups |
| Compare two group proportions | z-test for proportions | Conversion rates, binary outcomes |
| Compare paired measurements | Paired t-test | Before/after on same entities |
| Compare 3+ group means | ANOVA | Multiple segments or variants |
| Non-normal data, two groups | Mann-Whitney U test | Skewed metrics, ordinal data |
| Association between categories | Chi-squared test | Two categorical variables |
Practical Significance vs. Statistical Significance
Statistical significance means the difference is unlikely due to chance.
Practical significance means the difference is large enough to matter for business decisions.
A difference can be statistically significant but practically meaningless (common with large samples). Always report:
- Effect size: How big is the difference? (e.g., "Variant B improved conversion by 0.3 percentage points")
- Confidence interval: What's the range of plausible true effects?
- Business impact: What does this translate to in revenue, users, or other business terms?
Sample Size Considerations
- Small samples produce unreliable results, even with significant p-values
- Rule of thumb for proportions: Need at least 30 events per group for basic reliability
- For detecting small effects (e.g., 1% conversion rate change), you may need thousands of observations per group
- If your sample is small, say so: "With only 200 observations per group, we have limited power to detect effects smaller than X%"
When to Be Cautious About Statistical Claims
Correlation Is Not Causation
When you find a correlation, explicitly consider:
- Reverse causation: Maybe B causes A, not A causes B
- Confounding variables: Maybe C causes both A and B
- Coincidence: With enough variables, spurious correlations are inevitable
What you can say: "Users who use feature X have 30% higher retention" What you cannot say without more evidence: "Feature X causes 30% higher retention"
Multiple Comparisons Problem
When you test many hypotheses, some will be "significant" by chance:
- Testing 20 metrics at p=0.05 means ~1 will be falsely significant
- If you looked at many segments before finding one that's different, note that
- Adjust for multiple comparisons with Bonferroni correction (divide alpha by number of tests) or report how many tests were run
Simpson's Paradox
A trend in aggregated data can reverse when data is segmented:
- Always check whether the conclusion holds across key segments
- Example: Overall conversion goes up, but conversion goes down in every segment -- because the mix shifted toward a higher-converting segment
Survivorship Bias
You can only analyze entities that "survived" to be in your dataset:
- Analyzing active users ignores those who churned
- Analyzing successful companies ignores those that failed
- Always ask: "Who is missing from this dataset, and would their inclusion change the conclusion?"
Ecological Fallacy
Aggregate trends may not apply to individuals:
- "Countries with higher X have higher Y" does NOT mean "individuals with higher X have higher Y"
- Be careful about applying group-level findings to individual cases
Anchoring on Specific Numbers
Be wary of false precision:
- "Churn will be 4.73% next quarter" implies more certainty than is warranted
- Prefer ranges: "We expect churn between 4-6% based on historical patterns"
- Round appropriately: "About 5%" is often more honest than "4.73%"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

