I have a set of, say 36 observations and wish to calculate the distance matrix for these observations. Now I can do so with the use of a double do-loop, but this seems tedious (even though, for my purposes at this stage, computation time is negligible still). I read that the "distance" operator can be used in this way:
delta = distance(matrix, "L2");
for, say, the Euclidian distance. It seems like a nifty function, unfortunately on my SAS9.3 system, the log gives me an error saying "Invocation of unresolved module DISTANCE."
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.