After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 385467 - implement double exponentional smoothing
implement double exponentional smoothing
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: Charting
git master
Other Linux
: Normal enhancement
: ---
Assigned To: Andreas J. Guelzow
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-12-13 14:35 UTC by Frederic Parrenin
Modified: 2008-09-26 08:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Frederic Parrenin 2006-12-13 14:35:15 UTC
In gnumeric cvs, there is a nice new feature called "exponential smoothing".
It allows to smooth a noisy curve.
However, what is currently implemented is a simple exponentional smoothing, which has the side effect of modifying the phase of a curve when there is a trend.
This make the exponentional smoothing useless in a lot of cases.
To prevent this, there is the so-called double exponentional smoothing.
It is explained on this page:
http://www.toyproblems.org/probs/p02/
Thank you.
Comment 1 Jean Bréfort 2006-12-13 20:05:59 UTC
thanks for the link.
Comment 2 Jean Bréfort 2006-12-15 09:49:40 UTC
After reading the docs, I conclude that what I implemented as exponential smoothing is not really simple exponential smoothing but an extension of the concept (it uses the abscissa and the data might be unordered).
The question is what should I implement now?
- something similar to what we already have, but more like double exponential smoothing?
- or the classic simple and double exponential smoothing formula (and also triple exponential smoothing by the way)?
Comment 3 Frederic Parrenin 2006-12-15 10:04:34 UTC
Hi Jean,
I have not further investigated this problem (and I have to leave for a few weeks with http access), but I would say that:
- it is better to have something that works on non-ordered series
- the smoothing should be symetrical: reversing the time (the abscissas) should not change the result
Cheers, Frederic
Comment 4 Jean Bréfort 2006-12-15 10:19:23 UTC
exponential smoothing is not symmetrical. You take into account only what happened before, so if you revert the time, the data used are obviously not the same. Of course if there is a trend, it must be similar in both cases.
Comment 5 Jean Bréfort 2008-09-22 16:53:02 UTC
Andreas, I think it should be implemented more or less the way I did it for simple exponential smoothing (which allows non ordered data). I already have some code, and was planning to finish that soon, but of course, if you prefer, you can do it.
Comment 6 Andreas J. Guelzow 2008-09-22 18:31:04 UTC
The exponential smoothing tool is one of the few left that calculates values only only rather than inserting formulas like most of the other analysis tools. So I am basically set to rewrite that tool completely.
Comment 7 Andreas J. Guelzow 2008-09-26 05:57:11 UTC
I have added Holt's trend corrected exponential smoothing (which is what is usually meant with double exponentail smoothing).

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 8 Frederic Parrenin 2008-09-26 08:50:23 UTC
Excellent, thank you very much for this!
Frederic