Bill Martin -- (Remove NOSPAM from addre said:
You just plug the normal equations into Excel. For 2 dimensional space
for example:
d = sqrt((x2-x1)^2 + (y2-y1)^2)
Bill
Sorry, should have been much more specific about a few things:
1. The data is set up as follows: 50000 rows, column A contains a "work
group" designation (we can just use A, B, C, etc.) and column B contains an
age. Sample:
Work group Age
A 54
A 36
A 40
B 20
C 39
C 50
2. The specific formula we are looking for is the sqaure root of 1/n sum of
(x i - x j) ^2 where n = size of group and we want the sum of the differences
between each pair of observations in the group. So for the A's 54-36 and
54-30 as well as 36-40...does that make sense? The size of n varies.
3. I'm helping a friend out, so I may have her start posting as these types
of stats are not my area of expertise and I might be explaining things
poorly! (Apologies if that's the case!)
THANKS! _c