Survey Data Weighting and Cross-Tab Tool

Correct a skewed survey sample to known population shares, then cut any question by any banner with column percentages and significance letters, ready for a report.

Runs in your browser. Your files never leave your device. See how to check

…

How to do it

  1. 1
    Load responses

    Open the survey export or press Load sample.

  2. 2
    Choose variables

    Tick the variables to weight on, such as gender and age band.

  3. 3
    Enter targets

    Type the population share of each category in Target %.

  4. 4
    Check weights

    Read design effect, effective sample size and the weight range; set caps if needed.

  5. 5
    Build tables

    Pick rows, columns, percentage type and significance level.

  6. 6
    Export

    Add tables to the report and press Export report to Excel, or download data with weights.

About this tool

Almost no survey sample matches the population it is meant to describe. Online panels over-represent some ages, customer surveys over-represent your most engaged users, and a street survey depends on where and when it was run. Weighting corrects this by giving under-represented respondents more weight and over-represented ones less, so that the weighted sample matches known shares such as census figures for age, gender and region. This tool uses raking, also called iterative proportional fitting, the standard method when you know the population share of each variable separately but not of every combination. It adjusts the weights to match the first variable, then the second, and repeats until all of them match within a tiny tolerance. Weights can be capped as a multiple of the mean so that a few respondents do not dominate the results, and an existing design or base weight column can be used as the starting point.

Quality of the weights

Weighting always costs some precision. The panel shows the Kish design effect, the effective sample size and the weighting efficiency, together with the lowest and highest weight. A design effect of 1.2 means your weighted results are about as precise as an unweighted sample 1.2 times smaller. If the design effect climbs above 2 or the highest weight is many times the lowest, the targets ask too much of the sample and a cap or fewer weighting variables is wiser. Each target table shows the sample share, the target you typed and the weighted share side by side, so you can see at a glance that the weights did their job.

Cross-tabs with significance letters

Choose a question for the rows and a banner variable for the columns, then show column percentages, row percentages or weighted counts. Every banner column gets a letter. A letter in a cell means the share in that column is significantly higher than in the column with that letter, using a two-sided z-test of column proportions at 90, 95 or 99 percent confidence. The test uses each column's effective base rather than its raw count, which is the correct adjustment for weighted data; the effective bases are printed under the table together with the unweighted bases. Tables can be added to a report and exported together to Excel with the weighting targets and a notes sheet, or saved one by one as CSV. The full data set with a new weight column can be downloaded for use in other software.

Limits

Raking matches marginal totals only; it cannot guarantee the right mix of combinations such as young men in the North. Significance letters do not correct for multiple comparisons, so in a large table some letters will appear by chance. Weighting cannot fix questions nobody in a group answered, and it is not a substitute for a well designed sample. This tool does not handle multi-response questions stored in one cell, standard errors for means, or complex stratified and clustered designs.

Worked example

A sample of 420 respondents is 64.3% women and 19.0% aged 18 to 34, against targets of 51% and 30%. Raking on gender and age band converges in 3 rounds with weights between 0.59 and 2.22, a design effect of 1.18 and an effective sample of 355. The share answering Yes to would recommend moves from 51.0% unweighted to 54.5% weighted. In the weighted cross-tab by age band, Yes is 72.3% among 18 to 34 and 58.7% among 35 to 54, both marked C because they are significantly higher than the 35.7% among those aged 55 and over.

Quick facts

Frequently asked questions

What data format do I need?

One row per respondent and one column per question or demographic, as exported by most survey platforms to CSV or Excel.

Where do target percentages come from?

Usually from a census, official statistics or your customer database. Type them per category; they are rescaled to 100%.

What does a letter in a cell mean?

That this column's percentage is significantly higher than the percentage in the column carrying that letter.

Why are effective bases smaller than the real number of respondents?

Unequal weights reduce precision. The effective base is the size of an unweighted sample with the same precision.

Should I cap the weights?

Caps such as 0.3 and 3 times the mean are common. They trade a little accuracy on the targets for more stable results.

Are responses uploaded?

No. Weighting and tables are computed in your browser.

Guides for this tool

Completely freeNo cost, no sign-up
Files stay privateEverything runs in your browser
Easy in your languageAvailable in many languages