nstung463/kimi-agent-skills/auto-stat-test
Claude Code and agent skill by nstung463/kimi-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
自动执行统计检验,根据数据特征(组数、正态性、配对设计)智能选择 t 检验、卡方检验、ANOVA、Mann-Whitney U 等合适方法,并输出包含 p 值、效应量和通俗中文解读的完整报告。当用户需要进行假设检验、组间比较、显著性分析,或提及 t 检验、卡方、方差分析、p 值、配对检验、非参数检验等关键词时触发。
Install
npx vskill@latest install nstung463/kimi-agent-skills/auto-stat-testSKILL.md
The same SKILL.md was published earlier as serejaris/kimi-skills/auto-stat-test.
statistical-test-suite
自动统计检验工具 —— 根据数据特征自动选择合适的统计检验方法(t 检验 / 卡方 / ANOVA / Mann-Whitney 等),一键输出检验结果和中文通俗解读。
能力概览
| 功能 | 说明 | |
|---|---|---|
| 独立样本 t 检验 | 2 组 + 正态数据,比较均值差异 | |
| Welch t 检验 | 2 组 + 正态但方差不齐 | |
| Mann-Whitney U | 2 组 + 非正态数据(非参数) | |
| 单因素 ANOVA | 3+ 组 + 正态数据 | |
| Kruskal-Wallis | 3+ 组 + 非正态数据(非参数) | |
| 卡方独立性检验 | 两个分类变量的关联性 | |
| 配对 t 检验 | 前后对比(正态) | |
| Wilcoxon 符号秩 | 前后对比(非参数) | |
| 自动选择 | 根据组数、正态性、数据类型自动决定 | |
| 通俗解读 | 每个指标和结论都给出中文白话说明 |
Quick Start
详细用法
模式一:分组比较
用 --group 指定分组列,--value 指定比较列,工具自动判断用哪种检验。
自动选择逻辑:
- 两列都是分类变量 → 卡方检验
- 2 个组 + 数据正态 → 独立样本 t 检验(方差不齐则用 Welch t)
- 2 个组 + 数据非正态 → Mann-Whitney U 检验
- 3+ 个组 + 数据正态 → 单因素 ANOVA
- 3+ 个组 + 数据非正态 → Kruskal-Wallis 检验
模式二:配对比较
用 --col1 和 --col2 指定前后两个变量列。
自动选择逻辑:
- 差值正态 → 配对 t 检验
- 差值非正态 → Wilcoxon 符号秩检验
参数说明
| 参数 | 缩写 | 必填 | 默认值 | 说明 | |
|---|---|---|---|---|---|
input | — | 是 | — | 输入文件路径(CSV/TSV/Excel/JSON) | |
--group | -g | 模式一 | — | 分组变量列名 | |
--value | -v | 模式一 | — | 数值/分类变量列名 | |
--col1 | — | 模式二 | — | 配对检验第 1 个变量列名 | |
--col2 | — | 模式二 | — | 配对检验第 2 个变量列名 | |
--paired | — | 否 | false | 启用配对检验模式 | |
--test | -T | 否 | 自动 | 强制检验方法(见下方列表) | |
--alpha | -a | 否 | 0.05 | 显著性水平 | |
--output | -o | 否 | 标准输出 | 结果 JSON 保存路径 |
可选检验方法(--test)
t-test / mann-whitney / anova / kruskal-wallis / chi-square / paired-ttest / wilcoxon
输出结构(JSON)
依赖
- Python 3.8+
- pandas
- numpy
- scipy
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/auto-stat-test/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/nstung463/kimi-agent-skills/auto-stat-test)