statistical-power-calculator
Use when asked to calculate statistical power, determine sample size, or plan experiments for hypothesis testing.
npx skills add majiayu000/claude-skill-registry --skill statistical-power-calculator --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Statistical Power Calculator Calculate statistical power and determine required sample sizes for hypothesis testing and experimental design. ## Purpose Experiment planning for: - Clinical trial design - A/B test planning - Research study sizing - Survey sample size determination - Power analysis and validation ## Features - **Power Calculation**: Calculate statistical power for tests - **Sample Size**: Determine required sample size for desired power - **Effect Size**: Estimate detectable effect size - **Multiple Tests**: t-test, proportion test, ANOVA, chi-square - **Visualizations**: Power curves, sample size charts - **Reports**: Detailed analysis reports with recommendations ## Quick Start ```python from statistical_power_calculator import PowerCalculator # Calculate required sample size calc = PowerCalculator() result = calc.sample_size_ttest( effect_size=0.5, alpha=0.05, power=0.8 ) print(f"Required n per group: {result.n_per_group}") # Calculate power power = calc.power_ttest(n_per_group=100, effect_size=0.5, alpha=0.05) ``` ## CLI Usage ```bash # Calculate sample size for t-test python statistical_power_calculator.py --test ttest --effect-size 0.5 --power 0.8 # Calculate
- Purpose
- Features
- Quick Start
- CLI Usage
Calculate sample size for t-test python statistical_power_calculator.py --test ttest --effect-size 0.5 --power 0.8 Calculate power python statistical_power_calculator.py --test ttest --n 100 --effect-size 0.5
What does the statistical-power-calculator skill do?
Use when asked to calculate statistical power, determine sample size, or plan experiments for hypothesis testing.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill statistical-power-calculator --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 majiayu000/claude-skill-registry, a repository with 534 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.
