Skip to content
Skills Library
Data & analytics · Analysis

hypothesis-test

/hypothesis-test

Run a hypothesis test with assumption checks, test selection, and plain-language interpretation. Use when comparing groups or testing a specific statistical claim.

Licence
Apache-2.0
Last repository change
20.07.2026

Assessment and security

90/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content25 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 20.07.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Run a hypothesis test with assumption checks, test selection, and plain-language interpretation. Use when comparing groups or testing a specific statistical claim.

Arguments

/hypothesis-test <database-name>
Original author description

Run a hypothesis test with assumption checks, test selection, and plain-language interpretation. Use when comparing groups or testing a specific statistical claim.

How it works

  1. Steps
Original SKILL.md headings · 39 lines, 318 words
SKILL.md preview
---
name: hypothesis-test
description: Run a hypothesis test with assumption checks, test selection, and plain-language interpretation. Use when comparing groups or testing a specific statistical claim.
allowed-tools: mcp__localdata__describe_database mcp__localdata__execute_query mcp__localdata__analyze_hypothesis_test mcp__localdata__analyze_anova mcp__localdata__analyze_effect_sizes mcp__localdata__get_data_quality_report
argument-hint: "<database-name>"
---

# Hypothesis Test

Select and run the appropriate statistical test based on data characteristics, with full assumption checking and effect size reporting.

## Steps

1. **Explore the data.** Call `describe_database` with the database name from `$ARGUMENTS`. Identify the columns to compare and the grouping variable. Call `get_data_quality_report` to check for missing values that could bias results.

2. **Extract and inspect.** Call `execute_query` to pull the relevant columns. Determine:
   - Number of groups (2 vs 3+)
   - Sample size per group
   - Whether observations are paired or independent
   - Whether the outcome is continuous or categorical

3. **Check assumptions.** Call `execute_query` to compute summary statistics per group (mean, median, sd, skewness). Assess:
   - Normality: skewness beyond +/-1 or small samples (n < 30) suggest non-parametric tests
   - Variance homogeneity: ratio of largest to smallest group SD above 2 suggests unequal variances
   - Sample balance: highly unequal group sizes affect test power

4. **Select and run the test.** Based on the assessment:
   - 2 groups, normal, equal variance: call `analyze_hypothesis_test` with independent t-test
   - 2 groups, normal, unequal variance: call `analyze_hypothesis_test` with Welch's t-test
   - 2 groups, non-normal: call `analyze_hypothesis_test` with Mann-Whitney U
   - 2 groups, paired: call `analyze_hypothesis_test` with paired t-test or Wilcoxon signed-rank
   - 3+ groups: call `analyze_anova` with appropriate post-hoc tests
   - Categorical outcome: call `analyze_hypothesis_test` with chi-squared test

5. **Compute effect sizes.** Call `analyze_effect_sizes` with the same data. Report Cohen's d (two groups), eta-squared (ANOVA), or Cramer's V (chi-squared). Classify as small, medium, or large.

6. **Interpret results.** Present:
   - Hypotheses stated in plain language
   - Test selected and why (citing assumption check results)
   - Test statistic, degrees of freedom, p-value
   - Effect size with confidence interval
   - One-sentence conclusion: what this means for the question at hand

7. **Flag caveats.** Report any assumption violations, small sample warnings, or multiple comparison adjustments. If the result is statistically significant but the effect is trivial, say so explicitly.

Versions

The database has no other skills named hypothesis-test.

Database snapshot: 13.11.2026 · package version 6f5761413edc (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100choose-statistical-test
    Pick the right hypothesis test for a described scenario by traversing the test-selection decision tree (data type → #groups → paired? → assumption gate → test), then return the recommended test, its assumption checks, its nonparametric fallback, and a ≤10-line runnable snippet.…
  • 100auto-hypothesis-test
    Automatically selects and runs the right statistical test for your data — t-test, ANOVA, chi-square, Mann-Whitney, or others — and provides plain-language interpretations of the results. Triggered when you ask about group comparisons, significance, p-values, hypothesis testing,…
  • 100ab-test-setup
    When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "conversion experiment," "statistical significance," or…
  • 100ab-test-setup
    When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two…
  • 100ab-test-setup
    When the user wants to plan, design, or implement an A/B test or experiment. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two…
  • 100stat-hypothesis-testing
    Conduct statistical hypothesis testing including null/alternative hypothesis formulation, p-values, Type I/II errors, and test statistic selection. Use this skill when the user needs to determine whether a result is statistically significant, choose the right statistical test,…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.