Data Scientist
magnus919/hermes-profiles
PhD-level expertise in data science, statistics, and machine learning.
Sample size calculation and statistical power analysis guide
$ npx skills add wentorai/research-plugins --skill power-analysis-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins power-analysis-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/power-analysis-guide .claude/skills/power-analysis-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 "power-analysis-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/power-analysis-guide into .claude/skills/power-analysis-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "power-analysis-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/power-analysis-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 power-analysis-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins power-analysis-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/power-analysis-guide .agents/skills/power-analysis-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 "power-analysis-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/power-analysis-guide into .agents/skills/power-analysis-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "power-analysis-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 power-analysis-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins power-analysis-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/power-analysis-guide .cursor/skills/power-analysis-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 "power-analysis-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/power-analysis-guide into .cursor/skills/power-analysis-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "power-analysis-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/power-analysis-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 power-analysis-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins power-analysis-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/power-analysis-guide .gemini/skills/power-analysis-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 "power-analysis-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/power-analysis-guide into .gemini/skills/power-analysis-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "power-analysis-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 power-analysis-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 power-analysis-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/power-analysis-guide .github/skills/power-analysis-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 "power-analysis-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/power-analysis-guide into .github/skills/power-analysis-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "power-analysis-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 power-analysis-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 power-analysis-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/power-analysis-guide .opencode/skills/power-analysis-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 "power-analysis-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/analysis/statistics/power-analysis-guide into .opencode/skills/power-analysis-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "power-analysis-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.
power-analysis-guideSample size calculation and statistical power analysis guide
Power Analysis Guide is an agent skill from wentorai/research-plugins. Sample size calculation and statistical power analysis guide
Its SKILL.md is about 1.8k 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.
6 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 and r).
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.
Power Analysis Guide loads about 1.8k tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 470 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). 470 words, ~1,826 tokens.
.claude/skills/power-analysis-guide/SKILL.md (or your agent's skills folder).Calculate appropriate sample sizes for your study using power analysis, understand effect sizes, and avoid underpowered or wastefully overpowered designs.
Every power analysis involves four interrelated quantities. Fix any three to solve for the fourth:
| Parameter | Symbol | Definition | Typical Value |
|---|---|---|---|
| Effect size | d, r, f, etc. | Magnitude of the phenomenon you expect to detect | Varies by field |
| Significance level (alpha) | alpha | Probability of Type I error (false positive) | 0.05 |
| Statistical power (1 - beta) | 1 - beta | Probability of detecting a true effect | 0.80 or 0.90 |
| Sample size | N | Number of observations needed | Solve for this |
| H0 is true (no effect) | H0 is false (effect exists) | |
|---|---|---|
| Reject H0 | Type I error (alpha) | Correct (power = 1 - beta) |
| Fail to reject H0 | Correct (1 - alpha) | Type II error (beta) |
d = (M1 - M2) / SD_pooled| Size | Cohen's d | Interpretation |
|---|---|---|
| Small | 0.2 | Subtle, may need large N to detect |
| Medium | 0.5 | Noticeable, typical in social sciences |
| Large | 0.8 | Obvious, often visible without statistics |
| Size | r | r-squared |
|---|---|---|
| Small | 0.1 | 1% variance explained |
| Medium | 0.3 | 9% variance explained |
| Large | 0.5 | 25% variance explained |
| Size | f | Equivalent eta-squared |
|---|---|---|
| Small | 0.10 | 0.01 |
| Medium | 0.25 | 0.06 |
| Large | 0.40 | 0.14 |
| Size | OR |
|---|---|
| Small | 1.5 |
| Medium | 2.5 |
| Large | 4.0 |
from statsmodels.stats.power import TTestIndPower
analysis = TTestIndPower()
# Solve for sample size
n = analysis.solve_power(
effect_size=0.5, # Cohen's d = medium
alpha=0.05, # Significance level
power=0.80, # 80% power
ratio=1.0, # Equal group sizes
alternative='two-sided'
)
print(f"Required N per group: {int(n) + 1}") # Output: 64
# Solve for power (given N)
power = analysis.solve_power(
effect_size=0.5,
alpha=0.05,
nobs1=50,
ratio=1.0,
alternative='two-sided'
)
print(f"Power with N=50 per group: {power:.3f}") # Output: 0.697from statsmodels.stats.power import TTestPower
analysis = TTestPower()
n = analysis.solve_power(
effect_size=0.3, # Small-medium effect
alpha=0.05,
power=0.80,
alternative='two-sided'
)
print(f"Required N (paired): {int(n) + 1}") # Output: 90from statsmodels.stats.power import FTestAnovaPower
analysis = FTestAnovaPower()
n = analysis.solve_power(
effect_size=0.25, # Cohen's f = medium
alpha=0.05,
power=0.80,
k_groups=4 # Number of groups
)
print(f"Required N per group: {int(n) + 1}") # Output: 45from statsmodels.stats.power import GofChisquarePower
analysis = GofChisquarePower()
n = analysis.solve_power(
effect_size=0.3, # Cohen's w = medium
alpha=0.05,
power=0.80,
n_bins=4 # Degrees of freedom + 1
)
print(f"Required total N: {int(n) + 1}")from statsmodels.stats.power import FTestPower
analysis = FTestPower()
# For R-squared: convert to f2 = R2 / (1 - R2)
r_squared = 0.10 # Expected R-squared for the model
f2 = r_squared / (1 - r_squared) # f2 = 0.111
n = analysis.solve_power(
effect_size=f2,
alpha=0.05,
power=0.80,
df_num=5 # Number of predictors
)
# n returned is df_denom; total N = n + df_num + 1
total_n = int(n) + 5 + 1
print(f"Required total N: {total_n}")library(pwr)
# Two-sample t-test
result <- pwr.t.test(d = 0.5, sig.level = 0.05, power = 0.80,
type = "two.sample", alternative = "two.sided")
cat("N per group:", ceiling(result$n), "\n")
# Correlation test
result <- pwr.r.test(r = 0.3, sig.level = 0.05, power = 0.80,
alternative = "two.sided")
cat("Total N:", ceiling(result$n), "\n")
# One-way ANOVA (4 groups)
result <- pwr.anova.test(k = 4, f = 0.25, sig.level = 0.05, power = 0.80)
cat("N per group:", ceiling(result$n), "\n")
# Chi-square test
result <- pwr.chisq.test(w = 0.3, df = 3, sig.level = 0.05, power = 0.80)
cat("Total N:", ceiling(result$N), "\n")
# Plot power curve
result <- pwr.t.test(d = 0.5, sig.level = 0.05, power = NULL,
n = seq(10, 200, by = 5))
plot(result)G*Power (gpower.hhu.de) is a free, widely-used GUI application for power analysis:
Do NOT blindly use Cohen's conventions. Instead:
| Mistake | Problem | Solution |
|---|---|---|
| Post hoc power analysis | Circular and uninformative after data collection | Only do a priori power analysis |
| Using Cohen's "medium" by default | May be unrealistic for your field | Base on literature or SESOI |
| Ignoring attrition | Actual N may be lower than planned | Inflate N by 10-20% for expected dropout |
| Forgetting multiple comparisons | Bonferroni corrections reduce power | Adjust alpha for the number of tests |
| Not reporting power analysis | Reviewers cannot evaluate adequacy | Always report in Methods section |
A priori power analysis was conducted using [G*Power 3.1 / statsmodels / R pwr].
For a [test name] with an expected effect size of [d/r/f = X] (based on
[source: previous study / meta-analysis / pilot data]), alpha = .05, and
power = .80, the required sample size was [N per group / total N]. To account
for an estimated [X]% attrition rate, we recruited [final N] participants.© 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/power-analysis-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.
Power Analysis 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 |
|---|---|---|---|---|---|---|
| Power Analysis Guide this skillwentorai/research-plugins | 298 | 1 repos | ~1.8k | Automated safety check: Pass | MIT | |
| Data Scientistmagnus919/hermes-profiles | 282 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Data Scientistmagnus919/agent-skills | 116 | — | ~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 | 242 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Analyze StatsAperivue/medsci-skills | 331 | — | ~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
Sample size calculation and statistical power analysis guide. Power Analysis Guide is an agent skill from wentorai/research-plugins.
Power Analysis Guide fits situations like: tasks that involve Experimental design; tasks that involve Statistics.
Run `npx skills add wentorai/research-plugins --skill power-analysis-guide -a claude-code`. Or copy the skill folder (skills/analysis/statistics/power-analysis-guide in wentorai/research-plugins) into .claude/skills/power-analysis-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill power-analysis-guide -a codex`. Or copy the skill folder (skills/analysis/statistics/power-analysis-guide in wentorai/research-plugins) into .agents/skills/power-analysis-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 power-analysis-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/power-analysis-guide, .gemini/skills/power-analysis-guide, .github/skills/power-analysis-guide and .opencode/skills/power-analysis-guide in your project.
SKILL.md names no scripts, command-line tools or credentials: Power Analysis Guide 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.
Power Analysis 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 1.8k tokens (SKILL.md is roughly 7.3k 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 Power Analysis Guide: Data Scientist (magnus919/hermes-profiles, 282 stars), Data Scientist (magnus919/agent-skills, 116 stars), Statistical Power (K-Dense-AI/scientific-agent-skills, 48k stars) and Algo Rank Wilson (asgard-ai-platform/skills, 242 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 405 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.