Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: xclust
See also: kmcont adaptive distance agglom kmeans

Macro: wardcont
Description: performes Ward's hierarchical cluster analysis of the rows as well as of the columns of a contingency table including the multivariate graphic using the correspondence analysis; makes available the factorial coordinates of the row points and column points (scores)

Usage: cw = wardcont (x, k, l)
Input:
x n x p matrix of n row points to be clustered (the elements must be >= 0, with positive marginal sums)
k scalar the maximum number of clusters of rows
l scalar the maximum number of clusters of columns
Output:
cw.y n x l matrix correspondence analysis scores of the row points (l = min(n-1,p-1)
cw.z p x l matrix: correspondence analysis scores of the column points
cw.r n x 1 matrix: Partition of n points into k clusters
cw.c p x 1 matrix: Partition of p points into l clusters

Example:
; load the library xclust
library ("xclust")
; generate a data set
x = #(4, 4, 25, 18, 10)~#(2, 3, 10, 24, 6)~#(3, 7, 12, 33, 7)~#(2, 4, 4, 13, 2)
; apply the ward method
cw = wardcont(x, 3, 4)
Result:
produces three displays with the ward analysis for the rows,
for the columns and for both.

Library: xclust
See also: kmcont adaptive distance agglom kmeans

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Author: Hans-Joachim Mucha, 941111 Sigbert Klinke, 970902
(C) MD*TECH Method and Data Technologies, 28.6.1999