Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: cluster analysis

From   Gianluca Cafiso <>
To   "" <>
Subject   st: cluster analysis
Date   Tue, 24 Jan 2012 11:16:52 +0000 (GMT)

Dear Stata users,
I am in need of your guidance once again.

I have run this cluster analysis:

cluster kmeans X1 X2 if id_X3==1, k(2) name(ca2) s(prandom) keepcen 
cluster list ca2 
cluster query ca2
return list 
sreturn list

However, I do not manage to get the following information related to the cluster analysis:

1 - the initial mean values used as group centers
(I command the way they are defined "prandom", but I want to see the values too)
2 - the value of the dissimilarity measure (L2,  euclidian)


- Is there a way to test statistically whether my partition makes sense?
(I mean: do the data really flow into 2 groups?)
A statistician friend of mine suggested to look at Wilks' lamda. 
Does anybody know if it makes sense with Stata's cluster algorithm and , if so,
how to get it?

Thanks for any clarification about it.

Dr. Gianluca Cafiso
University of Catania, Department of Economics and QM.
Corso Italia 55, 95129 Catania - Italy.
Phone: +39 095 7537 745 
link to my Personal Webpage

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index