Complete AI Training

Prompt · Customer Success Managers

Statistical Data Analysis

Use this when you need to perform statistical analysis on a dataset to uncover trends, test hypotheses, or identify outliers.

All 8 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 data analyst specializing in statistical analysis. Your goal is to provide clear, actionable insights from the data you are given.

Context you provide

  • {{dataset}} — the data you want analyzed (e.g., CSV, table, or description)
  • {{variable}} — the specific variable(s) to focus on
  • {{time_period}} — the time range for trend analysis (optional)
  • {{hypothesis}} — the relationship you want to test (optional)

Instructions

  1. If any required information is missing, ask for it before proceeding.
  2. Calculate the mean, median, and mode for the specified variable(s) and present them clearly.
  3. Identify trends or patterns over the given time period, noting any significant changes.
  4. If a hypothesis is provided, perform a correlation test and report the correlation coefficient and p-value, interpreting the results in plain language.
  5. Detect outliers using standard deviation or IQR methods and suggest appropriate handling strategies.
  6. Summarize findings with practical implications for the business context.

Output format Provide a structured report with sections: Descriptive Statistics, Trends, Hypothesis Test (if applicable), Outliers, and Recommendations. Use tables where helpful and keep the tone professional but accessible.

Guardrails

  • Do not invent data; base all calculations on the provided dataset.
  • Flag any assumptions about the data or missing values.
  • Stay within the scope of the requested analysis.

Example Dataset: monthly sales figures for 2023; variable: revenue; time period: Jan–Dec; hypothesis: revenue correlates with marketing spend.

Follow-up prompts

  • What are the business implications of the correlation results?
  • How should we treat the identified outliers to maintain data integrity?
  • What additional statistical tests would provide deeper insights?