Tools › Statistics › Surveys and Sampling › TURF Analysis › Example

TURF of eight ice cream flavors: the highest-reach pair is not the two most popular

ToolTURF Analysis
Sourceoriginal
LevelUndergraduate

Problem

A survey of 240 respondents marks, for each of eight ice cream flavors, whether the respondent would buy it (1) or not (0). Find the pair and the trio of flavors that reach the most respondents at least once, compare them with the two and three most popular flavors, and work the reach of the pair by inclusion and exclusion.

Inputs to Enter

  • Respondent rows: the 240 seeded illustrative rows of the tool's default case (Chocolate, Choc Chip, Vanilla, Strawberry, Lemon, Mango, Coffee, Pistachio)
  • Largest set size 3; an item counts as taken from the value 1; no weights; reached = at least one item of the set
Open the TURF Analysis tool (loaded with this example)

Answers

  • Reach of each flavor alone: Chocolate 117 / 240 = 48.8 %, Choc Chip 42.5 %, Vanilla 35.4 %, Strawberry 26.7 %; 11 respondents take no flavor
  • The two most popular, Chocolate + Choc Chip: (117 + 102 − 79) / 240 = 58.3 %, because 79 respondents (32.9 %) take both
  • Highest-reach pair of the 28 pairs, Chocolate + Strawberry: (117 + 64 − 14) / 240 = 167 / 240 = 69.6 %
  • Highest-reach trio of the 56 trios, Chocolate + Vanilla + Strawberry: 197 / 240 = 82.1 % (95 % Wilson interval 76.7 to 86.4 %), against 74.6 % for the three most popular flavors
  • Frequency of the trio 266 / 197 = 1.35 flavors per reached respondent; duplication 26.7 % against 42.5 % for the three most popular
  • All 8 + 28 + 56 = 92 sets were evaluated; the greedy path arrives at the same pair and trio on these rows

Notes

The tool's default inputs are this case; press Submit, or open /analysis-tools/statistics/surveys/turf-analysis/?try=favorites-overlap. Seeded illustrative respondents, no real survey; every reach, set and interval is checked against an independent brute-force computation in numpy (test_turf_analysis.php). The top five trios all lie inside the interval of the first: the sample does not tell them apart. Reach counts respondents; the page does not say which line to offer.

More Examples for This Tool