statistical-analysis
Was er macht
Dieses Tool hilft dir, Forschungsdaten auszuwerten. Es kann den passenden statistischen Test auswählen, prüfen, ob deine Daten die Voraussetzungen des Tests erfüllen, und die Ergebnisse übersichtlich darstellen, so wie in wissenschaftlichen Arbeiten.
Wann du ihn nutzt
- ✓Wenn du Gruppen von Daten miteinander vergleichen willst.
- ✓Wenn du eine Idee oder Hypothese mit deinen Daten überprüfst.
- ✓Um Zusammenhänge zwischen verschiedenen Informationen in deinen Daten zu verstehen.
Link zum Skill
https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/statistical-analysis/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Analysiere diese Forschungsdaten für mich, vergleiche Gruppe A und Gruppe B und sag mir, ob es einen signifikanten Unterschied gibt.”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Du gibst deine Daten an und sagst, was du herausfinden willst. Das Tool schlägt passende statistische Analysen vor, führt sie aus, prüft, ob alles korrekt ist, und stellt die Ergebnisse dar.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von GitHub.
Statistical Analysis
Overview
Conduct hypothesis tests (t-tests, ANOVA, chi-square), regression, correlation, and Bayesian analyses with systematic assumption checking, effect sizes, and APA-style reporting. Define the estimand and sampling units, diagnose model limitations, and report effect estimates with uncertainty. Numerical screens cannot certify assumptions or scientific validity.
When to Use This Skill
Use this skill when:
- Conducting statistical hypothesis tests (t-tests, ANOVA, chi-square, non-parametric)
- Performing regression or correlation analyses
- Running Bayesian statistical analyses
- Checking statistical assumptions and diagnostics
- Calculating effect sizes and conducting power analyses
- Reporting statistical results in APA format
- Analyzing experimental or observational data for research
Installation
Targets Pingouin 0.7.0, SciPy 1.18.1, statsmodels 0.15.0, PyMC 6.3.2 and ArviZ 1.3.0 (reviewed 2026-10-01). Create a separate environment; do not add mutually incompatible scientific stacks to a shared project environment.
uv venv --python 3.12 .venv-statistics
uv pip install --python .venv-statistics/bin/python "pingouin==0.7.0" "scipy==1.18.1" "statsmodels==0.15.0" pandas matplotlib seaborn
# Optional Bayesian examples:
uv pip install --python .venv-statistics/bin/python "pymc==6.3.2" "arviz==1.3.0"
On Windows use .venv-statistics/Scripts/python.exe. Lock the resolved environment for reproduction.
- Pingouin 0.7 fixes erroneous mixed/repeated-measures corrections, categorical ANOVA, and other results; do not reproduce an old analysis by merely changing its reported version. See the official changelog.
- Pingouin 0.6+ names are
p_val,cohen_d,CI95,p_unc.ttestreports absolute Cohen's d; calculate a signed estimate explicitly. Itspowercolumn is observed power and should not be used to interpret a null result. correction='auto'chooses Welch by unequal sample sizes, not by variance evidence. Setcorrection=Truefor prespecified Welch inference.- PyMC 6 returns an xarray
DataTree. ArviZ 1 usesci_probinsummary/plot_distandprobinhdi; specify 95% intervals explicitly. See Bayesian guidance. - Pingouin omits
BF10for one-sided t-tests; posterior directional probabilities are not Bayes factors. A two-sidedBF10uses its own model/prior and is not the Bayesian counterpart of a Welch unequal-variance model.
For model-specific APIs (OLS, GLM, ARIMA), see the statsmodels skill. For PyMC workflows, see the pymc skill.
Analysis Workflow
Use the following workflow, documenting prespecified decisions and exploratory departures.
- Frame the question before touching the data. State the hypothesis, the outcome and predictor variables, and the design (independent vs. paired, number of groups). Specify the target effect, sampling unit, dependence, contrasts and multiplicity family before outcome-driven selection. Label adaptive exploration explicitly.
- Inspect the data. Per group: n, mean, SD, median, missing values. Plot the raw data (histograms or box plots) before any test. Unequal group sizes, missingness, floor/ceiling effects, and outliers all change what test is appropriate — surface them to the user rather than silently working around them.
- Select the test using the quick reference below, or
references/test_selection_guide.mdfor designs beyond the basics (counts, time-to-event, reliability, factorial). - Check assumptions with
scripts/assumption_checks.py. Interpret plots and screens alongside the design and estimand; do not switch tests automatically at a diagnostic p-value threshold. Report justified sensitivity analyses and any departures from the plan. - Run the test and always compute the effect size alongside it — a p-value assesses incompatibility with the null model; the effect estimate and its uncertainty support judgments about practical importance.
- Report using the APA templates below, including descriptives, exact statistics, effect sizes with CIs, and the assumption checks performed.
If the user only needs one step (e.g., "how many participants do I need?"), jump straight to that section — but still confirm the design assumptions the calculation rests on.
Test Selection Guide
Quick Reference: Choosing the Right Test
…
Häufige Fragen
Muss ich den genauen Namen des statistischen Tests kennen?
Nein. Du kannst beschreiben, was du mit den Daten machen willst (zum Beispiel Gruppen vergleichen), und das Tool hilft dir, den richtigen Test auszuwählen.
Was sind statistische 'Annahmen'?
Das sind Bedingungen, die deine Daten erfüllen müssen, damit ein statistischer Test verlässlich ist. Das Tool prüft das für dich.
Wie werden die Ergebnisse dargestellt?
Die Ergebnisse werden im Standardformat für wissenschaftliche Berichte (APA-Stil) aufbereitet, mit den wichtigsten Kennzahlen und Effektstärken.
Details
Originalbeschreibung des Autors
Guided statistical analysis for research data - test selection, assumption checking, effect sizes, power analysis, Bayesian alternatives, and APA-formatted reporting. Use whenever a user wants to compare groups, test a hypothesis, analyze experimental or survey data, check statistical assumptions, compute required sample sizes, or write up results - even if they never name a specific test. Covers
Beliebtheit
- GitHub-Sterne
- 51k
- Platz im Ranking
- #3576
- Lizenz
- MIT
- Aktualisiert
- 15.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
13c-metabolic-flux
51kSchätzt Stoffflüsse im Stoffwechsel anhand von Kohlenstoff-13-Isotopendaten. Nützlich für die Analyse des Zellstoffwechsels und biochemischer Stoffwechselwege.
adaptyv
51kPlant Experimente zur Proteincharakterisierung mit der Adaptyv API. Hilft beim Schätzen der Kosten, Einreichen von Sequenzen und Verfolgen der Laborergebnisse.
aeon
51kFührt Machine-Learning-Aufgaben mit Zeitreihendaten aus. Nützlich zum Klassifizieren, Prognostizieren, Erkennen von Anomalien und Finden von Mustern.
alphagenome
51kSucht vorberechnete genomische Effekte für genetische Varianten heraus. Liefert Scores und Erklärungen zu den Auswirkungen der Varianten auf das Genom.
Ähnliche Skills
gitcrawl
394kLässt deinen Agenten ein gespeichertes Archiv von GitHub-Issues und Pull Requests durchsuchen, Duplikate gruppieren und ihren aktuellen Status auf GitHub prüfen.
slacrawl
394kLässt deinen Agenten Nachrichten in einem lokalen Slack-Archiv durchsuchen und zählen, dessen Aktualität prüfen und es bei Bedarf auffrischen.
goplaces
394kHilft deinem Agenten, mit Google Places nach Orten zu suchen, Details und Bewertungen abzurufen und Ortsnamen aufzulösen, mit JSON-Ausgabe für Skripte.