Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a way or explanation on mapping ewma-timeless to time-based averages #150

Open
eric opened this issue Feb 11, 2013 · 1 comment
Open

Comments

@eric
Copy link
Contributor

eric commented Feb 11, 2013

I've wanted to craft a "1 minute", "5 minute", "15 minute" moving average (like a unix load average), but don't know the right r to pass to ewma-timeless to get it.

Either documenting a rule of thumb or providing a mechanism to recreate that would be helpful.

@AlexBaranosky
Copy link

@eric What about:

(defn moving-average [num-seconds & children]
  (moving-event-window num-seconds (apply smap folds/mean children)))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants