dkyazzentwatwa/chatgpt-skills58 installs
statistical-power-calculator
Use when asked to calculate statistical power, determine sample size, or plan experiments for hypothesis testing.
How do I install this agent skill?
npx skills add https://github.com/dkyazzentwatwa/chatgpt-skills --skill statistical-power-calculatorIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a standard statistical power calculator using well-known scientific libraries (NumPy, SciPy, Statsmodels). It contains no network operations, file system access, or dynamic code execution.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerwarn
3/3 files flagged
What does this agent skill do?
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
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
# 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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/dkyazzentwatwa/chatgpt-skills/statistical-power-calculator">View statistical-power-calculator on skillZs</a>