Statalist The Stata Listserver

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

st: Cluster analysis - cluster kmeans-

From   "Herve STOLOWY" <>
To   <>
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

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

*   For searches and help try:

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