Statalist


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

RE: st: Cluster analysis variables - bug?


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   RE: st: Cluster analysis variables - bug?
Date   Wed, 8 Aug 2007 09:56:05 -0700 (PDT)

Thank you Nick. But I am not sure that helps. Both
variables are discrete taking the values 1, 2 and 3.
(I specific 3 clusters). Every value of -C1- appears
for every value of -cluster-. I am at lost.


           |                c1
   cluster |         1          2          3 |    
Total
-----------+---------------------------------+----------
         1 |        71         90         17 |      
178 
         2 |         4        200        596 |      
800 
         3 |       123        164          5 |      
292 
-----------+---------------------------------+----------
     Total |       198        454        618 |    
1,270 


> --- Nick Cox <n.j.cox@durham.ac.uk> wrote:
> 
> > A scatter plot of the two variables may 
> > throw light on this. 
> > 
> > Nick 
> > n.j.cox@durham.ac.uk 
> > 
> > Ricardo Ovaldia
> >  
> > > This may be a very simple question, but I can't
> > find
> > > the answer. Doing a cluster analysis I typed:
> > > 
> > > . cluster kmeans  q4_*, k(3) name(c1)
> s(kr(67492))
> > > 
> > > I get two new variables -c1- and -cluster-.
> These
> > are
> > > different. Could someone please tell me what is
> > the
> > > difference between these two variables? Which
> one
> > is
> > > the cluster indicator.
> > 
> > *
> > *   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/
> > 
> 
> 
> Ricardo Ovaldia, MS
> Statistician 
> Oklahoma City, OK
> 
> 
>        
>
____________________________________________________________________________________
> Need a vacation? Get great deals
> to amazing places on Yahoo! Travel.
> http://travel.yahoo.com/
> *
> *   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/
> 


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


      ____________________________________________________________________________________
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 

*
*   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