cs-140 — The Sliced Anomaly

FieldValue
idcs-140
difficultyIntermediate
topicsaggregation, bias, data
lecturelecture-27
estimated time5-minute attempt + 10-minute discussion
prerequisiteslecture-09 (aggregation), lecture-25 (thinking with data)
objectivesee how one aggregate flips when the group weights change, then decide what to report
solutionheld by the instructor; discussed after the attempt

Problem

Two campus bookshops, each with a coffee bar. Per-shop revenue per customer:

           Books  Coffee
North         30      2
South         16      1

Per-bookshop customer mix:

           Books-bar  Coffee-bar customers
North           20                100
South          100                 20

The city newspaper writes: "South's bookshops run a more lucrative business — look at their blended revenue per customer." Compute the blended figure and you will see their point. Then:

Your deliverables:

  1. The blended revenue per customer for each bookshop.
  2. The per-bar comparison (books bar vs books bar, coffee bar vs coffee bar) that the blend hides.
  3. In two sentences: what happened, and why "who buys what" can flip an aggregate while every sub-group ranking stays the same.
  4. The fair two-line comparison you would give the newspaper instead.

If the problem is ambiguous anywhere, state the assumption you are making and carry on — a stated assumption is part of a good answer.

Examples

Solve for the worked instance first. Then ask what would change if one number, name, or condition were replaced by something stranger.

What to notice

Discussion starter

After the solution is revealed, the class spends five minutes on this prompt: "The newspaper insists on one number per city. What single number would you defend, computed how — and what must you print next to it?"

Constraints and assumptions

Hints and extension