Skip to content
Prev 219702 / 398500 Next

Dynamic clustering?

Hello,
Ralf B wrote:
Caveat: I have very little experience with clustering methods, but maybe 
this could get you started:

http://en.wikipedia.org/wiki/Determining_the_number_of_clusters_in_a_data_set

If you only want to make 2 clusters when the means of the data are an 
order of magnitude apart or more, that's easy enough to do without a 
statistical test.

For your examples above, I naively tried some functions in the mclust 
package, which I've never used before:

mclustModel(one, (mclustBIC(one, G=1:2)))$G # gives 1
mclustModel(two, (mclustBIC(two, G=1:2)))$G # gives 2

You'll have to decide for yourself to determine if this is appropriate 
for your data...or if I'm even using these functions correctly. :)