Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • I don't understand how this deals with the 7 day and 28 day window? Commented Mar 8, 2014 at 6:31
  • Keep track of the previous and next values and keep adding and subtracting them from your running average... Commented Mar 8, 2014 at 7:16
  • 1
    So then I am back in the state of needing to remember 27 days of history, surely? Commented Mar 8, 2014 at 7:17
  • I've been thinking and you are right. So that technically makes my answer incorrect. I'm investing some more time and patience into it. Maybe something out of the box. I'll let you know if I come up with something. We do something like this a lot at my workplace. Let me ask around. Sorry about the confusion. Commented Mar 8, 2014 at 17:15