Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Calculation of Malahanovis distance matrix


From   "Stas Kolenikov" <[email protected]>
To   [email protected]
Subject   Re: st: Calculation of Malahanovis distance matrix
Date   Mon, 4 Aug 2008 17:37:23 -0500

Do you mean the distance to the sample mean? At some point, I wrote an
-egen- extension that does Mahalanobis distances, although most likely
it is not -byable- as you might need it to be. I can put it online
although it might take me some while to dig it out... and even more
time to write ten lines of a help file :))

On Fri, Aug 1, 2008 at 5:41 PM, Angel Pita-Duque <[email protected]> wrote:
> Hello,
>
> I want to calculate the Malahanobis distance matrix for a data set that
> consists of 13 variables related to attributes of 156 maize varieties. For
> each variable I have 15 observations (replications). I do need calculate the
> distance matrix and its average for each maize variety bu I have not been
> able to do that using Stata.
> I am using Stata 10 IC for Windows that apparently does not include the
> Malanobis distance procedure.
> I appreciate your consideration and help.
> Best regards,
>
> --
> Angel Pita-Duque
> PhD Candidate
> Geography Graduate Group
> University of California Davis
> One Shields Av.
> 2425 Hart Hall
> Davis, CA. 95616
> Phone: +530-754 9576
>
> *
> *   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/
>



-- 
Stas Kolenikov, also found at http://stas.kolenikov.name
Small print: I use this email account for mailing lists only.
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index