Do agnes() and hclust() do the exact same thing?

Viewed 389

I'm using the clValid package (Brock et., 2008) to evaluate the stability of a cluster solution.

Interestingly, the package its you select Hierarchical Clustering and AGNES as if these were different algorithms.

It outputs a ranked list with the overall best combinations of distance metric, linkage method and clustering algorithm and here, hierarchical clustering and AGNES seem to achieve different results when using the same distance metric and the same linkage method.

So to gain some definite clarity: Do agnes() and hclust() indeed do the exact same thing? Is the clValid package just misleading in how the ranks are displayed or am I missing something?

1 Answers

Here is some relevant information detailing the differences in the use of the Ward method between the two functions.

It explains that hclust() uses two varieties of the Ward method - 'ward.D' and 'ward.D2'. 'ward.D2' is the genuine Ward method - while 'ward.D' is something else. Typing in just 'ward' in hclust() results in the use of 'ward.D'. In agnes() there is only one type of 'ward' option - which is the genuine Ward method.

For differences in other types of linkages read this post

Related