Statistical Hypothesis Testing
Reusable Python hypothesis-testing playbook covering t-tests, ANOVA, chi-square, and non-parametric alternatives with effect sizes.
- CCM score
- 40 of 100
- skills.sh installs
- 505
- GitHub stars
- 396
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the testing framework from H0 and H1 through p-value and α interpretation, then applies common tests in code
- Includes t-tests (independent, paired, and Welch), ANOVA, chi-square, Mann-Whitney U, and Kruskal-Wallis, with Cohen's d and eta-squared
- Adds assumption checks such as Shapiro-Wilk normality, Levene's variance test, Bonferroni correction, and power analysis
- Designed for analysts validating A/B test results and checking whether observed group differences are statistically significant
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill 'Statistical Hypothesis Testing' -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Statistical Hypothesis Testing
Overview
Hypothesis testing provides a framework for making data-driven decisions by testing whether observed differences are statistically significant or due to chance.
Testing Framework
- Null Hypothesis (H0): No effect or difference exists
- Alternative Hypothesis (H1): Effect or difference exists
- Significance Level (α): Threshold for rejecting H0 (typically 0.05)
- P-value: Probability of observing data if H0 is true
Common Tests
- T-test: Compare means between two groups
- ANOVA: Compare means across multiple groups
- Chi-square: Test independence of categorical variables
- Mann-Whitney U: Non-parametric alternative to t-test
- Kruskal-Wallis: Non-parametric alternative to ANOVA
Implementation with Python
import pandas as pd
import numpy as np
from scipy import stats
import matplotlib.pyplot as plt
# Sample data
group_a = np.random.normal(100, 15, 50) # Mean=100, SD=15
group_b = np.random.normal(105, 15, 50) # Mean=105, SD=15
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- Data Science & Analytics, Research & Academic
- First seen
- Jun 3, 2026
Questions
What does the Statistical Hypothesis Testing skill do?
Statistical Hypothesis Testing runs t-tests, chi-square tests, ANOVA and p-value analysis to check whether observed differences are statistically significant. It also covers hypothesis validation and A/B testing, with Python code using scipy for each test.
How do I install the Statistical Hypothesis Testing skill?
Run npx -y skills add aj-geddes/useful-ai-prompts --skill 'Statistical Hypothesis Testing' -y in your project. After that, the agent can apply Statistical Hypothesis Testing when you ask for significance checks or A/B test analysis.
Where does Statistical Hypothesis Testing stand in its category?
Statistical Hypothesis Testing is listed under Data Science & Analytics on Claude Marketplaces, alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It stands out for its focus on hypothesis tests, effect sizes and confidence intervals in one guide.
What do I need to run the Statistical Hypothesis Testing code?
The Python examples need pandas, numpy, scipy and matplotlib installed. The skill gives you the sample data, so you can run the tests on your own arrays or tables.
More from aj-geddes/useful-ai-prompts
All 258- Application Logging504
- Changelog Maintenance504
- Grafana Dashboard504
- Model Hyperparameter Tuning504
- Api Reference Documentation503
- Code Documentation503
- Database Performance Debugging501
- Reactive Programming499
- Api Pagination497
- Container Debugging497
- Nosql Database Design495
- Uptime Monitoring495
- User Persona Creation495
- Database Indexing Strategy493
- Api Response Optimization492
- Accessibility Compliance491
- Background Job Processing491
- Git Workflow Strategy490
- Incident Response Plan490
- Zero Trust Architecture490
- Web Performance Optimization489
- Frontend State Management488
- File Upload Handling487
- Cross Platform Compatibility486
Similar to Statistical Hypothesis Testing
More Data Science & Analyticsstatistical-analysisdavila7/claude-code-templates771 installsStatistical analysis toolkit covering hypothesis tests, regression, Bayesian methods, and APA reporting for academic research.
statistical-analystalirezarezvani/claude-skills578 installsStatistical analyst that tests whether A/B and experiment differences are real, sizes tests, and reports effect sizes.
ab-testingcoreyhaines31/marketingskills98K installsStructured guide for planning, running, and interpreting A/B tests, with sample size tables and checklists.
quantitative-analysispoemswe/co-researcher287 installsStatistical test selection, power analysis, and effect-size interpretation with explicit assumption checks and calibrated claims.
ab-test-analysisphuryn/pm-skills3.2K installsRigorous A/B test analysis that checks power and guardrails before recommending ship, extend, or stop.
data-analysislingzhi227/agent-research-skills2.1K installsGenerates statistical analysis code with a four-round review that selects tests, reports p-values, and gives effect sizes.