Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Cluster analysis - cluster kmeans-


From   "Herve STOLOWY" <stolowy@hec.fr>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Cluster analysis - cluster kmeans-
Date   Fri, 11 May 2007 22:44:05 +0200

Dear Statalisters:

I am not familiar with cluster analysis and don't have an easy access to the manual on this topic. However, I have a group of 21 observations with one variable (a score) and would like to create three "homogeneous" groups.

I found the -cluster kmeans- command. Here are my command lines:

gsort - finance_aggregate
cluster kmeans finance_aggregate, k(3)

Each time I run these commands, I get a different result (i.e., a different clustering: the three groups are different). I looked at the help file but don't understand. (It might be related to the start option but I am not sure).

Is there a way to obtain the same result everytime?

Best regards

Herve Stolowy


***********************************************************
Professeur/Professor
HEC Paris
Département Comptabilité Contrôle de gestion / Dept of Accounting and Management Control
1, rue de la Liberation
78351 - Jouy-en-Josas
France
Tel: +33 1 39 67 94 42 - Fax: +33 1 39 67 70 86
mail: stolowy at hec dot fr
web: http://studies.hec.fr/web/stolowy

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index