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 on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: -cluster measures- with Gower measure


From   khigbee@stata.com
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: -cluster measures- with Gower measure
Date   Mon, 20 Sep 2010 12:46:52 -0500

Phil Schumm <pschumm@uchicago.edu> found that the -Gower- option
(a dissimilarity measure) did not work with the programming
utility -cluster measures-.

> . sysuse auto
> (1978 Automobile Data)
> 
> . cluster measures weight mpg foreign, compare(1) gen(dist) Gower
> r(9388);

This is an oversight and will be fixed in a future update.

Generally I prefer the -matrix dissimilarity- command over the
-cluster measures- command for obtaining dissimilarities.  If the
dissimilarities Phil is after will fit in a Stata matrix, then
-matrix dissimilarity- is the solution to use.

Ken Higbee    khigbee@stata.com
StataCorp     1-800-STATAPC

*
*   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