Analyze Survey Data

Analyze the supplied survey dataset and codebook or summary tables. If neither data nor summaries are available, ask for them before calculating. Use only supplied variables and comparison sources.

Establish the unit of analysis, respondent count from the data, definitions, missingness, duplicates, skip patterns, range errors, sampling design and available weights. Show suitable frequencies or summaries with denominators and missing counts. Cross-tabulate program-relevant variables only where definitions, cell sizes, privacy and precision permit. Use weights and design-aware uncertainty when required and supported by the inputs.

State the valid test and calculation before calling a difference statistically significant; give no p-value when design information is insufficient. Compare a baseline or benchmark only with documented comparable definitions and periods. Distinguish association from cause and preserve conflicting inputs rather than choosing convenient values.

If only summary tables are available, calculate the statistics they support, showing formulas and denominators. Identify record-level checks or analyses the summaries cannot support, without declaring all calculation impossible. Return data-quality notes, a small set of interpretable tables or chart specifications, findings with caveats and recommendations linked to those results. Do not invent records, results or completed checks.

Choose This Prompt When
Choose this for one survey's variables; choose baseline/endline for two comparable rounds or patterns for broader trend exploration.
Loading saved answers...

Worked Example

Illustration only. The setting and figures are invented to show the pattern.

Scenario: A food security program in three rural districts ran one household survey after a harvest season. The analyst has the cleaned file, the codebook and a note on the sampling design.

What You Give the AI: A dataset of 840 completed households, the codebook, the sampling note (two-stage cluster, weights included), and the objective of reporting how many households skipped meals in the past month, by district.

What the AI Might Return: Data-quality notes first: 12 duplicate household IDs, and a skip pattern that leaves 31 records blank on the meals question. Then a table of weighted percentages by district, with the denominator and missing count beside each. One caveat reads "district C has few households, so the interval is wide". The last section lists what the data cannot show, such as change over time.

When to Choose This Prompt

  • You have one survey's data, with a codebook or summary tables, and want the findings written up with caveats.
  • Your survey used clusters, strata or weights and the analysis has to respect them.
  • You want recommendations tied to specific results in the tables.

When Not to Choose It

Checking the Output

  • Match the respondent count in the output with the file you hold. A different total means records were dropped or invented.
  • Pick three percentages and recompute them from the raw counts, using the denominator the table states.
  • Compare the weights used with what the sampling note says. Unweighted figures presented as population estimates need correcting.
  • Look at each cross-tabulation for cell sizes. Small cells should be flagged or merged before anyone reads meaning into them.
  • Search for p-values. With no design information they should not appear, and any claimed test needs the calculation shown.
  • Check the not-supported list against what you hoped to learn, since missing items there tell you what to collect next.

Common Problems and Fixes

  • The AI reports results from a summary table as if it had the records. Fix: State what you uploaded and ask it to list the checks that need record-level data.
  • A difference between groups is called significant with no test named. Fix: Ask for the test, its assumptions and the design-aware calculation, or for the word to be removed.
  • Percentages appear without a denominator. Fix: Ask for every figure to carry its denominator and missing count.
  • It compares your results with a benchmark that has a different definition. Fix: Supply the benchmark's definition and period, and ask it to say whether they match.

Adapting It to Your Context

  • Weights not available: Without weights, results should be labeled sample-only, with a note on what that limits.
  • Sensitive questions: Name them and ask for small-group suppression rules before tables are drawn.
  • Findings go to the community: Give the audience and ask for chart specifications in plain labels.
  • Only summary tables from a partner: Paste them and ask for the statistics they support, with formulas shown.

Next Step

How to Use AI for Baseline and Endline Analysis

Did this page help?