These data have been compiled from the United Nations Demographic Yearbook 1990 (United Nations publications, Sales No. E/F.91.XII.1, copyright 1991, United Nations, New York) and are reproduced with the permission of the United Nations.

The %DISTANCE macro computes various measures of distance, dissimilarity, or similarity between the observations (rows) of a SAS data set. These proximity measures are stored as a lower triangular matrix or a square matrix in an output data set that can then be used as input to the CLUSTER, MDS or MODECLUS procedures. The input data sets may contain numeric or character variables or both, depending on which proximity measure is used. The macro is documented in the macro comments and can be found in the SAS/STAT sample library.

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.