Data Scientist
magnus919/hermes-profiles
PhD-level expertise in data science, statistics, and machine learning.
Statistical hypothesis testing, power analysis, and significance reporting
$ npx skills add wentorai/research-plugins --skill hypothesis-testing-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins hypothesis-testing-guide --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/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/analysis/statistics/hypothesis-testing-guide .claude/skills/hypothesis-testing-guide && 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 "hypothesis-testing-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guide into .claude/skills/hypothesis-testing-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-testing-guide", 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/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guideType 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 wentorai/research-plugins --skill hypothesis-testing-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins hypothesis-testing-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/analysis/statistics/hypothesis-testing-guide .agents/skills/hypothesis-testing-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "hypothesis-testing-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guide into .agents/skills/hypothesis-testing-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-testing-guide", 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 wentorai/research-plugins --skill hypothesis-testing-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins hypothesis-testing-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/analysis/statistics/hypothesis-testing-guide .cursor/skills/hypothesis-testing-guide && 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 "hypothesis-testing-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guide into .cursor/skills/hypothesis-testing-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-testing-guide", 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/wentorai/research-plugins.git --path skills/analysis/statistics/hypothesis-testing-guide--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 wentorai/research-plugins --skill hypothesis-testing-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins hypothesis-testing-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/analysis/statistics/hypothesis-testing-guide .gemini/skills/hypothesis-testing-guide && 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 "hypothesis-testing-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guide into .gemini/skills/hypothesis-testing-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-testing-guide", 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 wentorai/research-plugins hypothesis-testing-guideInstalls 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 wentorai/research-plugins --skill hypothesis-testing-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/analysis/statistics/hypothesis-testing-guide .github/skills/hypothesis-testing-guide && 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 "hypothesis-testing-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guide into .github/skills/hypothesis-testing-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-testing-guide", 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 wentorai/research-plugins --skill hypothesis-testing-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins hypothesis-testing-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/analysis/statistics/hypothesis-testing-guide .opencode/skills/hypothesis-testing-guide && 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 "hypothesis-testing-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/hypothesis-testing-guide into .opencode/skills/hypothesis-testing-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "hypothesis-testing-guide", 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.
hypothesis-testing-guideStatistical hypothesis testing, power analysis, and significance reporting
Hypothesis Testing Guide is an agent skill from wentorai/research-plugins. Statistical hypothesis testing, power analysis, and significance reporting
Its SKILL.md is about 2k 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 Research & Science, covering Experimental design and Statistics. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
7 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit bf44b3c. 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.
Links to these hosts (documentation or services it may open):
docs.scipy.orgpingouin-stats.orgstatsmodels.orgapastyle.apa.orgmachinelearningmastery.comFrom 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.
Hypothesis Testing Guide loads about 2k tokens when it runs. Until then it costs about 25 tokens; SKILL.md has 526 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 wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 526 words, ~1,995 tokens.
.claude/skills/hypothesis-testing-guide/SKILL.md (or your agent's skills folder).Hypothesis testing is the backbone of empirical research. It provides a principled framework for deciding whether observed differences in data reflect genuine effects or merely random variation. Misuse of hypothesis tests -- p-hacking, ignoring assumptions, confusing statistical and practical significance -- is a leading cause of irreproducible findings.
This guide covers the core hypothesis testing framework, the most commonly used tests across disciplines, assumption checking, effect size reporting, power analysis for sample size planning, and multiple comparison corrections. Each test is accompanied by Python code using scipy, statsmodels, and pingouin, ready to integrate into research workflows.
The goal is not just to help you run tests, but to help you run the right test correctly and report results following modern standards (APA 7th edition, journal best practices).
| Error Type | Definition | Probability |
|---|---|---|
| Type I (False Positive) | Reject H0 when it is true | alpha (usually 0.05) |
| Type II (False Negative) | Fail to reject H0 when it is false | beta (usually 0.20) |
| Power | Probability of correctly detecting an effect | 1 - beta (target: 0.80) |
| Research Question | Data Type | Groups | Test |
|---|---|---|---|
| Two group means differ? | Continuous, normal | 2 independent | Independent t-test |
| Before/after difference? | Continuous, normal | 2 paired | Paired t-test |
| Multiple group means differ? | Continuous, normal | 3+ independent | One-way ANOVA |
| Two group medians differ? | Ordinal / non-normal | 2 independent | Mann-Whitney U |
| Before/after (non-normal)? | Ordinal / non-normal | 2 paired | Wilcoxon signed-rank |
| Multiple groups (non-normal)? | Ordinal / non-normal | 3+ independent | Kruskal-Wallis |
| Association between categories? | Categorical | 2 variables | Chi-square test |
| Correlation? | Continuous | 2 variables | Pearson or Spearman |
from scipy import stats
import numpy as np
import pingouin as pg
# Generate example data
control = np.random.normal(50, 10, n=30)
treatment = np.random.normal(55, 10, n=30)
# Check normality assumption
stat_c, p_c = stats.shapiro(control)
stat_t, p_t = stats.shapiro(treatment)
print(f"Normality p-values: control={p_c:.3f}, treatment={p_t:.3f}")
# Check homogeneity of variance
stat_l, p_l = stats.levene(control, treatment)
print(f"Levene's test p={p_l:.3f}")
# Run t-test
t_stat, p_val = stats.ttest_ind(control, treatment, equal_var=(p_l > 0.05))
# Effect size (Cohen's d)
cohens_d = (treatment.mean() - control.mean()) / np.sqrt(
((len(control)-1)*control.var() + (len(treatment)-1)*treatment.var())
/ (len(control) + len(treatment) - 2)
)
print(f"t={t_stat:.3f}, p={p_val:.4f}, Cohen's d={cohens_d:.3f}")import pandas as pd
df = pd.DataFrame({
'score': np.concatenate([
np.random.normal(50, 10, 30),
np.random.normal(55, 10, 30),
np.random.normal(60, 10, 30)
]),
'group': np.repeat(['A', 'B', 'C'], 30)
})
# ANOVA
aov = pg.anova(data=df, dv='score', between='group', detailed=True)
print(aov)
# Post-hoc pairwise comparisons (Tukey HSD)
posthoc = pg.pairwise_tukey(data=df, dv='score', between='group')
print(posthoc[['A', 'B', 'diff', 'p-tukey', 'hedges']])# Contingency table
observed = pd.DataFrame(
[[45, 30], [25, 50]],
index=['Method A', 'Method B'],
columns=['Success', 'Failure']
)
chi2, p, dof, expected = stats.chi2_contingency(observed)
cramers_v = np.sqrt(chi2 / (observed.values.sum() * (min(observed.shape) - 1)))
print(f"chi2={chi2:.3f}, p={p:.4f}, Cramer's V={cramers_v:.3f}")Power analysis answers: "How many participants do I need?"
from statsmodels.stats.power import TTestIndPower, FTestAnovaPower
# For a two-sample t-test
analysis = TTestIndPower()
# Calculate required sample size
n = analysis.solve_power(
effect_size=0.5, # Cohen's d (medium effect)
alpha=0.05,
power=0.80,
ratio=1.0, # Equal group sizes
alternative='two-sided'
)
print(f"Required n per group: {int(np.ceil(n))}")
# Power curve
import matplotlib.pyplot as plt
sample_sizes = np.arange(10, 200, 5)
powers = [analysis.power(effect_size=0.5, nobs1=n, ratio=1.0, alpha=0.05)
for n in sample_sizes]
fig, ax = plt.subplots()
ax.plot(sample_sizes, powers)
ax.axhline(0.8, color='red', linestyle='--', label='Power = 0.80')
ax.set_xlabel('Sample Size per Group')
ax.set_ylabel('Statistical Power')
ax.legend()
fig.savefig('power_curve.pdf')| Effect Size | Small | Medium | Large |
|---|---|---|---|
| Cohen's d (t-test) | 0.2 | 0.5 | 0.8 |
| eta-squared (ANOVA) | 0.01 | 0.06 | 0.14 |
| Cramer's V (chi-square) | 0.1 | 0.3 | 0.5 |
| Pearson r (correlation) | 0.1 | 0.3 | 0.5 |
When running multiple tests, the family-wise error rate inflates. Use corrections:
from statsmodels.stats.multitest import multipletests
p_values = [0.01, 0.04, 0.03, 0.08, 0.002]
# Bonferroni (conservative)
reject_bonf, pvals_bonf, _, _ = multipletests(p_values, method='bonferroni')
# Benjamini-Hochberg FDR (less conservative)
reject_bh, pvals_bh, _, _ = multipletests(p_values, method='fdr_bh')
for i, p in enumerate(p_values):
print(f"p={p:.3f} | Bonferroni: {pvals_bonf[i]:.3f} ({reject_bonf[i]}) "
f"| BH-FDR: {pvals_bh[i]:.3f} ({reject_bh[i]})")© wentorai, 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/analysis/statistics/hypothesis-testing-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
Hypothesis Testing Guide 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 |
|---|---|---|---|---|---|---|
| Hypothesis Testing Guide this skillwentorai/research-plugins | 298 | 1 repos | ~2k | Automated safety check: Pass | MIT | |
| Data Scientistmagnus919/hermes-profiles | 278 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Data Scientistmagnus919/agent-skills | 111 | — | ~4.1k | Automated safety check: Pass | MIT | |
| Statistical PowerK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~4.4k | Automated safety check: Notes | MIT | |
| Algo Rank Wilsonasgard-ai-platform/skills | 241 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Analyze StatsAperivue/medsci-skills | 329 | — | ~7k | Automated safety check: Pass | MIT |
magnus919/hermes-profiles
PhD-level expertise in data science, statistics, and machine learning.
magnus919/agent-skills
A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…
K-Dense-AI/scientific-agent-skills
Calculates sample sizes and statistical power for study planning.
asgard-ai-platform/skills
Calculate Wilson Score confidence intervals for ranking items by positive proportion with sample size correction.
Aperivue/medsci-skills
A skill your agent uses when data needs statistical analysis.
brycewang-stanford/Awesome-Journal-Skills
A skill your agent uses when writing the single ACM/IEEE HRI full-paper rebuttal that responds to three external reviewers and two area chairs — triaging study-design and statistics critiques…
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Categories
Statistical hypothesis testing, power analysis, and significance reporting. Hypothesis Testing Guide is an agent skill from wentorai/research-plugins.
Hypothesis Testing Guide fits situations like: tasks that involve Experimental design; tasks that involve Statistics.
Run `npx skills add wentorai/research-plugins --skill hypothesis-testing-guide -a claude-code`. Or copy the skill folder (skills/analysis/statistics/hypothesis-testing-guide in wentorai/research-plugins) into .claude/skills/hypothesis-testing-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill hypothesis-testing-guide -a codex`. Or copy the skill folder (skills/analysis/statistics/hypothesis-testing-guide in wentorai/research-plugins) into .agents/skills/hypothesis-testing-guide 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 wentorai/research-plugins --skill hypothesis-testing-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hypothesis-testing-guide, .gemini/skills/hypothesis-testing-guide, .github/skills/hypothesis-testing-guide and .opencode/skills/hypothesis-testing-guide in your project.
SKILL.md names no scripts, command-line tools or credentials: Hypothesis Testing Guide is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 5 domains. As links in the text: docs.scipy.org, pingouin-stats.org, statsmodels.org, apastyle.apa.org and machinelearningmastery.com. 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.
Hypothesis Testing Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2k tokens (SKILL.md is roughly 8k 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 Hypothesis Testing Guide: Data Scientist (magnus919/hermes-profiles, 278 stars), Data Scientist (magnus919/agent-skills, 111 stars), Statistical Power (K-Dense-AI/scientific-agent-skills, 48k stars) and Algo Rank Wilson (asgard-ai-platform/skills, 241 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 428 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.