Tools › Statistics › Surveys and Sampling › Banner Tables › Example
Weighted banner table of an opinion poll: effective bases in the column proportions test
| Tool | Banner Tables |
| Source | original |
| Level | Professional |
Problem
A poll of 300 respondents carries a weight for each respondent (0.30 to 5.93). Tabulate approval and the direction of the country by party and by sex with weighted percentages, show the unweighted, weighted and effective base of every column, and test Disapprove between men and women with the effective bases.
Inputs to Enter
- Respondent rows: 300 seeded illustrative rows (party, sex, approve, direction, weight)
- Banner variables: party, sex; weight column: weight; 95 % confidence, minimum base 30
Answers
- All respondents: sum of weights 428.1, sum of squared weights 960.8, effective base 428.1² / 960.8 = 190.8 (design effect 1.57)
- Male (E): 141 respondents, weighted base 256.5, effective base 256.54² / 699.81 = 94.0; Female (D): 159 respondents, weighted base 171.6, effective base 112.8
- Disapprove: E 136.02 / 256.54 = 53.0 %, D 58.74 / 171.58 = 34.2 %, pooled 0.4549
- z = (0.5302 − 0.3423) / √(0.4549 × 0.5451 × (1/94.04 + 1/112.81)) = 2.702, p-value 0.0069: letter D under the figure of E
- 20 pairs tested, 7 marked with the weights; the same rows without the weights give 9 marks
Notes
Open this case in the tool: /analysis-tools/statistics/surveys/banner-tables/?try=poll-with-weights. Seeded illustrative data with invented party names; checked against an independent numpy and scipy computation. Putting the Kish effective base in place of the number of respondents treats the weights as fixed and ignores clustering and stratification; design-based survey software gives the design-based test.
More Examples for This Tool
- Banner table of a customer survey: would recommend, by age and region, with letters from the column proportions test
- Mock-jury questionnaire by verdict lean: column percentages and a Welch t test on mean awards
- Six stores, fifteen pairs per row: what the Bonferroni correction does to the letters of a banner table
- Small bases in a banner table: a column of 15 respondents is shown but not tested