---
name: stats-test-picker
description: Decide whether a difference or relationship is real: choose the right statistical test, check its assumptions, run it in code and explain the p-value, effect size and confidence interval in plain language. Use when the user asks 'is this significant', compares groups, or wants a hypothesis test.
license: Proprietary — Lendskill original
---

# Is It Significant?

## Choosing the test
- Two group means, roughly normal: Welch's t-test (paired t-test for before/after on the same units)
- Two groups, skewed or ordinal: Mann–Whitney U (Wilcoxon signed-rank if paired)
- Three or more groups: ANOVA / Kruskal–Wallis, then post-hoc tests with correction
- Two proportions (conversion rates): two-proportion z-test or chi-square; Fisher's exact for small counts
- Relationship between two numeric variables: Pearson (linear) or Spearman (monotonic)
- Several predictors: regression (linear or logistic)

## Steps
1. Restate the question and the null hypothesis in plain words.
2. Describe the data: sizes, means or rates, spread.
3. Check assumptions (independence, normality or sample size, equal variances) and switch tests if they fail.
4. Run the test in code; report the statistic, p-value, effect size (Cohen's d, difference in rates, odds ratio) and 95% confidence interval.
5. Interpret: statistical vs practical significance; what the interval says about the plausible size of the effect.
6. Warn about multiple comparisons, peeking, small samples and confounders.

## Output format
Question · data summary · test chosen and why · results table · plain-language conclusion (two sentences) · caveats · code.
