Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Clustering with Sequence analysis/optimal matching


From   "Stefan Weih" <Stefan.Weih@wiso.stud.uni-erlangen.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: Clustering with Sequence analysis/optimal matching
Date   Wed, 21 Mar 2012 11:38:57 +0100

Dear Statalist-members,

I am currently analyzing diversification strategy sequences with 16
potential sequence states using the sqom (optimal matching) command.
As a common next step I would like to cluster my sqom-results. For this, I
am using the command sqclusterdat procedure as described in ?Sequence
analysis with Stata? (Brzinsky-Fay/Kohler/Luniak, 2006, The Stata
Journal6(4), 435-460). The syntax I am using looks the following:

sqset Seq ID Order

sqom, subcost(matrixA) full

sqclusterdat
clustermat wardslinkage SQdist, name(wards) add
sqclusterdat, return

However, the clustering does not work properly. After performing
sqclusterdat, return I keep receiving the following message ?Group results
could not be merged to sequence data. Returned to original sequence data?.

Unfortunately the cause for this message is not obvious to me. I am
thankful for any guidance and hints that can help me out.

Sincerely,
Stefan Weih


The data looks like:

ID	Seq	Order
41	11	1
41	13	2
41	11	3
41	21	4
42	11	1
42	13	2
42	12	3
42	11	4
43	14	1
43	13	2
43	11	3
43	12	4


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index