data-analysis

Solid

Generate statistical analysis code with 4-round review. Select appropriate statistical tests, interpret results, and produce analysis reports with p-values, effect sizes, and confidence intervals. Use when analyzing experimental data for a paper.

AI & Automation 7 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
30
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Data Analysis Generate rigorous statistical analysis code with multi-round review. ## Input - `$0` — Data source (CSV, JSON, pickle, or experiment logs) - `$1` — Research goal or hypothesis to test ## References - 4-round code review prompts: `~/.claude/skills/data-analysis/references/review-prompts.md` ## Scripts ### Statistical summary and comparison ```bash python ~/.claude/skills/data-analysis/scripts/stat_summary.py --input results.csv --compare method --metric accuracy --output summary.json python ~/.claude/skills/data-analysis/scripts/stat_summary.py --input results.csv --describe ``` Detects data types, recommends tests, runs comparisons, outputs effect sizes and significance stars. Requires numpy, scipy. ### Format p-values ```bash python ~/.claude/skills/data-analysis/scripts/format_pvalue.py --values "0.001 0.05 0.23" --format stars python ~/.claude/skills/data-analysis/scripts/format_pvalue.py --csv results.csv --column pvalue --format latex ``` Formats p-values with stars, LaTeX notation, or plain text. Stdlib-only. ## Workflow ### Step 1: Generate Analysis Code Structure the code with these sections: 1. `# IMPORT` — pandas, numpy, scipy, statsmodels, sklearn 2. `# LOAD DATA` — Load from original data files 3. `# DATASET PREPARATIONS` — Missing values, units, exclusion criteria 4. `# DESCRIPTIVE STATISTICS` — Summary tables if needed 5. `# PREPROCESSING` — Dummy variables, normalization 6. `# ANALYSIS` — Statistical tests per hypothesis 7. `# SAVE A...

Details

Author
sergeeey
Repository
sergeeey/Claude-cod-top-2026
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category