Statistical Analysis

Guided statistical analysis for test selection, assumption checks, power analysis, and APA-style reporting. Use when you need to choose an appropriate statistical test for your data and produce publication-ready results (including effect sizes and diagnostics).

2,068 stars 206 forksData & Analytics

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add aipoch/medical-research-skills --skill statistical-analysis
Manual install
git clone --depth 1 https://github.com/aipoch/medical-research-skills.git /tmp/medical-research-skills
mkdir -p ~/.claude/skills
cp -r /tmp/medical-research-skills/scientific-skills/Data Analysis/statistical-analysis ~/.claude/skills/statistical-analysis

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

> **Source**: [https://github.com/aipoch/medical-research-skills](https://github.com/aipoch/medical-research-skills)

## When to Use

Use this skill when you need to:

1. Choose an appropriate statistical test (e.g., t-test vs. ANOVA vs. non-parametric vs. Bayesian) based on study design and variable types.
2. Validate assumptions before inference (normality, homoscedasticity, linearity, outliers) and decide on remedies when assumptions fail.
3. Run common inferential analyses (hypothesis tests, correlation, regression) and interpret results with effect sizes and uncertainty.
4. Plan studies with a priori power analysis (sample size planning) or run sensitivity analysis after data collection.
5. Write results in APA style with complete reporting elements (test statistic, df, p, effect size, CI, assumption checks).

> For programming model-specific workflows (especially regression variants and custom diagnostics), prefer **statsmodels** directly; this skill focuses on *guided selection, checks, interpretation, and reporting*.

## Key Features

- **Test selection guidance** by research question, design (independent/paired; 2+ groups), outcome type, and distributional properties (see `references/test_selection_guide.md`).
- **Assumption checking and diagnostics** with automated checks and plots (Q–Q, residual plots, boxplots) via `scripts/assumption_checks.py` (see `references/assumptions_and_diagnostics.md`).
Read the full skill on GitHub

Details

Skill name
statistical-analysis
Path
scientific-skills/Data Analysis/statistical-analysis/SKILL.md
License
MIT
Repo updated
17 September 2026

FAQ

What does the Statistical Analysis skill do?

Guided statistical analysis for test selection, assumption checks, power analysis, and APA-style reporting. Use when you need to choose an appropriate statistical test for your data and produce publication-ready results (including effect sizes and diagnostics).

How do I install the Statistical Analysis skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add aipoch/medical-research-skills --skill statistical-analysis. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Statistical Analysis popular?

It lives in aipoch/medical-research-skills, which has 2,068 GitHub stars and 206 forks.

Related skills

Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.