I will ask my question beginning by an example (I am novice in stats) I have a set of probabilities from a given observation A={0.3,0.2,0.001, 0.02, ...} I want to partition A on subsets or clusters so as each one will contain the closest probabilities. And after, i will be interested in calculating the distances between the clusters. Is there any simple algorithm I can use for this?
Thanks