Przejdź do treści
Biblioteka skilli
Dane i analityka · Nauka i wyjaśnianie

correlation-causation

/correlation-causation

Pomaga odróżnić korelację od przyczynowości i unikać pułapek zmiennych zakłócających, selekcji i odwrotnej przyczynowości, gdy dane pokazują związek.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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 05.09.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

Pomaga odróżnić korelację od przyczynowości i unikać pułapek zmiennych zakłócających, selekcji i odwrotnej przyczynowości, gdy dane pokazują związek.

Oryginalny opis (EN)

Tell correlation from causation and avoid the confounding, selection, and reverse-causation traps. Use when data shows a relationship and someone is about to claim one thing causes another.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 447 słów
Podgląd SKILL.md
---
name: correlation-causation
description: Tell correlation from causation and avoid the confounding, selection, and reverse-causation traps. Use when data shows a relationship and someone is about to claim one thing causes another.
---

# Correlation vs causation

"X correlates with Y" is easy to measure and easy to over-read. The leap
to "X causes Y" is where analysis most often goes wrong, driving real
decisions off a relationship that is coincidence, confounding, or backwards.
Knowing when you can and cannot claim causation is a core data-science
guardrail.

## Method

1. **Default to "correlation is not causation".** A relationship in data
   has several possible explanations: X causes Y, Y causes X (reverse), a
   third factor Z causes both (confounding), selection into the sample
   created it, or pure chance. The correlation alone cannot distinguish
   them. Start skeptical of the causal story.
2. **Hunt the confounder.** The classic trap: ice cream sales correlate
   with drownings (summer causes both). Before claiming X causes Y, ask
   what Z could drive both. Confounders are everywhere (seasonality, age,
   wealth, the underlying trend); an uncontrolled comparison is a
   confounder waiting to be named (see mental-models' first-principles).
3. **Check the direction.** Does X cause Y, or does Y cause X? "Users of
   feature A retain better" may mean A drives retention, or that
   already-engaged users (who would retain anyway) adopt A. Reverse and
   bidirectional causation masquerade as forward causation constantly.
4. **Suspect selection effects.** If the sample was chosen in a way related
   to the variables (survivors, opt-ins, the treated group differing from
   the control at baseline), a relationship can appear from the selection
   itself, not any causal link. Ask how the data was collected and who is
   missing (see the sampling caution in statistical-inference).
5. **Reserve causal claims for causal evidence.** The strong evidence for
   causation is a randomized experiment (randomization breaks confounding;
   see ab-test-design, experiment-design-basics). Without it, causal
   inference needs careful methods (natural experiments, controlling for
   known confounders, instrumental variables) and still carries caveats.
   Observational correlation supports "associated with", not "causes".
6. **Frame conclusions honestly.** Say "associated with" or "predicts" for
   correlational findings, "causes" only when the evidence earns it. The
   discipline is in the wording: a decision-maker who hears "causes" acts
   as if intervening on X will move Y, which a mere correlation does not
   promise.

## Boundaries

- Prediction does not require causation: a model can use correlated
  features to predict well without any causing the target, and that is
  fine for forecasting (see ml-problem-framing). The trap is only when you
  act on the relationship as if intervening.
- Absence of proven causation is not proof of no causal link; correlational
  evidence plus mechanism and dose-response can build a strong (if not
  certain) causal case where experiments are impossible.
- Causal inference from observational data is a deep field; this skill is
  the guardrail against the common leap, not the full methodology (see
  experiment-design-basics, statistical-inference).

Wersje

W bazie nie ma innych skilli o nazwie correlation-causation.

Migawka bazy z 13.11.2026 · wersja paczki a4b0a3a45a9b (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

  • 100causal-inference-root-cause
    Szuka prawdziwej przyczyny wyniku, testując konkurencyjne wyjaśnienia i oddzielając związek przyczynowy od korelacji i zakłóceń.
  • 100correlation-auditor
    Analizuje macierze korelacji Pearsona i Spearmana, liczy korelacje cząstkowe z kontrolą zmiennych zakłócających i wskazuje potencjalne korelacje pozorne.
  • 100correlation-analyzer
    Prawdopodobnie analizuje korelacje w danych w ramach analityki danych.
  • 90causal-audit
    Sprawdza twierdzenia przyczynowe z danych obserwacyjnych: konfoundery, scenariusze kontrfaktyczne, planowanie testów A/B i analizę, dlaczego incydent rozprzestrzenił się w dany sposób.
  • 90judea-pearl
    Stosuje metody wnioskowania przyczynowego Judei Pearl do odróżnienia korelacji od przyczynowości i oceny możliwości AI.
  • 100ai-claim-audit
    Audytuje twierdzenia o efektach w tekstach o produktach AI, takich jak PRD, raporty i opisy, i wskazuje liczby, którym nie można zaufać.

Uwagi i zgłoszenia

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