auto-hypothesis-test
Automatically selects and runs the right statistical test for your data — t-test, ANOVA, chi-square, Mann-Whitney, or others — and provides plain-language…
Skill by nstung463
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nstung463-auto-hypothesis-test
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/auto-hypothesis-test
What's inside
- Skill name
auto-hypothesis-test- Description
- Automatically selects and runs the right statistical test for your data — t-test, ANOVA, chi-square, Mann-Whitney, or others — and provides plain-language interpretations of the results. Triggered when you ask about group comparisons, significance, p-values, hypothesis testing, or mention specific tests like t-test, ANOVA, or chi-square.
- License
- MIT
- Instructions
- 123 lines in SKILL.md · view on GitHub
Files (2)
- LICENSE
- SKILL.md
SKILL.md (first lines)
# auto-hypothesis-test
Automated statistical testing tool — automatically selects the appropriate hypothesis test based on your data characteristics (t-test / chi-square / ANOVA / Mann-Whitney, etc.) and outputs results with plain-language interpretations.
## Capabilities
| Feature | Description |
|---------|-------------|
| Independent samples t-test | 2 groups + normal data, compare means |
| Welch's t-test | 2 groups + normal but unequal variances |
| Mann-Whitney U | 2 groups + non-normal data (nonparametric) |
| One-way ANOVA | 3+ groups + normal data |
| Kruskal-Wallis | 3+ groups + non-normal data (nonparametric) |
| Chi-square independence test | Association between two categorical variables |
| Paired t-test | Before/after comparison (normal) |
| Wilcoxon signed-rank | Before/after comparison (nonparametric) |
| Auto-selection | Automatically chooses based on group count, normality, and data type |
| Plain-language interpretation | Every metric and conclusion explained in everyday language |
## Quick Start
```bash
# Group comparison (auto-selects the test)
python3 scripts/statistical_test_suite.py data.csv --group treatment --value score
# Chi-square test (two categorical variables)
python3 scripts/statistical_test_suite.py survey.csv --group gender --value preference
# Paired test (before/after comparison)
python3 scripts/statistical_test_suite.py experiment.csv --col1 pre_score --col2 post_score --paired
# Force a specific test
python3 scripts/statistical_test_suite.py data.csv --group group --value score --test mann-whitney
# Save results to JSON
python3 scripts/statistical_test_suite.py data.csv -g treatment -v score -o result.json
```
## Detailed Usage
### Mode 1: Group Comparison
Use `--group` to specify the grouping column and `--value` to specify the comparison column. The tool automatically determines which test to use.
```bash
python3 scripts/statistical_test_suite.py <data-file> --group <group-col> --value <value-col> [options]
```
Auto-selection logic:
1. Both columns are categorical → **Chi-square test**
2. 2 groups + data is normal → **Independent samples t-test** (Welch's t if variances are unequal)
3. 2 groups + data is non-normal → **Mann-Whitney U test**
4. 3+ groups + data is normal → **One-way ANOVA**
5. 3+ groups + data is non-normal → **Kruskal-Wallis test**
### Mode 2: Paired Comparison
Use `--col1` and `--col2` to specify the two measurement columns.
```bash
python3 scripts/statistical_test_suite.py <data-file> --col1 <before> --col2 <after> --paired [options]
```
Auto-selection logic:
1. Differences are normal → **Paired t-test**
2. Differences are non-normal → **Wilcoxon signed-rank test**
## Parameters
| Parameter | Short | Required | Default | Description |
|-----------|-------|----------|---------|-------------|
| `input` | — | Yes | — | Input file path (CSV/TSV/Excel/JSON) |
| `--group` | `-g` | Mode 1 | — | Grouping variable column name |
| `--value` | `-v` | Mode 1 | — | Numeric/categorical variable column name |
| `--col1` | — | Mode 2 | — | First variable column for paired test |
| `--col2` | — | Mode 2 | — | Second variable column for paired test |
| `--paired` | — | No | `false` | Enable paired test mode |
| `--test` | `-T` | No | Auto | Force a specific test (see list below) |
| `--alpha` | `-a` | No | `0.05` | Significance level |
| `--output` | `-o` | No | stdout | Path to save result JSON |
### Available Tests (`--test`)
`t-test` / `mann-whitney` / `anova` / `kruskal-wallis` / `chi-square` / `paired-ttest` / `wilcoxon`
## Output Structure (JSON)
```json
{
"test": "Independent samples t-test",
"test_id": "independent_ttest",
"statistic": 2.3456,
"p_value": 0.0213,
"effect_size": {"cohens_d": 0.4821},
"group_stats": {
"Control": {"n": 30, "mean": 72.5, "std": 8.3},
"Treatment": {"n": 30, "mean": 78.1, "std": 7.9}
},
"normality_check": {"Control": "Shapiro-Wilk W = 0.97, p = 0.52 (normal)", "...": "..."},
"selection_reason": ["2 groups + approximately normal data → selected independent samples t-test"],
"alpha": 0.05,
"interpretation": [
"Test method: Independent samples t-test",
"Significance level: α = 0.05",
"Conclusion: p = 0.0213 < 0.05, the difference is statistically significant.",
"Effect size: Cohen's d = 0.4821 (medium effect, notable difference)",
"Plain-language summary: There is a significant difference between 'Control' (mean 72.5) and 'Treatment' (mean 78.1)…"
]
}
```
## Dependencies
- Python 3.8+
- pandas
- numpy
- scipy
```bashFrom nstung463/kimi-agent-skills, MIT.
More from nstung463/kimi-agent-skills
- 0.579score
brand-name-forge
nstung463
A systematic brand naming workshop that generates 8 distinct name candidates using classic methods like portmanteau and metaphor, each with meaning…
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
baoyu-infographic
nstung463
生成专业级信息图。提供 21 种版式与 21 种视觉风格。可自动解析内容,推荐最优「版式 × 风格」组合,并输出可直接发布的信息图成品。适用于用户提出“信息图 / infographic”、“视觉总结”、“可视化”或“高密度信息大图”等需求时使用。
SkillBFreshness: B★ 5Claude Code +9 - 0.574score
backend-building
nstung463
Backend building that grafts tRPC + Drizzle ORM + Hono onto an existing webapp-building frontend.
SkillBFreshness: B★ 5Claude Code +9 - 0.574score
batch-download
nstung463
Multi-agent batch download and data collection orchestration.
SkillBFreshness: B★ 5Claude Code +9
Signals
- Stars
- 5
- Forks
- 1
- Open issues
- 0
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nstung463/kimi-agent-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from nstung463
- 0.579score
brand-name-forge
nstung463
A systematic brand naming workshop that generates 8 distinct name candidates using classic methods like portmanteau and metaphor, each with meaning…
SkillBFreshness: B★ 5Claude Code +9 - 0.576score
baoyu-infographic
nstung463
生成专业级信息图。提供 21 种版式与 21 种视觉风格。可自动解析内容,推荐最优「版式 × 风格」组合,并输出可直接发布的信息图成品。适用于用户提出“信息图 / infographic”、“视觉总结”、“可视化”或“高密度信息大图”等需求时使用。
SkillBFreshness: B★ 5Claude Code +9 - 0.574score
backend-building
nstung463
Backend building that grafts tRPC + Drizzle ORM + Hono onto an existing webapp-building frontend.
SkillBFreshness: B★ 5Claude Code +9 - 0.574score
batch-download
nstung463
Multi-agent batch download and data collection orchestration.
SkillBFreshness: B★ 5Claude Code +9
Cite this page
auto-hypothesis-test skill. Agent Mart. https://agentmart.dev/skills/nstung463-auto-hypothesis-test (last updated 2026-10-24)