Statistical Analysis
Enforces frame-inspect-check-assumptions-effect-size-APA-report pipeline for hypothesis tests; bundled Shapiro-Wilk/Levene's script actually runs.
Test report
- Verdict
- Tested · Works
- Score
- Tested
- Jul 14, 2026
- Environment
- Claude Code 2.x (agent harness)
- Upstream re-checked
- Aug 10, 2026 · ac1caa3
Actually ran the bundled scripts/assumption_checks.py on synthetic two-group data (n=48/52, no pingouin installed) — check_normality_per_group and check_homogeneity_of_variance both executed and returned correct Shapiro-Wilk (p=.90/.76) and Levene's (p=.33) results, which fed a full APA-style report (t(98)=5.07, p<.001, d=1.02) versus a baseline t-test that skipped assumption checks and effect-size CIs entirely.
Scored on four weighted criteria — install, triggering, output vs. baseline, docs. How scoring works
- Installs cleanly 5/5
- Triggers reliably 5/5
- Output vs. baseline 10/10
- Docs & honesty 5/5
What Statistical Analysis does
Guides frequentist and Bayesian statistical analysis (t-tests, ANOVA, regression, chi-square, non-parametric and Bayesian alternatives) with mandatory assumption checking via the bundled scripts/assumption_checks.py, effect sizes with confidence intervals, and APA-formatted write-ups. Explicitly bans p-hacking, post-hoc test-shopping, and post-hoc 'observed power' claims. Needs pingouin/scipy/statsmodels installed via uv for the primary test-running examples (pymc/arviz for Bayesian work), but the bundled assumption-check script ran correctly in testing using only scipy/statsmodels/pandas, without pingouin.
How to install Statistical Analysis
git clone https://github.com/K-Dense-AI/scientific-agent-skills
cd scientific-agent-skills
mkdir -p ~/.claude/skills
cp -r skills/statistical-analysis ~/.claude/skills/statistical-analysis
Skills live in ~/.claude/skills/ (global) or .claude/skills/
(per-project). Restart Claude Code after installing.
Commands — how to trigger Statistical Analysis
-
/statistical-analysisEnforces frame-inspect-check-assumptions-effect-size-APA-report pipeline for hypothesis tests; bundled Shapiro-Wilk/Levene's script actually runs.
It also activates on plain-language prompts like these:
-
Run a t-test on these two groups and check the assumptions first -
Fit a regression model and tell me if this dataset can support it -
Check whether this sample size is enough to detect a 5% lift
Appears in
Frequently asked questions
- Is the Statistical Analysis skill free?
- Yes. The skill itself is free from K-Dense-AI/scientific-agent-skills. SkillProof publishes the install command and an independent test verdict at no cost.
- Does Statistical Analysis work with Claude Code?
- We tested it with Claude Code 2.x (agent harness) on Jul 14, 2026. Verdict: Tested · Works. Actually ran the bundled scripts/assumption_checks.py on synthetic two-group data (n=48/52, no pingouin installed) — check_normality_per_group and check_homogeneity_of_variance both executed and returned correct Shapiro-Wilk (p=.90/.76) and Levene's (p=.33) results, which fed a full APA-style report (t(98)=5.07, p<.001, d=1.02) versus a baseline t-test that skipped assumption checks and effect-size CIs entirely.
- What is the Statistical Analysis SkillProof Score?
- 10.0/10 — installs cleanly 5/5, triggers reliably 5/5, output vs. baseline 10/10, docs & honesty 5/5.
- How do I install Statistical Analysis?
- Copy the install command from this page, run it in your terminal, and restart Claude Code. Skills live in ~/.claude/skills/ (global) or .claude/skills/ inside a project.
- Can I use Statistical Analysis with Cursor, Copilot, Gemini CLI, Codex or other AI tools?
- The SKILL.md format is native to Claude (Claude Code, Desktop, claude.ai). The instructions inside adapt to other assistants: Cursor rules, GitHub Copilot instructions, Windsurf rules, Custom GPTs, AGENTS.md for OpenAI Codex, and GEMINI.md for Google Gemini CLI — our conversion guides cover each, and the free converter on the tools page does the wrapping for you.