Agent skill
statistical-power-calculator
Use when asked to calculate statistical power, determine sample size, or plan experiments for hypothesis testing.
Install this agent skill to your Project
npx add-skill https://github.com/dkyazzentwatwa/chatgpt-skills/tree/main/statistical-power-calculator
SKILL.md
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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
video-to-gif
Convert video clips to optimized GIFs with speed control, cropping, text overlays, and file size optimization. Create perfect GIFs for social media, documentation, and presentations.
audio-analyzer
Comprehensive audio analysis with waveform visualization, spectrogram, BPM detection, key detection, frequency analysis, and loudness metrics.
topic-modeler
Extract topics from text collections using LDA (Latent Dirichlet Allocation) with keyword extraction and topic visualization.
language-detector
Detect language of text with confidence scores, support for 50+ languages, and batch text classification.
image-filter-lab
Apply artistic filters to images including vintage, sepia, B&W, blur, sharpen, vignette, and color adjustments. Create custom filter presets.
qr-code-generator
Generate QR codes with URLs and UTM tracking. Exports PNG/SVG with captions. Use for single codes, batch generation, or marketing campaigns with tracking parameters.
Didn't find tool you were looking for?