statistical-analysis

statistical-analysis is a skill for Claude Code, Codex from Lzy599775/agent-auto-sci-skills. It costs 111 tokens per session (5,478 once invoked), scanned A, a copy of statistical-analysis, MIT.

A research-data analysis guide for choosing and running statistical tests, checking their assumptions, measuring effect size and statistical power, and writing results in APA style. It covers methods such as t-tests, ANOVA, regression, correlation, and Bayesian analysis.

In plain words
What is it for?
Use it to compare groups, test research hypotheses, analyze experimental, survey, or observational data, and calculate sample-size needs. It can also help prepare a reviewer-ready statistical write-up.
Why use it?
It helps avoid using the wrong test or overlooking conditions that make results unreliable. It also helps report findings with their practical size and uncertainty, not just whether a result is statistically significant.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare groups, test research hypotheses, analyze experimental, survey, or observational data, and calculate sample-size needs. It can also help prepare a reviewer-ready statistical write-up.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lzy599775/agent-auto-sci-skills/statistical-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lzy599775/agent-auto-sci-skills --skill statistical-analysis
Clone the repo
git clone --depth 1 https://github.com/Lzy599775/agent-auto-sci-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for statistical-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/lzy599775/agent-auto-sci-skills/statistical-analysis.svg)](https://agentmods.dev/skills/lzy599775/agent-auto-sci-skills/statistical-analysis)
Your own site
<a href="https://agentmods.dev/skills/lzy599775/agent-auto-sci-skills/statistical-analysis"><img src="https://agentmods.dev/badge/skills/lzy599775/agent-auto-sci-skills/statistical-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 111 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 94% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00111 $0.05478
Opus 5 $0.00056 $0.02739
Sonnet 5 $0.00022 $0.01096
Haiku 4.5 $0.00011 $0.00548

Measured yesterday against content hash 1b1d63fd667e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

statistical-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/assumption_checks.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

94% identical to statistical-analysis — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/kdense-data-viz-selected/subskills/k-dense/statistical-analysis/SKILL.md · 464 lines

How it starts

The opening of the file, as written. The whole thing — 464 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Statistical Analysis

Overview

Conduct hypothesis tests (t-tests, ANOVA, chi-square), regression, correlation, and Bayesian analyses with systematic assumption checking, effect sizes, and APA-style reporting. The goal is an analysis a reviewer could not tear apart: the right test, verified assumptions, honest effect sizes, and a complete write-up.

When to Use This Skill

Use this skill when:

  • Conducting statistical hypothesis tests (t-tests, ANOVA, chi-square, non-parametric)
  • 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

Installation

Use uv to install the libraries used in this skill. Pin versions in production; unpinned installs are fine for exploration.

# Core frequentist stack (Python 3.10+; 3.12+ recommended for latest SciPy/ArviZ)
uv pip install "pingouin>=0.6" "scipy>=1.11" "statsmodels>=0.14.6" pandas matplotlib seaborn

# Bayesian modeling (PyMC 5 + ArviZ)
uv pip install "pymc>=5.0" "arviz>=1.0"

Compatibility notes (verified against pingouin 0.6.1, statsmodels 0.14.6, arviz 1.2, 2026):

  • Pingouin 0.6.0 renamed output columns to remove special characters: p_val, cohen_d, CI95, p_unc (previously p-val, cohen-d, CI95%, p-unc in 0.5.x). Examples below use the current names; if stuck on 0.5.x, use the hyphenated forms.
  • statsmodels + SciPy: use statsmodels>=0.14.6 with scipy>=1.11 to avoid _lazywhere import errors on SciPy 1.16+.
  • ArviZ 1.x: az.summary() now defaults to 89% intervals (eti89 columns) and the width parameter is ci_prob (not hdi_prob). To report a conventional 95% credible interval, pass az.summary(trace, ci_prob=0.95).
  • One-sided Bayes Factors are gone from Pingouin: pg.ttest(..., alternative='greater') silently drops the BF10 column, and pg.bayesfactor_ttest raises on one-sided alternatives. For one-sided Bayesian tests, use PyMC directly (compute the posterior probability of the directional hypothesis) or JASP/R's BayesFactor.

Read the full file on GitHub · 464 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday Changed · +17 lines 1b1d63fd667e
  2. 8d ago First seen · 447 lines · 111 tokens per session scan A 2bc90ee5c35a

Subscribe to this mod's changes

statistical-analysis is a skill published in the GitHub repository Lzy599775/agent-auto-sci-skills (2 stars, last pushed 2d ago), licensed MIT. It adds 111 tokens to every session and 5,478 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to statistical-analysis, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

papers-reading-skill

Evidence-grounded AI research workflow for turning supplied economics, finance, management, and social-science papers or structured records into versioned PaperReading artifacts. Use when Codex must ingest text, Markdown, or a text-based PDF; separate source-grounded claims from researcher analysis; bind findings to…

AOROM/paperreading · 115 tokens

scopus-researcher

Expert academic researcher using the Scopus MCP. Finds papers, retrieves full abstracts, builds author profiles, analyzes citation impact, and constructs advanced Boolean queries across the Elsevier Scopus database. Activate when asked to search for academic papers, analyze research trends, find citations, profile…

JOSETRA44/scopus-mcp · 67 tokens

write-literature-review

Iterative literature-review workflow for a research topic. Use this skill to draft up to 10 search keywords, build a seed set from OpenAlex title-and-abstract matches, expand by backward and forward citations, screen candidates by title and abstract, repeat until no new relevant papers remain, rank the final set…

Zsun79/LitReviewSkill · 95 tokens

nature-experiment-log

A workflow for turning experiment notes, images, audio, or text into structured Markdown laboratory logs with YAML metadata. It can also organize raw attachments and optionally connect the logs to Feishu or Obsidian.

Yuan1z0825/nature-skills · 45 tokens

researchwrite

Proposal-first scientific writing pipeline, installed under the compatibility trigger researchwrite and the repository package name nature-proposal-writer. Use for composing, revising, or auditing research proposals, opening reports, research plans, and evidence-grounded scientific writing. Three modes…

Yuan1z0825/nature-skills · 87 tokens

nature-writing

Draft, restructure, or plan Nature-style manuscript sections and initial-submission materials from author-provided claims, results, figures, notes, or Chinese drafts. Use for abstracts, introductions, related work, methods, Results or experiments, discussions, conclusions, titles, full manuscript arguments, and…

Yuan1z0825/nature-skills · 183 tokens