| An example pre-election survey | |||||||
|---|---|---|---|---|---|---|---|
| Proportion of each subgroup that support the democratic candidate | |||||||
| party | gender | population | K | Y | group mean | sample proportion | weight |
| Democrat | Women | 28% | 237 | 229 | 97% | 34% | 0.83 |
| Democrat | Men | 22% | 178 | 160 | 90% | 25% | 0.87 |
| Republican | Women | 25% | 161 | 18 | 11% | 23% | 1.09 |
| Republican | Men | 25% | 124 | 4 | 3% | 18% | 1.41 |