Diff for "FAQ/equalwts" - CBU statistics Wiki
location: Diff for "FAQ/equalwts"
Differences between revisions 4 and 5
Revision 4 as of 2009-05-06 10:59:32
Size: 947
Editor: PeterWatson
Comment:
Revision 5 as of 2009-05-06 10:59:45
Size: 949
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 6: Line 6:
More generally for k group sample sizes, $$n_text{1}, ..., n_text{k}$$ the harmonic mean may be expressed as $$\frac{k n_text{k}}{n_text{k} \sum_text{j}^text{k} \frac{1}{n_text{j}}}$$. More generally for k group sample sizes, $$n_text{1}, ..., n_text{k}$$ the harmonic mean may be expressed as $$\frac{k n_text{k}}{n_text{k} \sum_text{j=1}^text{k} \frac{1}{n_text{j}}}$$.

Harmonic mean gives equal weight to averages of sample sizes

The harmonic mean may also be used to weight unequal group sample sizes to compute Type III (unweighted) sum of squares in an analysis of variance. To see this unweighting charatceristic suppose we have three sample sizes 3, 6 and 9 which we wish to average. The harmonic mean for these three sample sizes is $$\frac{\mbox{3x3 + 1.5x6 + 9x1}}{\mbox{3 + 1.5 + 1}}$$ = 4.9. Each sample size contributes the same amount to the numerator, 9, which is equal to the highest sample size. In this way smaller sample sizes contribute more to the computation of the average sample size than using the arithmetic mean. Indeed, the harmonic mean is always less than or equal to the arithmetic mean.

More generally for k group sample sizes, $$n_text{1}, ..., n_text{k}$$ the harmonic mean may be expressed as $$\frac{k n_text{k}}{n_text{k} \sum_text{j=1}^text{k} \frac{1}{n_text{j}}}$$.

None: FAQ/equalwts (last edited 2013-03-08 10:17:11 by localhost)