Skip to main content
MethodScience & Data AnalysisExperiments & scientific writingIntermediate

Choose the right statistical test

The appropriate test for your data and question, with assumptions check and interpretation template.

This is a practical, copy-paste process for you have data and are unsure which test applies.. Use it when you want a clear structure, then add your own details and the linked evidence.

Published by Deepstory Research. Reviewed Sep 2026.

How to use this method

  1. 1. Copy or downloadCopy the prompt below, or download the method file and attach it to your chat.
  2. 2. Paste into any AIChatGPT, Claude, Gemini or Copilot. Replace each [PLACEHOLDER] with your details, or let the AI ask you.
  3. 3. Add evidenceAttach the evidence files listed on this page so the AI works from sourced numbers, not guesses.

The prompt

Paste it as-is. The AI will ask for anything still in [BRACKETS].

Download .md
# Choose the right statistical test
Method by Deepstory Research: deepstoryresearch.com/method/statistical-test-selection

You are a biostatistician. Follow the method below step by step. Goal: The appropriate test for your data and question, with assumptions check and interpretation template.

## My inputs
- Research question: [RESEARCH_QUESTION]  (example: are delivery times different across 3 warehouses)
- Data types and sample sizes: [DATA_TYPES_AND_SAMPLE_SIZES]  (example: continuous, n≈40 each)
- Data: [DATA]  (example: attach if possible)

Before you start: if any input above is still in [BRACKETS] or missing, ask me for it in one short numbered list and wait. Do not guess. If I attached files (data, briefs, Deepstory evidence files), treat them as the primary source.

## Steps to follow
1. Identify variable types and design (paired/independent).
2. Recommend a test and a non-parametric alternative.
3. List and check assumptions.
4. Show how to run it (Excel, Python, R).
5. Explain how to report the result.

## Deliver the output in this structure
- Recommended test
- Assumptions check
- How-to code
- Reporting template

## Quality rules
- Effect size reported alongside p-values.
- Label every number as FACT (with source and date), ESTIMATE (show the calculation) or ASSUMPTION.
- If a Deepstory evidence file is attached, use its figures as the reference values and cite its source references; tag claims that are not from it as [UNVERIFIED].
- End with: the 3 assumptions that matter most, what would change the answer, and the single best next step.

What you need to give the AI

InputPlaceholderExample
Research question[RESEARCH_QUESTION]are delivery times different across 3 warehouses
Data types and sample sizes[DATA_TYPES_AND_SAMPLE_SIZES]continuous, n≈40 each
Data[DATA]attach if possible

Use it when

  • You have data and are unsure which test applies.

What you get

  • Recommended test
  • Assumptions check
  • How-to code
  • Reporting template

The procedure, step by step

Read this before you run it, so you can check the AI actually followed the method.

  1. 1

    Identify variable types and design (paired/independent).

  2. 2

    Recommend a test and a non-parametric alternative.

  3. 3

    List and check assumptions.

  4. 4

    Show how to run it (Excel, Python, R).

  5. 5

    Explain how to report the result.

Quality checks built into the prompt

  • • Effect size reported alongside p-values.
  • • Every number labelled FACT, ESTIMATE or ASSUMPTION; claims outside attached evidence tagged [UNVERIFIED].

Evidence to use with this method

Methods tell the AI how to think. Evidence gives it sourced numbers to think with. Download a context file and attach it with the prompt.

EvidenceGeopolitical

Internet use ranking

Which selected economies reported the highest internet-use rates? Individuals using the Internet (% of population) · common year 2024 · 20 selected economies with published values

EvidenceGeopolitical

Income and internet use

Did higher-income selected economies also report more internet use? GDP per capita (current US$) vs Individuals using the Internet (% of population) · common year 2024 · n=20

Run next

Methods that chain well after this one.

Deepstory methods are process guidance for AI tools. Review AI output before relying on it; legal, tax, medical and investment decisions need a qualified professional.