Agent SkillsNeverSight/learn-skills.dev › statistical-analysis-planner

statistical-analysis-planner

GitHub

用于规划机器学习实验的统计严谨性,涵盖显著性检验、置信区间及多重比较校正,防止低效力结论和统计谬误。适用于论文结果呈现或反驳阶段的数据验证与报告规划。

data/skills-md/a-green-hand-jack/ml-research-skills/statistical-analysis-planner/SKILL.md NeverSight/learn-skills.dev

Trigger Scenarios

决定结果表格中应报告的显著性检验或置信区间 种子方差较高需评估单次运行代表性 对比方法差异是否具有统计学意义 论文或反驳需量化防御审稿人对方差的质疑 消融实验结果接近需判断差异真实性 进行多重比较需控制I类错误累积

Install

npx skills add NeverSight/learn-skills.dev --skill statistical-analysis-planner -g -y
More Options

Non-standard path

npx skills add https://github.com/NeverSight/learn-skills.dev/tree/main/data/skills-md/a-green-hand-jack/ml-research-skills/statistical-analysis-planner -g -y

Use without installing

npx skills use NeverSight/learn-skills.dev@statistical-analysis-planner

指定 Agent (Claude Code)

npx skills add NeverSight/learn-skills.dev --skill statistical-analysis-planner -a claude-code -g -y

安装 repo 全部 skill

npx skills add NeverSight/learn-skills.dev --all -g -y

预览 repo 内 skill

npx skills add NeverSight/learn-skills.dev --list

SKILL.md

Frontmatter
{
    "name": "statistical-analysis-planner",
    "description": "Plan and report statistical rigor for ML experiment results. Use when significance testing, effect size reporting, confidence intervals, seed variance analysis, or multiple-comparison corrections are needed before including results in a paper or rebuttal.",
    "allowed-tools": "Read, Write, Edit, Bash, Glob",
    "argument-hint": "[project-dir] [--mode plan|report|audit] [--test <test-type>]"
}

Statistical Analysis Planner

Design the statistical analysis before running, and report it correctly after results exist. This skill prevents underpowered claims, misleading averages-without-variance, and significance theater in ML papers.

Use this skill when:

  • deciding which significance tests or confidence intervals to report for a result table
  • seed variance is high and a single-run result may not be representative
  • comparing methods and wanting to know if the difference is statistically meaningful
  • a paper or rebuttal needs to defend a claim quantitatively against reviewer variance concerns
  • an ablation result is close and the decision to include it depends on whether the difference is real
  • multiple comparisons are being made and type-I error accumulation needs to be controlled

Do not use this skill to run the experiments — use run-experiment. Do not use this skill to interpret surprising results scientifically — use result-diagnosis. Use this skill after results exist (or in planning mode before deciding how many seeds to run).

Pair this skill with:

  • experiment-design-planner to plan the number of seeds, runs, and controls before running
  • result-diagnosis when the statistical analysis reveals that a result is not reliable
  • paper-evidence-board to update evidence slots with confidence-annotated claims
  • table-results-review to ensure result tables report variance and pass statistical requirements

Skill Directory Layout

<installed-skill-dir>/
├── SKILL.md
└── references/
    └── test-selection.md

Progressive Loading

  • Always read references/test-selection.md when choosing a statistical test or confidence interval method.
  • Read memory/claim-board.md and memory/evidence-board.md to understand what claims need statistical backing.

Core Principles

  • A mean result without variance is not an empirical claim — it is an anecdote.
  • Report the number of seeds and independent runs, not just the metric value.
  • Choose the test before seeing the results, not after. Post-hoc test selection biases results.
  • Effect size matters more than p-value for practical significance in ML.
  • Multiple comparisons require corrections. If you test 10 ablations, 0.5 of them will be "significant" at p<0.05 by chance.
  • Reviewer variance concerns are common at NeurIPS/ICLR. Anticipate them with pre-planned variance analysis.
  • If compute prevents many seeds, acknowledge the limitation explicitly rather than overclaiming.

Step 1 — Identify What Needs Statistical Analysis

For each result that will appear in the paper, record:

  • the claim being made ("Method A outperforms Baseline B on Task C")
  • the metric and its expected distribution
  • how many independent runs (seeds) exist
  • whether the comparison is within-subject (same data, different methods) or between-subject (different data splits)

Classify each result as:

  • requires-analysis: main claim or primary comparison
  • supporting-analysis: ablation or secondary result
  • descriptive-only: mean reported, no significance claim
  • single-run: only one run exists, limitations must be acknowledged

Step 2 — Choose the Analysis Plan

Read references/test-selection.md.

For each requires-analysis result:

Result: <claim or comparison>
Metric: <metric name>
N seeds / runs: <count>
Distribution assumption: normal / non-normal / unknown
Test: <paired t-test / Wilcoxon / bootstrap CI / permutation test / McNemar>
Significance threshold: α = 0.05 (or 0.01 for primary claim)
Effect size measure: Cohen's d / Cliff's delta / relative improvement %
Multiple comparison correction: <Bonferroni / Holm / Benjamini-Hochberg / none>
Report format: mean ± std / 95% CI / p-value + effect size

For seed variance analysis, plan:

  • minimum number of seeds to detect the expected effect size at power 0.8
  • how to report variance: standard deviation across seeds, bootstrap CI, or min/max range

Step 3 — Run or Verify the Analysis

For results that already exist, compute:

  • mean and standard deviation across seeds
  • 95% confidence interval (bootstrap recommended for non-normal distributions)
  • p-value from the chosen test (if significance is being claimed)
  • effect size (Cohen's d or relative improvement %)
  • corrected p-values if multiple comparisons are made

For compute-limited settings (1–3 seeds):

  • report mean and range (min/max) rather than standard deviation
  • acknowledge the limitation explicitly in the paper
  • do not claim statistical significance with fewer than 5 independent runs for parametric tests

Step 4 — Report Format for Paper

For main result tables:

Method A: 82.3 ± 1.2 (mean ± std, N=5 seeds)
          [80.4, 84.1] 95% CI
          p < 0.05 vs Baseline B (paired t-test, Bonferroni-corrected)
          Effect size: d = 0.83 (large)

For text claims:

  • "X outperforms Y by Z% (p < 0.05, d = 0.6)" is preferred over "X significantly outperforms Y"
  • "X achieves [metric] = A ± B across N seeds" is preferred over "X achieves A"
  • Avoid "significantly" without a reported test and threshold

For low-seed settings:

  • "X achieves [metric] = A (range: [B, C], N=3 seeds); we note this result is based on limited seeds"

Step 5 — Multiple Comparison Audit

If the paper reports more than 3 comparisons on the same held-out set:

  • list all comparisons
  • apply Bonferroni correction (divide α by number of tests) or Holm correction (less conservative)
  • flag any comparison that loses significance after correction
  • decide whether to include or describe as "trend" rather than "significant"

Memory Writeback

  • Update memory/evidence-board.md when statistical analysis changes the confidence level of a claim
  • Update memory/claim-board.md to reflect corrected or strengthened claim wording
  • Update memory/risk-board.md when low seed count or failed significance is a reviewer risk

Final Sanity Check

Before finalizing:

  • every main result table row has at least N, mean, and variance reported
  • significance tests were chosen before seeing the specific results, or the analysis plan was declared a priori
  • multiple-comparison corrections are applied when > 3 comparisons share a test set
  • effect sizes are reported alongside p-values for claimed differences
  • compute-limited seed counts are acknowledged as limitations
  • claims in the paper match the statistical evidence (no overclaiming)

Version History

  • e0220ca Current 2026-07-05 21:37

Same Skill Collection

data/skills-md/00prabalk00/claude-skills/knowledge-base-gap-finder/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-agile/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-auth/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-issues/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-project-management/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-projects/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-safe/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-search/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-spaces/SKILL.md
data/skills-md/01000001-01001110/agent-jira-skills/jira-transitions/SKILL.md
data/skills-md/0731coderlee-sudo/wechat-publisher/wechat-publisher/SKILL.md
data/skills-md/0froq/skills/conventionalcommits/SKILL.md
data/skills-md/0froq/skills/nuxt/SKILL.md
data/skills-md/0froq/skills/oq/SKILL.md
data/skills-md/0froq/skills/pinia/SKILL.md
data/skills-md/0froq/skills/pnpm/SKILL.md
data/skills-md/0froq/skills/slidev/SKILL.md
data/skills-md/0froq/skills/tsdown/SKILL.md
data/skills-md/0froq/skills/turborepo/SKILL.md
data/skills-md/0froq/skills/unocss/SKILL.md
data/skills-md/0froq/skills/vitepress/SKILL.md
data/skills-md/0froq/skills/vitest/SKILL.md
data/skills-md/0froq/skills/vue-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-router-best-practices/SKILL.md
data/skills-md/0froq/skills/vue-testing-best-practices/SKILL.md
data/skills-md/0froq/skills/vue/SKILL.md
data/skills-md/0froq/skills/vueuse-functions/SKILL.md
data/skills-md/0froq/skills/web-design-guidelines/SKILL.md
data/skills-md/0juano/agent-skills/bondterminal-x402/SKILL.md
data/skills-md/0juano/agent-skills/edgeone-pages-deploy/SKILL.md
data/skills-md/0juano/agent-skills/ley-ar/SKILL.md
data/skills-md/0juano/agent-skills/ticktick/SKILL.md
data/skills-md/0juano/agent-skills/x-image-cards/SKILL.md
data/skills-md/0juano/x-image-cards/x-image-cards/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/generate2dsprite/SKILL.md
data/skills-md/0x0funky/agent-sprite-forge/video2dsprite/SKILL.md
data/skills-md/0x2e/superpowers/brainstorming/SKILL.md
data/skills-md/0x2e/superpowers/dispatching-parallel-agents/SKILL.md
data/skills-md/0x2e/superpowers/executing-plans/SKILL.md
data/skills-md/0x2e/superpowers/finishing-a-development-branch/SKILL.md
data/skills-md/0x2e/superpowers/receiving-code-review/SKILL.md
data/skills-md/0x2e/superpowers/requesting-code-review/SKILL.md
data/skills-md/0x2e/superpowers/subagent-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/systematic-debugging/SKILL.md
data/skills-md/0x2e/superpowers/test-driven-development/SKILL.md
data/skills-md/0x2e/superpowers/using-git-worktrees/SKILL.md
data/skills-md/0x2e/superpowers/using-superpowers/SKILL.md
data/skills-md/0x2e/superpowers/verification-before-completion/SKILL.md
data/skills-md/0x2e/superpowers/writing-plans/SKILL.md
data/skills-md/0x2e/superpowers/writing-skills/SKILL.md

Metadata

Files
0
Version
e4a0f95
Hash
41108ed2
Indexed
2026-07-05 21:37

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 19:32
浙ICP备14020137号-1 $bản đồ khách truy cập$