Przejdź do treści
Biblioteka skilli
Dane i analityka · Analiza

hypothesis-testing

/hypothesis-testing

Sprawdza podaną przez użytkownika hipotezę na zbiorze danych i raportuje, czy dane ją potwierdzają, obalają, czy nie rozstrzygają sprawy.

Licencja
MIT
Ostatnia zmiana repozytorium
15.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 15.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Sprawdza podaną przez użytkownika hipotezę na zbiorze danych i raportuje, czy dane ją potwierdzają, obalają, czy nie rozstrzygają sprawy.

Oryginalny opis (EN)

Take a user-stated hypothesis and test it against the data, producing a report stating whether the data supports, refutes, or is inconclusive about the claim. Use when the user has a specific question or claim they want to interrogate against a dataset.

Jak działa

  1. Inputs
  2. Step 1 — Formalise the hypothesis
  3. Step 2 — Select a test
  4. Step 3 — Execute
  5. Step 4 — Verdict
  6. Output
Sekcje z nagłówków SKILL.md, w oryginale · 67 linii, 482 słów
Podgląd SKILL.md
---
name: hypothesis-testing
description: Take a user-stated hypothesis and test it against the data, producing a report stating whether the data supports, refutes, or is inconclusive about the claim. Use when the user has a specific question or claim they want to interrogate against a dataset.
---

# Hypothesis Testing

Rigorous first-pass evaluation of a user hypothesis against a dataset.

## Inputs

- Path to a dataset file or folder.
- The **hypothesis**, stated in natural language (e.g. "customers in segment A spend more than those in segment B", "there's no difference in conversion by landing page").
- Optional: desired significance level α (default 0.05).

## Step 1 — Formalise the hypothesis

Before testing, restate the user's claim as:

- **H₀ (null)**: typically "no effect" / "no difference" / "no relationship".
- **H₁ (alternative)**: the user's claim, one- or two-sided as appropriate.
- **Variables involved**: identify which columns map to the hypothesis, with their dtypes.
- **Test type** selected based on the data shape (see decision table below).

Show this formalisation to the user and proceed unless they object.

## Step 2 — Select a test

| User hypothesis shape | Variables | Default test |
|---|---|---|
| Group A mean ≠ Group B mean | 1 numeric + 1 binary categorical | Welch's t-test (unequal var) or Mann-Whitney if non-normal |
| Difference across 3+ groups | 1 numeric + 1 categorical | One-way ANOVA or Kruskal-Wallis |
| Association between two categoricals | 2 categoricals | Chi-square (or Fisher's exact if small cells) |
| Correlation ≠ 0 | 2 numerics | Pearson (linear) or Spearman (monotonic) |
| Proportion differs from value | 1 binary | One-sample proportion z-test |
| Paired before/after | 1 numeric, paired | Paired t-test or Wilcoxon signed-rank |
| Time trend | 1 numeric + time | Mann-Kendall or regression slope test |

Check assumptions (normality via Shapiro-Wilk for small n or visual for large n; equal variance via Levene's) and fall back to the non-parametric counterpart when they fail.

## Step 3 — Execute

Recommended: `uv run --with pandas --with scipy --with statsmodels python -c '...'`.

Report:
- Sample size(s)
- Effect size (Cohen's d, r, Cramér's V, odds ratio — whichever fits)
- Test statistic and p-value
- 95% confidence interval for the effect

## Step 4 — Verdict

Classify as one of:

- **Supports** — p < α **and** effect size is non-trivial **and** sample size is adequate.
- **Refutes** — p < α but in the opposite direction, or a tight CI around zero effect.
- **Inconclusive** — p ≥ α, or underpowered (effect plausible but sample too small), or assumptions violated beyond repair.

Do **not** equate "p > 0.05" with "no effect" — distinguish "evidence of no effect" (tight CI around zero) from "no evidence of effect" (wide CI).

## Output

Write `<dataset>-hypothesis-<slug>.md`:

1. The hypothesis as stated by the user, verbatim.
2. Formalised H₀ / H₁.
3. Test chosen and why (including assumption checks).
4. Results table.
5. **Verdict** in bold: supports / refutes / inconclusive, with a plain-English explanation.
6. Caveats (confounders, selection effects, multiple-comparisons risk if this is one of many tests).

Wersje

RepozytoriumWynikLicencja
Ta strona · danielrosehill/claude-data-analyst-plugin100MIT
testland/qa-skills100MIT
poemswe/co-researcher100MIT
testland/qa100MIT
rohitg00/skillkit100Apache-2.0
foryourhealth111-pixel/Vibe-Skills95Apache-2.0

Migawka bazy z 13.11.2026 · wersja paczki d746349afab7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 90hypothesis-test
    Przeprowadza test hipotezy statystycznej: sprawdza założenia, dobiera test i wyjaśnia wynik prostym językiem.
  • 93hypogenic
    Generuje i testuje hipotezy na tabelach danych z pomocą LLM, łącząc wnioski z literatury z analizą danych.
  • 90product-ab-testing
    Projektuje i analizuje testy A/B: formułuje hipotezę, liczy wielkość próby, sprawdza istotność statystyczną i testy AA.
  • 100expectation-driven-science
    Prowadzi analizę danych test-first: formułuje hipotezę i oczekiwanie, przewiduje wynik i dopiero potem weryfikuje go.
  • 87hypothesys
    Wypytuje o hipotezę z nauki o danych lub ML, aż stanie się jasna, sprawdzalna i powiązana z metrykami celu.
  • 96om-problem-solving
    Prowadzi rozwiązywanie problemu hipotezami: definicja, drzewa hipotez, priorytety i analizy, które potwierdzają lub obalają tezy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.