auto-stat-test
自动执行统计检验,根据数据特征(组数、正态性、配对设计)智能选择 t 检验、卡方检验、ANOVA、Mann-Whitney U 等合适方法,并输出包含 p 值、效应量和通俗中文解读的完整报告。当用户需要进行假设检验、组间比较、显著性分析,或提及 t 检验、卡方、方差分析、p 值、配对检验、非参数检验等关键词时触发。
Skill by haomingz
Chalk Labs
Need help deploying auto-stat-test?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
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/haomingz-auto-stat-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
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
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/auto-stat-test
What's inside
- Skill name
auto-stat-test- Description
- 自动执行统计检验,根据数据特征(组数、正态性、配对设计)智能选择 t 检验、卡方检验、ANOVA、Mann-Whitney U 等合适方法,并输出包含 p 值、效应量和通俗中文解读的完整报告。当用户需要进行假设检验、组间比较、显著性分析,或提及 t 检验、卡方、方差分析、p 值、配对检验、非参数检验等关键词时触发。
- License
- MIT
- Instructions
- 123 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- LICENSE
- SKILL.md
- statistical_test_suite.py · scripts/
SKILL.md (first lines)
# 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
```bash
# 分组比较(自动选择检验方法)
python3 scripts/statistical_test_suite.py data.csv --group treatment --value score
# 卡方检验(两个分类变量)
python3 scripts/statistical_test_suite.py survey.csv --group gender --value preference
# 配对检验(前后对比)
python3 scripts/statistical_test_suite.py experiment.csv --col1 pre_score --col2 post_score --paired
# 强制指定检验方法
python3 scripts/statistical_test_suite.py data.csv --group group --value score --test mann-whitney
# 保存结果到 JSON
python3 scripts/statistical_test_suite.py data.csv -g treatment -v score -o result.json
```
## 详细用法
### 模式一:分组比较
用 `--group` 指定分组列,`--value` 指定比较列,工具自动判断用哪种检验。
```bash
python3 scripts/statistical_test_suite.py <数据文件> --group <分组列> --value <数值列> [选项]
```
自动选择逻辑:
1. 两列都是分类变量 → **卡方检验**
2. 2 个组 + 数据正态 → **独立样本 t 检验**(方差不齐则用 Welch t)
3. 2 个组 + 数据非正态 → **Mann-Whitney U 检验**
4. 3+ 个组 + 数据正态 → **单因素 ANOVA**
5. 3+ 个组 + 数据非正态 → **Kruskal-Wallis 检验**
### 模式二:配对比较
用 `--col1` 和 `--col2` 指定前后两个变量列。
```bash
python3 scripts/statistical_test_suite.py <数据文件> --col1 <前> --col2 <后> --paired [选项]
```
自动选择逻辑:
1. 差值正态 → **配对 t 检验**
2. 差值非正态 → **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)
```json
{
"test": "独立样本 t 检验",
"test_id": "independent_ttest",
"statistic": 2.3456,
"p_value": 0.0213,
"effect_size": {"cohens_d": 0.4821},
"group_stats": {
"对照组": {"n": 30, "mean": 72.5, "std": 8.3},
"实验组": {"n": 30, "mean": 78.1, "std": 7.9}
},
"normality_check": {"对照组": "Shapiro-Wilk W = 0.97, p = 0.52(正态)", "...": "..."},
"selection_reason": ["2 组比较 + 数据近似正态 → 选择独立样本 t 检验"],
"alpha": 0.05,
"interpretation": [
"检验方法:独立样本 t 检验",
"显著性水平:α = 0.05",
"结论:p = 0.0213 < 0.05,差异具有统计学显著性。",
"效应量:Cohen's d = 0.4821(中等效应量,差异明显)",
"通俗解读:「对照组」(均值 72.5)和「实验组」(均值 78.1)之间存在显著差异…"
]
}
```
## 依赖
- Python 3.8+
- pandas
- numpy
- scipy
```bashFrom haomingz/kimi-skills, MIT.
More from haomingz/kimi-skills
- 0.633score
kimi-sync
haomingz
Sync this repo with the latest Kimi official skills.
SkillAFreshness: A★ 22Claude Code +9 - 0.492score
flashcard-studio
haomingz
从学习材料(文本、Markdown、笔记)中提取核心知识点,生成符合间隔重复记忆原理的正面问题+反面答案闪卡,输出可直接导入Anki的CSV文件。当用户提到闪卡、Anki、记忆卡片、知识点提取、复习卡片、间隔重复,或需要将学习内容转换成问答对进行复习时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
dataset-health-audit
haomingz
执行数据质量检查,对CSV/Excel/TSV/JSON等表格数据进行12个维度的全面审计,输出质量评分、问题详情和修复建议。当用户需要进行数据质量检测、查看缺失值、重复行、异常值、格式问题、类型混淆,或提及数据质量、质检、数据清洗前检查、异常值检测、格式校验、空值、数据健康度、质量评分等关键词时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
code-to-chart
haomingz
解析代码仓库的 import/依赖关系,自动生成架构图、流程图和组织架构图,输出 Mermaid 文本或 SVG 图片。支持 Python、JavaScript、TypeScript、Go 和 Java…
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
database-inspector
haomingz
探索 SQLite 或 PostgreSQL 数据库,执行安全只读查询,提供表列表、详细表结构(列/类型/约束/索引)、数据预览,并生成 Mermaid ER 图。当用户需要查看数据库架构、探索表关系、预览数据、执行只读查询,或提及 schema、ER 图、SQL 查询、数据预览、describe…
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
data-viz-gen
haomingz
从 JSON 数据生成自包含的 HTML/SVG 信息图,支持 KPI 统计卡片、分组柱状图对比、流程图和混合仪表盘四种类型,提供 8 套配色方案和 24 个内置图标,输出完全自包含的 HTML 文件,无需外部依赖。当用户需要数据可视化、信息图、图表、仪表盘,或提及生成图表、制作…
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
financial-report-reader
haomingz
财报三表(利润表、资产负债表、现金流量表)深度解读,自动进行同比/环比变动分析并执行多维度财务异常检测(如应收账款暴增、经营现金流与净利润背离、存货积压及毛利率突变等)。当用户需要解读财报、分析三表、做同比/环比比较、检测财务异常信号、评估现金流质量或计算关键财务比率时触发,关键词包括财报、三表、同比、环比、异常检测…
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
chrono-flow
haomingz
根据JSON数据生成精美的交互式时间线HTML页面,支持垂直、水平、双侧三种布局,可自定义主题色、展开详情,并适配移动端。适合展示项目里程碑、产品版本记录、公司发展历程或个人简历。当用户提及制作时间线、历程图、历史记录可视化,或需要将一系列事件、日期与描述数据转换为网页时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
api-doc-gen
haomingz
从 Flask、FastAPI、Express 或 Gin 等 Web 框架的源代码中自动扫描路由定义,生成符合 OpenAPI 3.0 / Swagger 规范的标准化 API 文档文件。当用户需要生成 API 文档、提到 OpenAPI、Swagger、接口文档、路由扫描或从代码自动提取接口信息时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
cashflow-valuation
haomingz
DCF现金流折现估值模型,支持完整的自由现金流预测、终值计算和企业价值推导,并生成增长率 × 折现率的敏感性分析矩阵。当用户需要进行企业估值、DCF分析、现金流折现计算、WACC折现、终值计算、敏感性分析、股权价值或每股价值估算,或提及关键词如DCF、估值、折现、现金流、WACC、terminal…
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
ad-copywriter
haomingz
广告创意写作与优化技能,覆盖标题、描述、正文及完整广告方案的生成与迭代,适用于Google Ads、Meta、LinkedIn、TikTok、Twitter/X等主流付费广告平台。当用户需要撰写广告文案、进行创意生成、标题撰写,或请求批量生产广告变体、基于数据进行创意测试与效果优化时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
fund-risk-analyzer
haomingz
ETF多维对比工具:基于用户提供的净值CSV数据,自动计算并对比多只ETF或基金的年化收益率、最大回撤、夏普比率,并生成相关性矩阵图表。当用户需要对比基金风险收益、计算年化收益/最大回撤/夏普比率、进行相关性分析,或提到关键词如ETF对比、净值分析、风险收益、波动率、Sharpe Ratio、max…
SkillDFreshness: D★ 22Claude Code +9
Signals
- Stars
- 22
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Apr 24, 2026 (6 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/haomingz/kimi-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 haomingz
- 0.633score
kimi-sync
haomingz
Sync this repo with the latest Kimi official skills.
SkillAFreshness: A★ 22Claude Code +9 - 0.492score
chrono-flow
haomingz
根据JSON数据生成精美的交互式时间线HTML页面,支持垂直、水平、双侧三种布局,可自定义主题色、展开详情,并适配移动端。适合展示项目里程碑、产品版本记录、公司发展历程或个人简历。当用户提及制作时间线、历程图、历史记录可视化,或需要将一系列事件、日期与描述数据转换为网页时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
cashflow-valuation
haomingz
DCF现金流折现估值模型,支持完整的自由现金流预测、终值计算和企业价值推导,并生成增长率 × 折现率的敏感性分析矩阵。当用户需要进行企业估值、DCF分析、现金流折现计算、WACC折现、终值计算、敏感性分析、股权价值或每股价值估算,或提及关键词如DCF、估值、折现、现金流、WACC、terminal…
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
ad-copywriter
haomingz
广告创意写作与优化技能,覆盖标题、描述、正文及完整广告方案的生成与迭代,适用于Google Ads、Meta、LinkedIn、TikTok、Twitter/X等主流付费广告平台。当用户需要撰写广告文案、进行创意生成、标题撰写,或请求批量生产广告变体、基于数据进行创意测试与效果优化时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
api-doc-gen
haomingz
从 Flask、FastAPI、Express 或 Gin 等 Web 框架的源代码中自动扫描路由定义,生成符合 OpenAPI 3.0 / Swagger 规范的标准化 API 文档文件。当用户需要生成 API 文档、提到 OpenAPI、Swagger、接口文档、路由扫描或从代码自动提取接口信息时触发。
SkillDFreshness: D★ 22Claude Code +9 - 0.492score
code-to-chart
haomingz
解析代码仓库的 import/依赖关系,自动生成架构图、流程图和组织架构图,输出 Mermaid 文本或 SVG 图片。支持 Python、JavaScript、TypeScript、Go 和 Java…
SkillDFreshness: D★ 22Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get auto-stat-test running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
auto-stat-test skill. Agent Mart. https://agentmart.dev/skills/haomingz-auto-stat-test (last updated 2026-10-24)