Statsmodels
zLanqing/codex-claude-academic-skills
Statistical models library for Python. An agent skill from zLanqing/codex-claude-academic-skills.
A skill your agent uses when planning or reporting statistical analysis - provides test selection, execution code, and APA format guidelines
$ npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Norman-bury/research-writing-skill statistical-analysis --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/statistical-analysis .claude/skills/statistical-analysis && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "statistical-analysis" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysis into .claude/skills/statistical-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-analysis", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysisType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Norman-bury/research-writing-skill statistical-analysis --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/statistical-analysis .agents/skills/statistical-analysis && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "statistical-analysis" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysis into .agents/skills/statistical-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-analysis", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Norman-bury/research-writing-skill statistical-analysis --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/statistical-analysis .cursor/skills/statistical-analysis && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "statistical-analysis" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysis into .cursor/skills/statistical-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-analysis", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Norman-bury/research-writing-skill.git --path skills/statistical-analysis--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Norman-bury/research-writing-skill statistical-analysis --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/statistical-analysis .gemini/skills/statistical-analysis && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "statistical-analysis" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysis into .gemini/skills/statistical-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-analysis", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Norman-bury/research-writing-skill statistical-analysisInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/statistical-analysis .github/skills/statistical-analysis && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "statistical-analysis" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysis into .github/skills/statistical-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-analysis", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Norman-bury/research-writing-skill statistical-analysis --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Norman-bury/research-writing-skill.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/statistical-analysis .opencode/skills/statistical-analysis && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "statistical-analysis" agent skill from https://github.com/Norman-bury/research-writing-skill/tree/main/skills/statistical-analysis into .opencode/skills/statistical-analysis/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "statistical-analysis", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
statistical-analysisA skill your agent uses when planning or reporting statistical analysis - provides test selection, execution code, and APA format guidelines
Statistical Analysis is an agent skill from Norman-bury/research-writing-skill. Use when planning or reporting statistical analysis - provides test selection, execution code, and APA format guidelines
Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Data & Analytics, covering Statistics. It works with Python. The repository describes itself as: 科研写作助手 (Research Writing Assistant). The licence is MIT.
8 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6f79595. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Statistical Analysis loads about 853 tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 113 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Norman-bury/research-writing-skill at commit 6f79595, republished under its MIT licence (© Norman-bury). 113 words, ~853 tokens.
.claude/skills/statistical-analysis/SKILL.md (or your agent's skills folder).本技能提供学术论文中统计分析的选择、执行和报告指南。
| 数据特征 | 推荐检验 |
|---|---|
| 独立、连续、正态 | 独立样本t检验 |
| 独立、连续、非正态 | Mann-Whitney U检验 |
| 配对、连续、正态 | 配对样本t检验 |
| 配对、连续、非正态 | Wilcoxon符号秩检验 |
| 二分类结果 | 卡方检验或Fisher精确检验 |
| 数据特征 | 推荐检验 |
|---|---|
| 独立、连续、正态 | 单因素方差分析 |
| 独立、连续、非正态 | Kruskal-Wallis检验 |
| 配对、连续、正态 | 重复测量方差分析 |
| 配对、连续、非正态 | Friedman检验 |
| 分析目标 | 推荐方法 |
|---|---|
| 两个连续变量关系 | Pearson相关(正态)或Spearman相关(非正态) |
| 连续结果与预测变量 | 线性回归 |
| 二分类结果与预测变量 | 逻辑回归 |
from scipy import stats
# Shapiro-Wilk检验(样本量<5000)
stat, p_value = stats.shapiro(data)
print(f"Shapiro-Wilk检验: W={stat:.4f}, p={p_value:.4f}")
if p_value > 0.05:
print("数据符合正态分布假设")
else:
print("数据不符合正态分布,考虑使用非参数检验")from scipy import stats
# Levene检验
stat, p_value = stats.levene(group1, group2)
print(f"Levene检验: F={stat:.4f}, p={p_value:.4f}")
if p_value > 0.05:
print("方差齐性假设满足")
else:
print("方差不齐,使用Welch's t检验")| 检验 | 效应量 | 小 | 中 | 大 |
|---|---|---|---|---|
| t检验 | Cohen's d | 0.20 | 0.50 | 0.80 |
| ANOVA | η²_p | 0.01 | 0.06 | 0.14 |
| 相关 | r | 0.10 | 0.30 | 0.50 |
| 回归 | R² | 0.02 | 0.13 | 0.26 |
import pingouin as pg
# t检验返回Cohen's d
result = pg.ttest(group1, group2)
d = result['cohen-d'].values[0]
print(f"Cohen's d = {d:.2f}")
# ANOVA返回偏η²
aov = pg.anova(dv='score', between='group', data=df)
eta_p2 = aov['np2'].values[0]
print(f"Partial η² = {eta_p2:.3f}")A组(n = 48, M = 75.2, SD = 8.5)得分显著高于B组
(n = 52, M = 68.3, SD = 9.2),t(98) = 3.82, p < .001,
d = 0.77, 95% CI [0.36, 1.18]。单因素方差分析显示处理条件对测试分数有显著主效应,
F(2, 147) = 8.45, p < .001, η²_p = .10。事后比较使用
Tukey HSD表明,条件A(M = 78.2, SD = 7.3)得分显著
高于条件B(M = 71.5, SD = 8.1, p = .002)。多元线性回归预测考试成绩,整体模型显著,
F(3, 146) = 45.2, p < .001, R² = .48。学习时间
(β = .35, p < .001)和先前GPA(β = .28, p < .001)
是显著预测变量。<HARD-GATE>
必须避免以下错误:
</HARD-GATE>
import numpy as np
import pingouin as pg
from scipy import stats
# 数据
group_a = np.array([75, 82, 68, 79, 85, 72, 88, 76])
group_b = np.array([65, 70, 62, 68, 75, 60, 72, 66])
# 1. 描述统计
print(f"A组: M={group_a.mean():.2f}, SD={group_a.std():.2f}")
print(f"B组: M={group_b.mean():.2f}, SD={group_b.std():.2f}")
# 2. 正态性检验
_, p_a = stats.shapiro(group_a)
_, p_b = stats.shapiro(group_b)
print(f"正态性: A组 p={p_a:.3f}, B组 p={p_b:.3f}")
# 3. t检验
result = pg.ttest(group_a, group_b)
print(f"t = {result['T'].values[0]:.2f}")
print(f"p = {result['p-val'].values[0]:.4f}")
print(f"Cohen's d = {result['cohen-d'].values[0]:.2f}")© Norman-bury, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/statistical-analysis of Norman-bury/research-writing-skill.
Open the folder on GitHubat commit 6f79595
Statistical Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Statistical Analysis this skillNorman-bury/research-writing-skill | 3.4k | — | ~853 | Automated safety check: Pass | MIT | |
| StatsmodelszLanqing/codex-claude-academic-skills | 4.7k | 15 repos | ~4.9k | Automated safety check: Pass | BSD-3-Clause | |
| Rota Bench Regression Analysisoracle/graalpython | 1.7k | — | ~1.6k | Automated safety check: Pass | Custom licence | |
| Querying Indonesian Gov Datasuryast/indonesia-gov-apis | 172 | — | ~997 | Automated safety check: Pass | MIT | |
| MatlabzLanqing/codex-claude-academic-skills | 4.7k | 8 repos | ~2.3k | Automated safety check: Notes | GPL-3.0 | |
| Meridian MMM Model Buildinggoogle/meridian | 1.6k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 |
zLanqing/codex-claude-academic-skills
Statistical models library for Python. An agent skill from zLanqing/codex-claude-academic-skills.
oracle/graalpython
Analyze recent GraalPy benchmark regressions on master as part of the weekly rota.
suryast/indonesia-gov-apis
Query 57 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates…
zLanqing/codex-claude-academic-skills
MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing.
google/meridian
Takes a user through building a Meridian marketing mix model, from loading CSV data and mapping columns to running EDA, fitting and saving the model.
machina-sports/sports-skills
College Basketball (CBB) data via ESPN public endpoints and the NCAA's official endpoints — scores, standings, rosters, schedules, game summaries, play-by-play, win probability, rankings, futures…
Norman-bury/research-writing-skill
A skill your agent uses when writing or revising Introduction, Related Work, background, literature synthesis, or any section where references must drive claims
Norman-bury/research-writing-skill
A skill your agent uses when Python environment setup is needed for data visualization or conda installation is required
Norman-bury/research-writing-skill
A skill your agent uses when designing experiments, result tables, mock planning data, evaluation protocols, or results sections before real data are final
Norman-bury/research-writing-skill
A skill your agent uses when creating flowcharts, architecture diagrams, or conceptual diagrams - generates prompts for image AI
Norman-bury/research-writing-skill
A skill your agent uses when creating data visualizations for papers - generates publication-quality plots with top-journal color schemes
Norman-bury/research-writing-skill
A skill your agent uses when user requests LaTeX format output or has provided school/journal LaTeX templates
Works with
Categories
A skill your agent uses when planning or reporting statistical analysis - provides test selection, execution code, and APA format guidelines. Statistical Analysis is an agent skill from Norman-bury/research-writing-skill.
Statistical Analysis fits situations like: reporting statistical analysis - provides test selection; APA format guidelines.
Run `npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a claude-code`. Or copy the skill folder (skills/statistical-analysis in Norman-bury/research-writing-skill) into .claude/skills/statistical-analysis in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a codex`. Or copy the skill folder (skills/statistical-analysis in Norman-bury/research-writing-skill) into .agents/skills/statistical-analysis in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Norman-bury/research-writing-skill --skill statistical-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/statistical-analysis, .gemini/skills/statistical-analysis, .github/skills/statistical-analysis and .opencode/skills/statistical-analysis in your project.
SKILL.md names no scripts, command-line tools or credentials: Statistical Analysis is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Statistical Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 853 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Statistical Analysis: Statsmodels (zLanqing/codex-claude-academic-skills, 4.7k stars), Rota Bench Regression Analysis (oracle/graalpython, 1.7k stars), Querying Indonesian Gov Data (suryast/indonesia-gov-apis, 172 stars) and Matlab (zLanqing/codex-claude-academic-skills, 4.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Norman-bury (a GitHub user) maintains it in Norman-bury/research-writing-skill, which has 3,378 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on June 10, 2026.
Source: Norman-bury/research-writing-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.