Skip to content

Distances

Computes distances or similarities between every pair of cases, or between every pair of variables.

  • To see how similar specific cases (stores, countries, respondents) are to each other.
  • To prepare a distance matrix for Hierarchical Cluster (save it as a dataset), or to inspect one before clustering.
  • To compare variables by their pattern of values (between-variables view).
  • A measure that suits the data: Euclidean-type distances for scale variables, correlation or cosine for profile shape.
  • Variables on different scales should be standardized (z scores), or the largest-range variable dominates.
  • Complete data: cases with a missing value are left out.
  • Proximity Matrix: the footnote says whether larger values mean more different (a dissimilarity) or more alike (a similarity).
  • Diagonal values are 0 for distances and 1 for correlations.

Squared Euclidean distances between the 12 regions’ standardized indicator profiles ranged from 0.8 to 19.6; Lahore and Karachi were most similar.

Syntax: PROXIMITIES income literacy growth /MEASURE=SEUCLID /STANDARDIZE=VARIABLE Z /ID=region /MATRIX=OUT(dist).


This page comes from OrcStat’s built-in help (the same text as in the app’s Help panel). To suggest a change, open an issue.