So I've been trying to solve a problem of quantitatively measuring the similarity/difference between groups in my dataset. I am not trying to cluster data to create groups, because the groups are political divisions. I am trying to quantify how similar respective groups are. Here's my thought process:
For each group, calculate a centroid using the n dimensions.
Calculate the Euclidean distances between each point.
So in this 3 dimensional example, if the centroids are at:
|Group||Coordinates of Centroid|
Then the distances would be:
Any critiques or feedback would be very appreciated.