[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

clust_wts



I've been having problems with the clust_wts function. When I use the
following commands for the array
(named rate) given below, I always end up with the data all in one
cluster when I'd like three clusters. The cw array has all the same
values, so it is using the same cluster centers for each cluster. Am I
missing something or is there really only one identifiable cluster?

cw=clust_wts(rate,n_cluster=3)
cl=cluster(rate,cw,n_cluster=3)

      70.0000
      94.0000
      88.0000
      78.0000
      80.0000
      90.0000
      79.0000
      90.0000
      70.0000
      80.0000
      88.0000
      95.0000
      88.0000
      88.0000
      80.0000
      88.0000
      80.0000
      88.0000
      85.0000
      88.0000
      90.0000
      92.0000
      98.0000
      88.0000
      90.0000
      85.0000
      80.0000
      80.0000
      93.0000
      91.0000
      88.0000
      94.0000
      92.0000
      88.0000
      87.0000
      88.0000
      95.0000
      90.0000