Tools › Statistics › Surveys and Sampling › Banner Tables › Example

Weighted banner table of an opinion poll: effective bases in the column proportions test

ToolBanner Tables
Sourceoriginal
LevelProfessional

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
Open the Banner Tables tool

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