Statistical testing
Statistical testing skill. Frequentist hypothesis testing (t-test, ANOVA, chi-square, nonparametric tests), multiple testing correction, effect size calculation, and power analysis.
Use This Skill When
- Frequentist hypothesis testing (t-test, ANOVA, chi-square, nonparametric tests).
- Multiple testing correction.
- Effect size calculation.
- Power analysis.
Required Inputs
- Research objective, decision target, or hypothesis.
- Available data, source constraints, and domain assumptions.
- Required outputs, success metrics, and deadline or reproducibility constraints.
Workflow
- Confirm scope, assumptions, and the exact artifact set to save.
- Apply the narrowest domain method that answers the request with defensible evidence.
- Save code, tables, figures, and intermediate outputs to files instead of chat-only output.
- State limitations, uncertainty, and any validation or sensitivity checks performed.
- Append skill selection, handoff I/O, and file writes to
logs/process-log.jsonl.
Deliverables
report.md: concise method, results, interpretation, and file inventory in the user's language.results/: structured outputs, metrics, model artifacts, or extracted findings.figures/: English-only charts, diagrams, or panels when visual output is needed.data/: processed or derived datasets when transformation occurs.
Quality Gates
- The selected method matches the scientific question and stated assumptions.
- Outputs are reproducible, saved to files, and traceable from inputs to conclusions.
- Missing data, uncertainty, bias, and hard limits are made explicit.
-
report.mdandlogs/process-log.jsonlreference the generated artifacts. - No essential result remains chat-only.
If any gate fails: identify the specific failing check, fix the issue, and re-validate before proceeding.
Gotchas
- Statistical assumptions (normality, independence, homoscedasticity) must be tested before parametric methods
- Multiple testing correction is required when running 3+ tests. Use Bonferroni or FDR as appropriate
- Missing data mechanisms (MCAR, MAR, MNAR) must be assessed before choosing imputation strategy
Validation Loop
- Execute analysis and generate outputs
- Check:
- Method selection matches the research question and stated assumptions
- All outputs are saved to files (no chat-only results)
- Limitations and uncertainty are explicitly stated
logs/process-log.jsonlis updated with execution trace
- If any check fails:
- Identify the failing gate
- Fix the specific issue
- Re-run validation
- Proceed only after all gates pass