Population vs sample variance - Cross Validated most recent 30 from stats.stackexchange.com 2019-06-19T14:02:44Z https://stats.stackexchange.com/feeds/question/48391 http://www.creativecommons.org/licenses/by-sa/3.0/rdf https://stats.stackexchange.com/q/48391 0 Population vs sample variance gbh. https://stats.stackexchange.com/users/15989 2013-01-23T23:28:04Z 2013-02-23T01:24:13Z <p>This is perhaps a very basic question, but I am a bit confused. I have a time series of day some time varying data, say the amount of sunlight as the day passes.</p> <p>I bucket the data in say 10 bins say according to just time, so later bins occur later in time and calculate the variance of each of the bins. Is there a relationship between the calculated variances of the 10 bins and the overall population variance (variance of the whole data set)?</p> https://stats.stackexchange.com/questions/48391/-/48394#48394 1 Answer by sjm.majewski for Population vs sample variance sjm.majewski https://stats.stackexchange.com/users/12895 2013-01-24T01:06:03Z 2013-01-24T01:06:03Z <p>My favourite way to deal with variances of reals is using Steiner's Theorem (geometry Theorem, used in physics for calculating the moment of interia). If you plot the points on the line, the variance is just their moment of interia.</p> <p>Suppose the i-th bin's variance is $V_i$, and the mean temperature in the i-th bin is $M_i$. Let $M$ be the mean temperature, and $\sigma$ the total variance. Then: $$\sigma = \sum\limits_{i=1}^{n} V_i + \sum\limits_{i=1}^{n}M_i (M-M_i)^2$$</p>