Skip to content
Back to skills

Statistical Analysis

ASecurity

Plan and execute rigorous statistical analysis, hypothesis testing, assumption checks, effect-size estimation, power analysis, and reproducible data reporting. Use for experimental data analysis, A/B testing, and quantitative research.

  • 327 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythonrustgotestingapi

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add Johnson-Durui/ApexCluster --skill statistical-analysis --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statistical Analysis?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Statistical Analysis
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnson-durui-statistical-analysis/badge)](https://www.skillsdirectory.com/skills/johnson-durui-statistical-analysis)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: statistical-analysis
description: Plan and execute rigorous statistical analysis, hypothesis testing, assumption checks, effect-size estimation, power analysis, and reproducible data reporting. Use for experimental data analysis, A/B testing, and quantitative research.
license: MIT
source: K-Dense-AI/scientific-agent-skills
---

# Rigorous Statistical & Quantitative Data Analysis

Adapted for ApexCluster from `K-Dense-AI/scientific-agent-skills` (`skills/statistical-analysis`, MIT).

## Purpose

Ensure every quantitative conclusion—from benchmark comparisons and A/B experiments to scientific datasets—is backed by appropriate statistical methods, verified assumptions, effect sizes, and transparent uncertainty reporting.

## Step 1: Audit Data & Experimental Design Before Testing

Before computing any test statistic, verify:

1. **Unit of Analysis & Independence**: Identify the true independent sampling unit (subjects, sessions, clusters, random seeds) and guard against pseudoreplication or repeated-measures leakage.
2. **Missingness & Outliers**: Summarize sample sizes (`n`), missing-data patterns (MCAR/MAR/MNAR), extreme values, and exact filtering criteria. Never silently drop outliers without reporting sensitivity checks with and without them.
3. **Variable Scales**: Classify outcomes and predictors accurately (continuous, ordinal, binary, count, time-to-event) and check distributions via summary quantiles, skew, and visual inspection.

## Step 2: Select & Validate Statistical Tests

- **Assumption Checks First**: Evaluate normality (visual Q–Q / Shapiro–Wilk), homoscedasticity (Levene/Brown–Forsythe), linearity, and independence *before* trusting parametric assumptions. When violated, use robust/non-parametric alternatives (Welch's t-test, Mann–Whitney U, Wilcoxon signed-rank, Kruskal–Wallis, permutation tests, bootstrap confidence intervals, or mixed-effects/GLMs).
- **Multiple Comparisons**: Whenever testing multiple hypotheses, metrics, or subgroups, apply an explicit correction (Benjamini–Hochberg FDR or Holm–Bonferroni) and report both raw and adjusted p-values.
- **Effect Sizes & Uncertainty**: Never report a bare p-value alone. Always pair statistical significance with practical magnitude (Cohen's d, Hedges' g, odds/risk ratio, Cliff's delta, R-squared, absolute & relative lift) and `95%` confidence/credible intervals.

## Step 3: Reproducible Execution & Honest Reporting

- When running analysis scripts in an authorized sandbox (Python `scipy`/`statsmodels`/`pandas` or R), set fixed random seeds for bootstrap/permutation procedures, log exact versions and input file hashes, and assert non-empty expected schemas.
- If no execution sandbox is available, state explicitly which formulas/scripts are provided as analytical recommendations vs. actually executed—never fabricate computed test statistics or p-values.
- Present results in a clean summary table showing `Metric`, `Group A (n, mean/median, spread)`, `Group B`, `Test Used`, `Effect Size (95% CI)`, and `Adjusted p-value`, followed by plain-language practical interpretation and limitations.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.