From Surf Wiki (app.surf) — the open knowledge base
Cophenetic correlation
In statistics, and especially in biostatistics, cophenetic correlation (more precisely, the cophenetic correlation coefficient) is a measure of how faithfully a dendrogram preserves the pairwise distances between the original unmodeled data points. Although it has been most widely applied in the field of biostatistics (typically to assess cluster-based models of DNA sequences, or other taxonomic models), it can also be used in other fields of inquiry where raw data tend to occur in clumps, or clusters. This coefficient has also been proposed for use as a test for nested clusters.
Calculating the cophenetic correlation coefficient
Suppose that the original data {Xi} have been modeled using a cluster method to produce a dendrogram {Ti}; that is, a simplified model in which data that are "close" have been grouped into a hierarchical tree. Define the following distance measures.
- x(i,j) = |X_i-X_j|, the Euclidean distance between the ith and jth observations.
- t(i,j), the dendrogrammatic distance between the model points T_i and T_j. This distance is the height of the node at which these two points are first joined together.
Then, letting \bar{x} be the average of the x(i, j), and letting \bar{t} be the average of the t(i, j), the cophenetic correlation coefficient c is given by
: c = \frac {\sum_{i
Software implementation
It is possible to calculate the cophenetic correlation in R using the dendextend R package.
In Python, the SciPy package also has an implementation.
In MATLAB, the Statistic and Machine Learning toolbox contains an implementation.
References
References
- Sokal, R. R. and F. J. Rohlf. 1962. The comparison of dendrograms by objective methods. Taxon, 11:33-40
- Dorthe B. Carr, Chris J. Young, Richard C. Aster, and Xioabing Zhang, [http://www.osti.gov/bridge/servlets/purl/9576-lcvvCD/webviewable/9576.pdf ''Cluster Analysis for CTBT Seismic Event Monitoring''] (a study prepared for the U.S. [[United States Department of Energy. Department of Energy]])
- Rohlf, F. J. and David L. Fisher. 1968. Test for hierarchical structure in random data sets. Systematic Zool., 17:407-412 ([http://life.bio.sunysb.edu/ee/rohlf/reprints/RohlfFisher_1968.pdf link])
- [http://www.mathworks.com/access/helpdesk/help/toolbox/stats/index.html?/access/helpdesk/help/toolbox/stats/cophenet.html Mathworks statistics toolbox]
- "Introduction to dendextend".
- "scipy.cluster.hierarchy.cophenet — SciPy v0.14.0 Reference Guide".
- "Cophenetic correlation coefficient - MATLAB cophenet".
This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page.
Ask Mako anything about Cophenetic correlation — get instant answers, deeper analysis, and related topics.
Research with MakoFree with your Surf account
Create a free account to save articles, ask Mako questions, and organize your research.
Sign up freeThis content may have been generated or modified by AI. CloudSurf Software LLC is not responsible for the accuracy, completeness, or reliability of AI-generated content. Always verify important information from primary sources.
Report