Download Statistics Toolbox User's Guide

Transcript
inconsistent
Purpose
2inconsistent
Calculate the inconsistency coefficient of a cluster tree.
Syntax
Y = inconsistent(Z)
Y = inconsistent(Z,d)
Description
Y = inconsistent(Z) computes the inconsistency coefficient for each link of
the hierarchical cluster tree, Z. Z is an m-1 by 3 matrix generated by the
linkage function. The inconsistency coefficient characterizes each link in a
cluster tree by comparing its length with the average length of other links at
the same level of the hierarchy. The higher the value of this coefficient, the less
similar the objects connected by the link.
Y = inconsistent(Z,d) computes the inconsistency coefficient for each link in
the hierarchical cluster tree, Z, to depth d. d is an integer denoting the number
of levels of the cluster tree that are included in the calculation. By default, d=2.
The output, Y, is an m-1 by 4 matrix formatted as follows.
Column
Description
1
Mean of the lengths of all the links included in the calculation.
2
Standard deviation of all the links included in the calculation.
3
Number of links included in the calculation.
4
Inconsistency coefficient.
For each link, k, the inconsistency coefficient is calculated as:
Y ( k, 4 ) = ( z ( k, 3 ) – Y ( k, 1 ) ) ⁄ Y ( k, 2 )
For leaf nodes, nodes that have no further nodes under them, the inconsistency
coefficient is set to 0.
2-115