Skip to content
Back to skills

Statistics Experimentation

ASecurity

Choose, run and interpret statistical inference. Use for hypothesis tests (t-test, Mann-Whitney, chi-square, proportions), p-values, confidence intervals, A/B tests and experiment design, sample size and statistical power, effect sizes, regression and correlation analysis, multiple comparisons, confounding and selection bias, deciding whether a difference between groups or periods is real or noise, or whether a change (price, launch, policy) caused an observed effect. Not for plain descriptiv...

  • 19 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 29, 2026
ai-agentspythonsqltesting

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned November 29, 2026

npx -y skills add khoavd18/skills --skill statistics-experimentation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statistics Experimentation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Statistics Experimentation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/khoavd18-statistics-experimentation/badge)](https://www.skillsdirectory.com/skills/khoavd18-statistics-experimentation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: statistics-experimentation
description: Choose, run and interpret statistical inference. Use for hypothesis tests (t-test, Mann-Whitney, chi-square, proportions), p-values, confidence intervals, A/B tests and experiment design, sample size and statistical power, effect sizes, regression and correlation analysis, multiple comparisons, confounding and selection bias, deciding whether a difference between groups or periods is real or noise, or whether a change (price, launch, policy) caused an observed effect. Not for plain descriptive summaries (use data-profiling-engineer).
---

# Statistics & Experimentation

Picks a method that fits the data and the question, quantifies uncertainty, and never claims more than the design supports.

## Inputs

- The question as a comparison or relationship, and the decision it informs.
- The data: unit of analysis, how units were selected or assigned, sample sizes, and measurement scales.

## Procedure

1. **Question**: state H₀/H₁, or the estimand: "difference in mean conversion, B − A, among new users in June".
2. **Population and sample**: who the inference is about, how units were sampled or assigned, and the unit of randomization vs the unit of analysis.
3. **Measurement scales**: binary, count, continuous, ordinal, time-to-event. Check for skew, zero-inflation and bounded values.
4. **Assumptions**: independence (clustered or repeated measures?), distribution shape, equal variances, sample size per cell, and for A/B, the sample-ratio mismatch check.
5. **Method**: use [method-selection.md](references/method-selection.md). Pre-specify it before looking at outcomes when possible.
6. **Uncertainty**: confidence intervals (or bootstrap intervals) on the effect, not only a p-value.
7. **Effect size**: absolute and relative difference, Cohen's d / odds ratio / risk difference, in business units.
8. **Sensitivity**: alternative test, outlier treatment, excluded segments, covariate adjustment. Report whether the conclusion holds.
9. **Practical significance**: compare the effect and its CI with the minimum effect worth acting on.
10. **Limitations**: confounding, selection bias, missing data, multiple testing, and whether the result generalizes.

For experiments, also follow [ab-testing.md](references/ab-testing.md).

## Rules

- Correlation or regression on observational data shows association. Causal language needs randomization or an explicit causal design with its assumptions stated.
- A small p-value is not a large or important effect. Always report the effect size and CI.
- Non-significance is not evidence of no effect. Report the CI and the power or minimum detectable effect.
- Correct for multiple comparisons (Holm, Benjamini–Hochberg) when testing many metrics, segments or variants, and disclose how many tests were run.
- No peeking: repeated looks at an A/B test need a sequential design or a fixed horizon.
- Do not invent confidence: state when the sample is too small, assumptions fail, or the data cannot answer the question.
- Use seeds for bootstrap and permutation tests, and report the number of resamples.
- Use the project's existing libraries (`scipy` is preferred if present). `statsmodels` or others only with a stated need.

## Outputs

The method and the reason it fits, assumption checks, the effect estimate with CI, p-value where relevant, sensitivity results, a plain-language conclusion (fact vs interpretation), and limitations.

## Hand-offs

Data understanding → **data-profiling-engineer**. Implementation details → **python-data-analyst** or **sql-analytics-expert**. Presenting uncertainty → **analytics-storytelling**.

Files in this skill

  • SKILL.md3.6 KB
  • references/ab-testing.md1.9 KB
  • references/method-selection.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.