Agent skill

power-analysis-guide

Sample size calculation and statistical power analysis guide

brycew6m4,252★ · +31/wk · 3 repos on radarProfile →
claude-codeNOASSERTION
Install
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill power-analysis-guide --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 7 KB
Bundled scripts: none
Path: skills/43-wentorai-research-plugins/skills/analysis/statistics/power-analysis-guide/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 3,244
Language: Stata
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Power Analysis Guide Calculate appropriate sample sizes for your study using power analysis, understand effect sizes, and avoid underpowered or wastefully overpowered designs. ## Core Concepts ### The Four Parameters of Power Analysis 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 | ### Error Types | | 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) | ## Effect Size Conventions ### Cohen's d (Two-Group Comparison) ``` d = (M1 - M2) / SD_pooled ``` | Size | Cohen's d | Interpretation | |------|--------

What's inside
Steps it walks through
  1. Core Concepts
  2. The Four Parameters of Power Analysis
  3. Error Types
  4. Effect Size Conventions
  5. Cohen's d (Two-Group Comparison)
  6. Correlation (r)
  7. Cohen's f (ANOVA)
  8. Odds Ratio (Logistic Regression)
  9. Power Analysis in Python (statsmodels)
  10. Two-Sample t-Test
  11. Paired t-Test
  12. One-Way ANOVA
  13. Chi-Square Test
  14. Multiple Regression
More from Auto-Empirical-Research-Skills
All skills →
About this skill
What does the power-analysis-guide skill do?

Sample size calculation and statistical power analysis guide

How do I install it?

Run `npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill power-analysis-guide --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From brycewang-stanford/Auto-Empirical-Research-Skills, a repository with 3,244 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going