Significance testing and margin of error.

Significance testing (sig testing, stat testing) shows whether a subgroup's percentage is really different from the total or could be chance. Margin of error (MoE) shows how precise a percentage is for its sample size. Both are switched on in the dashboard settings (the cog icon, top left) and apply to the whole dashboard.

Switch on significance testing

  1. In Analyse, open the dashboard settings.
  2. Tick Subset Significance Test.
  3. Leave Confidence Level at 95% (the default) or change it.
  4. Click Apply.
  5. Click Save.

Dashboard settings open on the demo dashboard with Subset Significance Test ticked and Confidence Level at 95

Read the green, red and grey numbers

Add cross filters to a table (for example the age filters on Q9, brands heard of) to see the test.

  • Green in the table, and an up arrow in the chart tooltip: the subgroup is statistically higher than the total.
  • Red on a pink cell in the table, and a down arrow in the chart tooltip: the subgroup is statistically lower than the total.
  • Grey on the total: it is significantly different from at least one of the groups in the table.

In the demo, 57% of all respondents (n=940) have heard of Rivet. Younger respondents are more aware of it, so a younger age column far enough above 57% shows green.

Q9 table with the six age filters as columns, sig testing on, showing green and red cells and the grey total

What the test is

Glow tests whether two overlapping percentages are significantly different. One sample must be a subset of the other, or the other is the total: Male against Total, Age 18-24 against Total.

  • With Values set to Column %, every column is tested against the Total (%) column at the far right.
  • With Values set to Row %, every row is tested against the Total (%) row at the bottom. Cell % shows the test too. Count, Sum and Average do not.

The calculation, where a subgroup has count x1 on base n1 and the total has count x2 on base n2:

  1. Pooled p = (x1 + x2) / (n1 + n2)
  2. Variance = (p * (1 - p)) / (1 - 1 / (n1 + n2))
  3. T-value = ABS(subgroup % - total %) / SQRT(Variance * (1 / n1 - 1 / n2))
  4. P-value = 2 * (1 - NORMSDIST(ABS(T-value)))
  5. Significance level = 1 - P-value
  6. The difference is significant when the significance level is greater than the confidence level you selected.

Where sig testing appears

The test runs on every view where percentages are calculated and cross filters are added: choice, matrix and rank questions, not text, location or image upload questions.

  • Choice: add cross filters to the table columns.
  • Matrix: the default matrix (statements in rows, choices in columns) shows no testing. Collapse the Statements slot to one statement (for example "Is a brand I trust" at Q15), then add cross filters to the rows.

Switch on margin of error

  1. Open the dashboard settings.
  2. Tick Margin of Error.
  3. Change Population Size only if your universe is smaller than the default of 20,000 (for example a company of 2,000 staff). Above 20,000, margin of error barely changes.
  4. Click Apply, then Save.

A margin of error appears for each sample size, Total (n), used to calculate the percentages in your table:

Values Where margin of error shows
Row % Next to each row's sample size
Column % In a MoE (max) row above each column's Total (n)
Total % Next to the total sample size, bottom right
Count, Sum Not shown (no percentages are calculated)
Average Not shown yet (it needs a different formula)

Q9 table by gender with Margin of Error on and Values set to Column %, showing the MoE (max) row above Total (n)

Good to know

  • Sig testing and margin of error work together. Tick both if you want.
  • There is no minimum sample size. Glow tests every cell however small its base, so check the Total (n) before you read much into a small group's result.
  • Margin of error has its own Confidence Level and a Hide margin of error on shared link option, under Population Size.
  • To keep the test out of a shared dashboard, tick Hide subset significance test on shared link, which appears under Confidence Level.
  • Neither works with weighting. Switching on significance testing or margin of error turns weighting off, and the reverse.
  • 95% is a convention. Use 99% for stronger evidence, or a lower level such as 85%. Too strict misses real findings, too lenient finds differences that are not there.
  • Glow shows the maximum margin of error for each base (the margin at 50%). The true margin is smaller the closer a percentage is to 0% or 100%.
  • At 95% confidence, n=100 gives about +/-10%, n=1,000 about +/-3% and n=10,000 about +/-1%.

Common questions

Is this difference significant?
Tick Subset Significance Test in the dashboard settings and add the groups as cross filters. A green cell is significantly higher than the total and a red cell is significantly lower, at your confidence level.

What do the green and red numbers mean?
They are significance testing results. Green means the subgroup's percentage is statistically higher than the total, red means lower, and a grey total means at least one group differs from it.

What is my margin of error with n=940?
±3.1% at 95% confidence, which is what the demo's All column shows. That is the maximum margin, which applies to results near 50%, such as the 51% who have heard of Lumo Zero in the demo. Tick Margin of Error to see the figure for each base.

Can I compare two subgroups, such as Male against Female?
Significance testing compares each subgroup with the total. As a guide for two subgroups, switch on margin of error and add their margins together. If that sum is larger than the gap between their percentages (margins of 5% and 6% against a 9 point gap), they are not likely to be significantly different.

Related

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.