What Near Means

Which of two examples is nearer depends on how we measure distance. We will compare those choices before using nearness to find neighbours or form groups.

16 sections · 15 questions · 4 coding challenges

1 / 16

What Should Count as Nearby?

BOTIE

Suppose two people differ in both height and weight. We can draw them as points, but how far apart should they be? Measuring height in a different unit changes an ordinary geometric distance, even though the people are the same. Measurements that tend to move together create another complication: we may count much the same difference twice.

Mahalanobis addressed the comparison of groups using several measurements in his 1936 paper on generalised distance. The distance took account of the variation and relationships between the measurements, rather than treating each raw coordinate as an equally informative direction.

This gives us a reason to examine several distance rules. Straight-line distance, the sum of coordinate differences, and a distance adjusted for covariance answer different questions. Before choosing one, we need to decide what differences matter in our problem. A formula can measure proximity precisely while still measuring the wrong kind of proximity.

Sources for this history