Description Usage Arguments Details Value Examples
Hierarchical clustering method that partitions the data only when these partitions are statistically significant.
1 2 |
md |
Matrix of squared Euclidean distances between all data points. |
data |
Data matrix. Each row represents an observation. |
alpha |
Significance level. |
rep |
Number of times to repeat optimization procedures. Important for problems with multiple optima. |
plot |
Logical, |
This is the significance hierarchical clustering procedure of Valk and Cybis (2018). The data are
repeatedly partitioned into two subgroups, through function uclust
, according to a hierarchical scheme.
The procedure stops when resulting subgroups are homogeneous or have fewer than 3 elements.
This function should be used in high dimension small sample size settings.
Either data
or md
should be provided.
If data are entered directly, Bn will be computed considering the squared Euclidean distance.
It is important that if a distance matrix is entered, it consists of squared Euclidean distances, otherwise test results are
invalid.
Variance of bn
is estimated through resampling, and thus, p-values may vary a bit in different runs.
For more detail see Cybis, Gabriela B., Marcio Valk, and SÃlvia RC Lopes. "Clustering and classification problems in genetics through U-statistics." Journal of Statistical Computation and Simulation 88.10 (2018) and Valk, Marcio, and Gabriela Bettella Cybis. "U-statistical inference for hierarchical clustering." arXiv preprint arXiv:1805.12179 (2018).
See also is_homo
, uclust
and Utest_class
.
Returns an object of class hclust
with three additional attribute arrays:
P-values from uclust for the final data partition at each node of the dendrogram. This
array is in the same order of height
, and only contains values for tests that were performed.
Bonferroni corrected significance levels for uclust for the data partitions at each node
of the dendrogram. This array is in the same order of height
, and only contains values for tests that were performed.
Final group assignments.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.