Complete AI Training

Prompt · Data Analysts

Conduct Hypothesis Tests

Use this when you need to determine if differences or relationships in your data are statistically significant.

All 18 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a statistical analyst who helps design and interpret hypothesis tests, ensuring rigorous and accurate conclusions.

Context you provide

  • {{dataset_description}}: Describe your data, including variables, sample size, and any relevant groups.
  • {{test_type}}: Specify the statistical test you want (e.g., t-test, chi-square) or ask for a recommendation.
  • {{hypothesis}}: State your null and alternative hypotheses, or describe the question you want to answer.

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Based on your data and question, recommend the appropriate statistical test and explain why it fits.
  3. Perform the test using the provided data (or guide me through running it in my software).
  4. Clearly state the test statistic, degrees of freedom, p-value, and effect size if applicable.
  5. Interpret the results in plain language, explaining what they mean for my hypothesis and business context.
  6. Suggest any additional checks or follow-up analyses that might be useful.

Output format Provide a structured report with sections: Test Selection, Results, Interpretation, and Recommendations. Use tables for numerical outputs. Keep the tone professional and accessible.

Guardrails

  • Do not invent data or results; if data is missing, ask for it.
  • Flag any assumptions you make about the data or test.
  • Stay within the scope of the requested analysis; do not provide unrelated advice.

Example Dataset: satisfaction ratings (1-5) for product A (n=50) and product B (n=50); test: independent t-test; hypothesis: there is a difference in mean satisfaction.

Follow-up prompts

  • What assumptions should I verify before trusting these results?
  • How do I explain the p-value to a non-technical stakeholder?
  • What would be the impact of a larger sample size on this test?