Perhaps -clustermat- is what you are looking for?
Also, the FAQ (http://www.stata.com/support/faqs/mata/matsize.html)
In Stata, can I use Mata matrices that are larger than Stata's matsize?
How can I perform clustermat on a Mata matrix?
How can I send clustermat a matrix larger than the currently set matsize?
might be helpful.
Scott
> -----Original Message-----
> From: [email protected] [mailto:owner-
> [email protected]] On Behalf Of Martin, Peter
> Sent: Monday, July 31, 2006 5:35 AM
> To: [email protected]
> Subject: st: cluster analysing a distance matrix
>
> Hello there,
>
> Is it possible to use STATA for cluster analysis of a distance matrix?
> I know you can use STATA to cluster analyse cases with respect to a set
> of variables - distances here are created as part of STATAs "cluster"
> command. However, how do I cluster analyse data that are already given
> in the form of a distance matrix? (SPSS can do this, but crashes when
> the distance matrix is larger than about 10,000 by 10,000.)
>
> I'd be grateful for any tips.
>
> Regards,
>
> Peter
*
* 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/