Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: reproducing spss cluster analysis with stata


From   David Reimer <[email protected]>
To   [email protected]
Subject   st: reproducing spss cluster analysis with stata
Date   Wed, 22 Jan 2003 15:07:17 +0100

Hi all,
I am trying to reproduce a variable-based cluster analysis
I ran in SPSS using Stata.
The SPSS syntax is the follwing:

proximities var1 to var8
/view=variables
/measure=euclid
/matrix=out(*).               /* This command produces a matrix, based on
                                 Euclidean distances */
cluster var1 to var8
/method=single
/matrix=in(*)                 /*now I can use the matrix produced before
for the cluster analysis */


A relatively simple solution would be to just switch rows and columns of
my dataset. Since my dataset contains 10.000 observations my version of
Stata doesn't allow this.
Any suggestions?

David


-- 
David Reimer
Research Assistant 
University of Mannheim
Phone: +49-621-181-2051
Fax:   +49-621-181-2048
 
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index