Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.


root
Posts:
54
Registered:
8/26/09


Re: standard deviation of overlapping sums
Posted:
Aug 19, 2011 10:05 AM


Ray Koopman <koopman@sfu.ca> wrote: > On Aug 18, 1:53 pm, Beliavsky <beliav...@aol.com> wrote: >> If I have N independent normal variates and create (NM+1) sums of M >> consecutive variates, what is the standard deviation of those sums? >> For M << N the standard deviation of the sums is slightly less than >> sqrt(M), but as M approaches N, the overlap makes the standard >> deviation appreciably less than sqrt(M). > > I'm not 100% sure about this, but it's in the right ballpark. > > The sums have the same marginal variances, m, but are correlated. > Their covariance matrix has m down its main diagonal, m1 in the > first offdiagonals, m2 in the second offdiagonals, etc. > > Let k = n+1m. If k >= m then the sum of the covariances is > t = k*m + 2((k1)*(m1) + (k2)(m2) + ... + (km+1)*(1)) > = k*m + m(m1)(2k1+km)/3. > > If k < m then interchange k and m in the expression for t. > > Using the alternate definition of a variance as half the expected > squared difference between two independentlychosen sums gives > m  t/k^2 (i.e., their average variance minus their average > covariance) as the variance of the sums. > > The other alternate definition of a variance, as half the expected > squared difference between two sums chosen without replacement, gives > m  (t  k*m)/(k(k1)).
The OP's problem is related to a moving average. As a good estimate of the observed reduction of freedom you can take the number of points as N/(autocorrelation length).



