| Subject: | XploRe Application Guide |
| See XploRe: |
| Quantlet: | clust11 | |
| Description: | applies the divisive methods and compares the results between estimated and true partitions | |
| Download: | clust11.xpl |
library("xclust")
randomize(0)
x = normal(30, 5)
x1 = x - #(2,1,3,0,0)'
x2 = x + #(1,1,3,1,0.5)'
x3 = x + #(0,0,1,5,1)'
x4 = x - #(0,2,1,3,0)'
x = x1|x2|x3|x4
w = 1./var(x)
m = matrix(rows(x))
cd = divisive (x, 4, w, m, 1111)
conting (cd.p, ceil((1:120)/30))
| Subject: | XploRe Application Guide |
| See XploRe: |