Statistical Analyzer logo

Statistical Analyzer

Community
MAGA2010
statistical-analyzer

Choose and run the inferential test from the data structure, with effect sizes, CIs, multiplicity correction and explicit rejected alternatives. Refuses to report a p-value it cannot estimate.

Overview

PublisherMAGA2010
Repositorydata-master
Skill namestatistical-analyzer
Stars
55
Forks
1
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by MAGA2010 on GitHub. Read the source before you install it.

Installation

Install the Statistical Analyzer AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/MAGA2010/data-master/tree/main/skills/statistical-analyzer
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MAGA2010/data-master.git /tmp/data-master
mkdir -p .claude/skills
cp -r /tmp/data-master/skills/statistical-analyzer .claude/skills/statistical-analyzer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Statistical Analyzer in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Statistical Analyzer on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Statistical Analyzer is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

statistical-analyzer

Stage 2c of the data-master pipeline. The router in ../../SKILL.md owns the end-to-end run; this skill owns one stage and one gate. Read the parent contract before changing anything here: the invariants in ../../SKILL.md (additive-only, types decided once, default-FAIL gates, three-part provenance) are not restated, they are inherited.

When to invoke

When the data has a comparison or association structure. If there is no natural grouping variable, run descriptive analysis only and say so -- inventing a grouping variable is worse than reporting none.

Inputs

  • cleaned data with --group <column>
  • analysis/descriptive.json for distributional context

Outputs

  • analysis/inferential.json: group, group_levels, group_sizes, alpha, n_rows, unit_of_analysis, tests, analysis_question, multiple_comparisons, correlations, rule_source
  • each test: outcome, estimable, method, statistic_name, statistic, dof, dof_denom, p_raw, p_adjusted, effect_sizes, rejected_alternatives, robustness_cross_check, post_hoc

Commands

powershell
python scripts/stats_inferential.py --clean outputs/cleaned/cleaned.csv --group <column> --unit-key <column> --outcomes <a,b> --out outputs/analysis/inferential.json

For confirmatory scope, also pass --unit-key <column> and --outcomes <a,b>. Omitting either declaration, or using an automatically selected group, marks the comparison exploratory. Preserve that scope in the report and the audit.

Gate (default FAIL)

  • more than one test implies a declared multiplicity family with finite adjusted values (a single NaN poisons a whole BH family);
  • analysis_question.confirmatory_ready is true only when unit, group, and outcomes were explicitly named by the user; automatic selections remain exploratory;
  • every estimable test carries an effect size and a 95%% CI;
  • a non-estimable outcome returns estimable: false with a reason and no p-value;
  • Welch ANOVA records both numerator and denominator df.

Failure modes seen in real runs

  • Compare nested mixed models with different fixed effects using ML (reml=False), with convergence and finite-result checks. Preserve optimizer diagnostics. If the model cannot be fitted, report AUTHOR_INPUT_NEEDED; ordinary tests on repeated cell means are not an independent-samples fallback.
  • A failed or violated ANCOVA slopes check leaves the adjusted question unresolved. Do not silently substitute an unadjusted question. OLS coefficient intervals use the residual t distribution.

Method basis: lme4 model-comparison guidance.

  • df = 0.0 beside a p of 1e-70. The Welch ANOVA denominator df was computed with a formula that collapsed to zero; the Satterthwaite form must be used and checked against statsmodels.stats.oneway.
  • A synonym column enters the family. species_code restates species; including it double-counts one hypothesis and shrinks the corrected p-values for the others.
  • A NaN p-value is corrected as if it were a number. One NaN propagates through the step-down correction and nulls the entire family.

Do not

  • do not report a p-value for a degenerate or constant group;
  • do not "fix" non-normality by switching tests when n >= 30 -- use Welch and cross-check with the rank test;
  • do not correct a subset of the family and present it as the family.

Upstream / downstream

  • previous: ../data-explorer/SKILL.md
  • next: ../visualizer/SKILL.md
  • checklist: ../../references/nature-statistics-checklist.md

Frequently asked questions

What does the Statistical Analyzer AI skill do?

Choose and run the inferential test from the data structure, with effect sizes, CIs, multiplicity correction and explicit rejected alternatives. Refuses to report a p-value it cannot estimate.

Why use Statistical Analyzer on TypingMind?

Because you install it once and use it with any model. Statistical Analyzer is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Statistical Analyzer in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/MAGA2010/data-master/tree/main/skills/statistical-analyzer. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Statistical Analyzer?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Statistical Analyzer?

As many as you like. As long as a model supports skills, you can use Statistical Analyzer with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Statistical Analyzer AI skill free?

Yes. It is published on GitHub by MAGA2010 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇