Skip to content
Prev 70478 / 398525 Next

Simplify formula for heterogeneity

On 26-May-05 Stefaan Lhermitte wrote:
If I have understood your formula correctly (and you are
applying it to a vector X of length n) then it seems that
your H reduces to

  sqrt[(Si(n*(Xi - Xbar)^2) + Sj(n*(Xj - Xbar)^2))/n]

  = sqrt[2*(n-1)var(X)] = sd(X)*sqrt(2*(n-1))

(where Xbar is the mean of the values in X).

So I don't see what the special point of H is anyway.
But at least this simplifies it1

Best wishes,
Ted.
--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding at nessie.mcc.ac.uk>
Fax-to-email: +44 (0)870 094 0861
Date: 26-May-05                                       Time: 17:05:13
------------------------------ XFMail ------------------------------