[…] rely on computing the distance from an observation to its nearest neighbor. This article shows how to compute nearest neighbors in SAS. A related article shows how to compute the distances between observations in one group and …