Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: cluster analysis: differences between clusters
From
Brendan Halpin <[email protected]>
To
<[email protected]>
Subject
Re: st: cluster analysis: differences between clusters
Date
Fri, 7 Mar 2014 15:07:18 +0000
On Fri, Mar 07 2014, Andrea Jaberg wrote:
> I performed optimal matching for all sequences in the dataset against
> all others using -sqom- and the option -full-. Afterwards I grouped
> them using cluster analysis. Now I'd like to test whether the clusters
> are reliably different. My first thought was using ANOVA. However,
> this seems not possible since I compared all sequences against each
> other which results in a distance matrix.
> What do you suggest in order to test whether the differences between
> clusters are significant?
See Studer et al "Discrepancy Analysis of State Sequences", Sociological
Methods Research August 2011 vol. 40 no. 3 471-510
This proposes a method that uses average distance to the centre of the
pairwise distance matrix, compared with the distance to the centre of
the partitions, to create an analogue of R-squared. It also does a
pseudo-F test, with bootstrapped significance.
It naturally fits with what you are trying to do.
There is a reference implementation in R, written by Studer, but I have
implemented it in Stata.
I will submit this to SSC, but for the moment you can download it from
http://teaching.sociology.ul.ie/bhalpin/discrepancy.zip
Regards,
Brendan
--
Brendan Halpin, Head of Department, Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-002 x 3147
mailto:[email protected] ULSociology on Facebook: http://on.fb.me/fjIK9t
http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/