statable Statistics for study and research

Euclidean distance

The ordinary straight-line distance, extended to several variables. It is the square root of the sum of the squared differences on each variable. It is the most widely used distance measure.

Example: Two cases (1, 2) and (4, 6): square root of 3² + 4² = square root of 25 = 5.

Caution: Variables with a large range count for more, so standardising first is usual. If the variables are strongly related, the Mahalanobis distance is better suited.

Related

Open in Statable