Agent skill · Testing & QA

statistical-analysis

Guided statistical analysis with test selection and reporting. Use when you need help choosing appropriate tests for your data, assumption checking, power analysis, and APA-formatted results. Best for academic research reporting, test selection guidance. For implementing specific models programmatically use statsmodels.

LeonChaoXgithub.com/LeonChaoXGitHub ↗
claude-codeships scriptsMIT
Install
npx skills add LeonChaoX/qinyan-academic-skills --skill statistical-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 7
SKILL.md size: 19 KB
Bundled scripts: yes
Path: skills/11-数据分析与统计建模/statistical-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 759
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

Review
written from the skill's own SKILL.md · Aug 5, 2026

What it does

Guides statistical analysis tasks: test selection, assumption checking, statistical testing, effect sizes and interpretation, power analysis, and APA-style reporting for academic research.

How it works

  • Recommends tests based on research questions and data characteristics.
  • Performs assumption checks with automated diagnostics and visualizations via scripts/assumption_checks.py.
  • Supports a range of tests: t-tests, ANOVA, chi-square, regression (linear, multiple, logistic), correlations, and Bayesian alternatives.
  • Calculates and reports effect sizes with confidence intervals.
  • Produces APA-formatted reports and publication-ready figures/tables.
  • Provides example code snippets using libraries like scipy.stats, statsmodels, pingouin, pymc, and arviz for running analyses and diagnostics.
  • Includes a workflow decision tree to guide users from test selection to reporting.

When to use it

  • When conducting statistical hypothesis tests (t-tests, ANOVA, chi-square)
  • When performing regression or correlation analyses
  • When running Bayesian statistical analyses
  • When checking statistical assumptions and diagnostics
  • When calculating effect sizes and conducting power analyses
  • When reporting statistical results in APA format
  • When analyzing experimental or observational data for research

What it can touch

  • Uses Python libraries: scipy.stats, statsmodels, pingouin, pymc, arviz
  • Includes scripts: scripts/assumption_checks.py and functions like comprehensive_assumption_check, check_normality, check_homogeneity_of_variance, etc.
  • Demonstrates code snippets that import and utilize these libraries and modules

Caveats

  • License: MIT
  • Requires interpretation of outputs and adherence to APA guidelines as per references/reporting_standards.md
  • Some advanced analyses rely on external packages; ensure compatibility and correct installation
From the SKILL.md

# Statistical Analysis ## Overview Statistical analysis is a systematic process for testing hypotheses and quantifying relationships. Conduct hypothesis tests (t-test, ANOVA, chi-square), regression, correlation, and Bayesian analyses with assumption checks and APA reporting. Apply this skill for academic research. ## When to Use This Skill This skill should be used when: - Conducting statistical hypothesis tests (t-tests, ANOVA, chi-square) - 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 --- ## Core Capabilities ### 1. Test Selection and Planning - Choose appropriate statistical tests based on research questions and data characteristics - Conduct a priori power analyses to determine required sample sizes - Plan analysis strategies including multiple comparison corrections ### 2. Assumption Checking - Automatically verify all relevant assumptions before running tests - Provide diagnostic visualizations (Q-Q plots, residual plots, bo

What's inside
Steps it walks through
  1. Overview
  2. When to Use This Skill
  3. Core Capabilities
  4. 1. Test Selection and Planning
  5. 2. Assumption Checking
  6. 3. Statistical Testing
  7. 4. Effect Sizes and Interpretation
  8. 5. Professional Reporting
  9. Workflow Decision Tree
  10. Test Selection Guide
  11. Quick Reference: Choosing the Right Test
  12. Assumption Checking
  13. Systematic Assumption Verification
  14. Individual Assumption Checks
Ships with 6 files
  • references/assumptions_and_diagnostics.md
  • references/bayesian_statistics.md
  • references/effect_sizes_and_power.md
  • references/reporting_standards.md
  • references/test_selection_guide.md
  • scripts/assumption_checks.py
More from qinyan-academic-skills
All skills →
About this skill
What does the statistical-analysis skill do?

Guided statistical analysis with test selection and reporting. Use when you need help choosing appropriate tests for your data, assumption checking, power analysis, and APA-formatted results. Best for academic research reporting, test selection guidance. For implementing specific models programmatically use statsmodels.

How do I install it?

Run `npx skills add LeonChaoX/qinyan-academic-skills --skill statistical-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From LeonChaoX/qinyan-academic-skills, a repository with 759 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going