Title Stata.com Cluster — Introduction to Cluster-analysis Commands

Syntax Description Remarks and examples References Also see Syntax Cluster analysis of data cluster subcommand. .. Cluster analysis of a dissimilarity matrix clustermat subcommand. .. Description Stata's cluster-analysis routines provide several hierarchical and partition clustering methods, postclustering summarization methods, and cluster-management tools. This entry presents an overview of cluster analysis, the cluster and clustermat commands (also see [MV] clustermat), as well as Stata's cluster-analysis management tools. The hierarchical clustering methods may be applied to the data by using the cluster command or to a user-supplied dissimilarity matrix by using the clustermat command. The cluster command has the following subcommands, which are detailed in their respective manual entries. Partition-clustering methods for observations kmeans [MV] cluster kmeans and kmedians Kmeans cluster analysis kmedians [MV] cluster kmeans and kmedians Kmedians cluster analysis Hierarchical clustering methods for observations singlelinkage [MV] cluster linkage Single-linkage cluster analysis averagelinkage [MV] cluster linkage Average-linkage cluster analysis completelinkage [MV] cluster linkage Complete-linkage cluster analysis waveragelinkage [MV] cluster linkage Weighted-average linkage cluster analysis medianlinkage [MV] cluster linkage Median-linkage cluster analysis centroidlinkage [MV] cluster linkage Centroid-linkage cluster analysis wardslinkage [MV] cluster linkage Ward's linkage cluster analysis Postclustering commands stop [MV] cluster stop Cluster-analysis stopping rules dendrogram [MV] cluster dendrogram Dendrograms for hierarchical cluster analysis generate [MV] cluster generate Generate summary or grouping variables from a cluster analysis 1 2 cluster — Introduction to cluster-analysis commands User utilities notes [MV] cluster notes Place notes in cluster analysis dir [MV] cluster utility Directory list of cluster analyses list [MV] cluster utility List cluster analyses drop [MV] cluster utility Drop cluster analyses use [MV] cluster utility Mark cluster analysis as most recent one rename [MV] cluster utility Rename cluster analyses renamevar [MV] cluster utility Rename cluster-analysis variables Programmer utilities [MV] cluster programming subroutines Add cluster-analysis routines query [MV] cluster programming utilities Obtain cluster-analysis attributes set [MV] cluster programming utilities Set cluster-analysis attributes delete [MV] cluster programming utilities Delete cluster-analysis attributes parsedistance [MV] cluster programming utilities Parse (dis)similarity measure names measures [MV] cluster programming utilities Compute (dis)similarity measures The clustermat command has the following subcommands, which are detailed along with the related cluster command manual entries. Also see [MV] clustermat. Hierarchical clustering methods for matrices singlelinkage [MV] cluster linkage Single-linkage cluster analysis averagelinkage [MV] cluster linkage Average-linkage cluster analysis completelinkage [MV] cluster linkage Complete-linkage cluster analysis waveragelinkage [MV] cluster linkage Weighted-average linkage cluster analysis medianlinkage [MV] cluster linkage Median-linkage cluster analysis centroidlinkage [MV] cluster linkage …