I'm an astronomer trying to smooth variable star data, and one way I'm doing this is using a 7-point, second-order Savitzky-Golay filter. I iteratively apply the filter 51 times (i.e. I apply the filter, then apply the filter again to the result of the first application, etc.) I've found that the equation the filter uses to modify the data for 7-point quadratic SG filter is:
$y_t = \frac{-2x_{t-3} + 3x_{t-2} + 6x_{t-1} + 7x_t + 6x_{t+1} + 3x_{t+2} - 2x_{t+3}}{21}\tag{1}$
Error propagating Equation 1 gives:
$\sigma_{y_t} = \frac{1}{21}\sqrt{4\sigma_{x_{t-3}}^2 + 9\sigma_{x_{t-2}}^2 + 36\sigma_{x_{t-1}}^2 + 49\sigma_{x_t}^2 + 36\sigma_{x_{t+1}}^2 + 9\sigma_{x_{t+2}}^2 + 4\sigma_{x_{t+3}}^2}\tag{2}$
However, I seem to be making some sort of mistake in doing this. After iteratively applying this 51 times to my observational errors, it reduces the errors by 13 orders of magnitude! This is clearly absurd and isn't an error I can seriously report in my paper, but I can't figure out my error. I had the same problem with my convolution method, the error of which I worked out to be:
$\sigma_{y_t} = \frac{1}{w}\sqrt{\sum_{i=0}^w{\sigma_{x_i}^2}}\tag{3}$
where $w$ is the window size, for which I also used 7, giving an equation similar to Equation 2 without the coefficients in front of the errors. This also reduced the error by about 13 orders of magnitude, and through guesswork, I discovered that:
$\sigma_{y_t} = \sqrt{\frac{1}{w}\sum_{i=0}^w{\sigma_{x_i}^2}}\tag{4}$
gave errors of the proper order of magnitude. A similar method doesn't work for Equation 2, however. Since I don't understand why Equation 4 is right and Equation 3 is wrong (I taught error propagation to first-year physics undergrads as part of my GSA), I can neither discover the proper method to error propagate nor explain it in my dissertation.
I think the unknown factor is that I'm iterating the procedure (the 51 times I apply the filter), and I think that is altering the error propagation method somehow. A Google search on 'error propagation for iterated functions' was unhelpful, and I wasn't able to find a similar question on any StackExchange. Some guidance would be appreciated.