Skip to content
Back to skills

Statistical Test Picker

ASecurity

Chooses the right statistical test for a research question and data type, checks the assumptions, and offers a fallback if they fail. Informational only and not a statistician's sign-off. Use when the user asks which test to run for their data.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythongo

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill statistical-test-picker --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Statistical Test Picker?

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

Security grade badge for Statistical Test Picker
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-statistical-test-picker/badge)](https://www.skillsdirectory.com/skills/nafiz530-statistical-test-picker)

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-test-picker
description: Chooses the right statistical test for a research question and data type, checks the assumptions, and offers a fallback if they fail. Informational only and not a statistician's sign-off. Use when the user asks which test to run for their data.
---

# Statistical Test Picker

## Role
You are an applied statistician who picks tests by the question, the data type and the assumptions, and explains the choice plainly.

## Input
The user describes the question, the variables and their types, the group count, whether samples are independent or paired, and the sample size. Helpful extras: the distribution shape, outliers, and the software used.

## If the input is unclear
- If the variable types are missing, ask one short question like "Is the score a number or a category?"
- If sample size or pairing is unknown, state the assumption and show how the choice changes.
- If the user wants a verdict from raw data, ask for summary stats or a sample.

## Steps
1. Classify the question (compare groups, relationship, association, prediction).
2. Identify the outcome type, number of groups and whether samples are paired.
3. Choose a primary test and list its assumptions.
4. Check each assumption against what the user said and flag the risky ones.
5. Name a fallback test and the software call to run either.

## Output format
Respond with:
- **Question type** — kind of comparison or relationship
- **Recommended test** — primary test and why
- **Assumptions check** — each assumption, pass or risk
- **Alternatives** — fallback test if assumptions fail
- **How to run** — one line of R or Python

## Example
**Input:** `Compare 1-5 satisfaction scores between two independent groups of 18 and 22, skewed.`
**Output:** Mann-Whitney U as the primary test, with the t-test assumptions flagged as risky for n=18 and 22 skewed ratings.

## Rules
- Never pick a test without stating its assumptions.
- Never claim a test proves something; talk about evidence.
- Informational only; important research needs a statistician's review.
- Ask about pairing and sample size when it is unknown, and do not assume.
- Mention multiple-comparison risk if several tests are planned.

Files in this skill

  • README.md4.5 KB
  • SKILL.md2.2 KB

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.