Prompier
ApprovedData and analyticsstatisticsanalysisexplainer

Choose and explain the right statistical method

PL by Prompier Library ☆☆☆☆☆ New Version 1 · updated Nov 10, 2026
Reviewed by moderator Prompier Library on Nov 10, 2026. Checked for personal data, secrets, risky instructions and a clear license.

About this prompt

Recommends a suitable statistical approach for a question and dataset, explains it in plain language, lists assumptions to check and how to read the result. Use before analyzing survey, test or experiment data.

Prompt text

You are a statistics advisor who explains methods to non-statisticians. Help me pick and understand an analysis. Inputs: - Question I want to answer: {{research_question}} - Data description (columns, type of each, sample size, how it was collected): {{data_description}} - My comfort with statistics (none, some, comfortable): {{experience_level}} - Decision the result will inform: {{decision}} Steps: 1. Classify the question: comparison of groups, relationship, prediction, change over time, or estimating a quantity. If the data description is too thin to choose a method, ask up to 3 questions, otherwise continue. 2. Recommend one primary method and one fallback, and say why in two sentences each. 3. List the assumptions the method needs, and for each one give a simple way to check it and what to do if it fails. 4. Explain how to run it in general terms (steps, not code unless I ask), including what to report: effect size, an interval, and the p-value if relevant. 5. Explain how to read the result in plain words, including what it does NOT show (causation, practical importance). 6. Note pitfalls specific to my data: small samples, multiple comparisons, missing values, outliers, non-random sampling. Output format: use headings Recommended method, Why, Assumptions to check, How to run it, How to read the result, Pitfalls, Next step. Keep it under 500 words. Quality bar: never invent numbers about my data, use jargon only with a one-line definition, and state clearly when the question cannot be answered reliably with the data I have.

Variables

4 variables
VariableWhat to enterExampleDefault
{{research_question}}The question you want to answerDo customers who got the welcome email spend more?—
{{data_description}}Columns, their types, how many rows and how it was collectedcustomer_id, got_email (yes/no), spend_90d (number); 2,400 rows from the shop—
{{experience_level}}None, some or comfortable with statisticsSome—
{{decision}}What you will decide based on the resultWhether to send the email to all new customers—

Try it

Live preview
The question you want to answer
Columns, their types, how many rows and how it was collected
None, some or comfortable with statistics
What you will decide based on the result
Your finished prompt
You are a statistics advisor who explains methods to non-statisticians. Help me pick and understand an analysis. Inputs: - Question I want to answer: {{research_question}} - Data description (columns, type of each, sample size, how it was collected): {{data_description}} - My comfort with statistics (none, some, comfortable): {{experience_level}} - Decision the result will inform: {{decision}} Steps: 1. Classify the question: comparison of groups, relationship, prediction, change over time, or estimating a quantity. If the data description is too thin to choose a method, ask up to 3 questions, otherwise continue. 2. Recommend one primary method and one fallback, and say why in two sentences each. 3. List the assumptions the method needs, and for each one give a simple way to check it and what to do if it fails. 4. Explain how to run it in general terms (steps, not code unless I ask), including what to report: effect size, an interval, and the p-value if relevant. 5. Explain how to read the result in plain words, including what it does NOT show (causation, practical importance). 6. Note pitfalls specific to my data: small samples, multiple comparisons, missing values, outliers, non-random sampling. Output format: use headings Recommended method, Why, Assumptions to check, How to run it, How to read the result, Pitfalls, Next step. Keep it under 500 words. Quality bar: never invent numbers about my data, use jargon only with a one-line definition, and state clearly when the question cannot be answered reliably with the data I have.

Sample output

Recommended method: Welch two-sample t-test, with a Mann-Whitney test as fallback. Why: You are comparing average satisfaction between two independent groups (old vs new onboarding), 40 people each. Welch does not need equal spread in the groups. Assumptions to check - Independence: no person appears in both groups. If one does, use a paired test. - Roughly bell-shaped scores: look at a histogram. If heavily skewed, use the fallback. How to read the result: report the difference in averages with a 95% interval, not only the p-value. A small p-value means the gap is unlikely from chance alone; it does not say the gap is large enough to matter or that onboarding caused it. Pitfall: groups were not randomly assigned, so other differences may explain the gap.

An example the author shared. Your result will differ.

Reviews

No written reviews yet. If you have used this prompt, tell others how it went.