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: Dissimilarity matrix in sequence/cluster analysis


From   Sarah Park <sarahjwpark@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Dissimilarity matrix in sequence/cluster analysis
Date   Wed, 3 Oct 2012 02:15:18 -0700

I need to export my dissimilarity matrix into excel and divide the
distance measure by the longest sequence in the dataset since
sequences of different length are used. The Stata Journal article
Sequence analysis with Stata suggested standardizing the distance
measure this way.

I am able to copy the table into excel and divided the distance
measures. However, I am not sure how to put this back into Stata, in
order to sqclusterdat and clustermat.

I see input matrix by hand, but would it recognize that it's
dissimilarity matrix? My matrix is quite huge and I prefer some other
way. Would mkmat work? How would I do it?

Thank you.
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index