Jump to content

Wikipedia:Reference desk/Archives/Mathematics/2011 January 27

From Wikipedia, the free encyclopedia
Mathematics desk
< January 26 << Dec | January | Feb >> January 28 >
Welcome to the Wikipedia Mathematics Reference Desk Archives
The page you are currently viewing is an archive page. While you can leave answers for any questions shown below, please ask new questions on one of the current reference desk pages.


January 27

[edit]

Combine Standard Deviations

[edit]

I know you can combine weighted averages of non-overlapping subsets to find the average of the whole. Can you do the same to find the standard deviation of the whole? Say you had the average heights of all the boys in a class (n=30, average=60, sd=3) and all the girls in a class (n=20, average=50, sd=5). The average height of the class would be: (total height of girls + total height of boys)/(total number of students) = (50*20+60*30)/(20+30) = 56.

Can you do something similar to find the standard deviation of the whole class? 160.10.98.106 (talk) 18:21, 27 January 2011 (UTC)[reply]

You can, but it's a little more complicated:
I'll leave it as an exercise to show that this works (and to check that I didn't make a mistake). -- Meni Rosenfeld (talk) 19:16, 27 January 2011 (UTC)[reply]
It's actually pretty easy: write (by the definition of variance). The overall just as , where is the "probability" for each group. So we have and your formula follows immediately. --Tardis (talk) 20:58, 27 January 2011 (UTC)[reply]
This can be rewritten as
which show how one has to add in a bit because the averages are different Dmcq (talk) 14:55, 28 January 2011 (UTC)[reply]