statistical-reporting
它能做什么
该技能帮助为实验数据选择并报告统计检验。适合分析结果并撰写结果部分的研究人员和学生。
适用场景
- ✓当你需要为比较组别或变量选择统计检验的时候。
- ✓当你希望在运行检验之前先检查其假设的时候。
- ✓当你需要以 APA 格式为论文撰写结果的时候。
技能链接
https://github.com/aiming-lab/AutoResearchClaw/blob/main/.claude/skills/statistical-reporting/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请比较三个处理组的非正态数据,并以 APA 格式撰写结果。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会把你的数据类型和研究设计与某种检验相匹配,检查正态性和方差齐性等假设,然后以 APA 样式格式化结果,包括效应量。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Statistical Reporting Best Practice
Test Selection Quick Reference
- Comparing two groups (independent, normal): Independent t-test
- Comparing two groups (independent, non-normal): Mann-Whitney U test
- Comparing two groups (paired, normal): Paired t-test
- Comparing two groups (paired, non-normal): Wilcoxon signed-rank test
- Comparing 3+ groups (independent, normal): One-way ANOVA + post-hoc
- Comparing 3+ groups (non-normal): Kruskal-Wallis test
- Relationship between continuous variables: Pearson or Spearman correlation
- Categorical outcomes: Chi-square or Fisher's exact test
- Predicting continuous outcome: Linear regression
- Predicting binary outcome: Logistic regression
Assumption Checking
- Normality: Shapiro-Wilk test (n < 50) or visual Q-Q plots
- Homogeneity of variance: Levene's test before t-tests and ANOVA
- Independence: Verify study design ensures independent observations
- Linearity: Scatter plots and residual plots for regression
- Multicollinearity: VIF < 5 for multiple regression predictors
- When assumptions are violated, use non-parametric alternatives or robust methods
APA Reporting Format
- t-test: t(df) = X.XX, p = .XXX, d = X.XX
- ANOVA: F(df_between, df_within) = X.XX, p = .XXX, eta-squared = .XX
- Correlation: r(df) = .XX, p = .XXX [95% CI: .XX, .XX]
- Chi-square: chi-square(df, N = XXX) = X.XX, p = .XXX
- Regression: beta = X.XX, SE = X.XX, t = X.XX, p = .XXX
- Always report exact p-values (not "p < .05") unless p < .001
- Use leading zero for values that can exceed 1 (e.g., t = 0.50) but not for those bounded by 1 (e.g., p = .032, r = .45)
Effect Sizes
- ALWAYS report effect sizes alongside p-values
- Cohen's d for group comparisons: small = 0.2, medium = 0.5, large = 0.8
- Eta-squared for ANOVA: small = .01, medium = .06, large = .14
- R-squared for regression: report adjusted R-squared for multiple predictors
- Odds ratios for logistic regression with 95% confidence intervals
- Distinguish statistical significance from practical significance
Common Mistakes to Avoid
- Never say "the results were not significant, therefore there is no effect"
- Do not confuse correlation with causation in observational data
- Apply multiple comparison corrections (Bonferroni, FDR) when running many tests
- Report confidence intervals, not just point estimates
- State whether tests are one-tailed or two-tailed and justify the choice
常见问题
如果我的数据不是正态分布怎么办?
当假设不成立时,该技能建议使用非参数检验,例如 Mann-Whitney 或 Kruskal-Wallis。
比较两组应该用哪种检验?
这取决于两组是否配对以及数据是否正态,该技能为每种情况提供了快速参考。
APA 格式的结果是什么样的?
t 检验会写出自由度、统计量和 p 值,例如 t(df) = X.XX, p = .XXX。
详情
作者的原始描述
Statistical test selection, assumption checking, and APA-formatted reporting. Use when analyzing experimental results or writing results sections.
热度
- GitHub 星标
- 15k
- 排名
- #11052
- 许可证
- MIT
- 更新时间
- 2026/8/19
评论
- …
同一仓库的更多技能
a-evolve
15k帮你的智能体通过反复运行来不断改进:诊断失败原因,根据错误模式创建有针对性的技能,并记录经验以备日后使用。
biology-biopython
15k帮你的智能体使用 Biopython 处理 DNA、RNA 和蛋白质序列,包括文件解析、序列计算、BLAST 搜索和数据库访问。
chemistry-rdkit
15k帮你的智能体使用 RDKit 分析以 SMILES 字符串表示的分子,包括描述符、指纹、相似性和子结构搜索。
hypothesis-formulation
15k帮你的智能体把一项观察转化为可检验的假设,附上相互竞争的解释,以及能够证伪它们的明确预测。