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

Statistics: “Running Average” for x_t = Bx_t-1 + (1-B)*currentPerformance #329

Open
ngwattcos opened this issue Apr 12, 2020 · 1 comment
Assignees

Comments

@ngwattcos
Copy link
Member

  • need field for “previous average” x_t-1
  • look into onChangeListener for when a question is answered (need to update all client UIs) (https://firebase.google.com/docs/firestore/query-data/listen)
  • current average calculated on the fly? weighted average (xt) also calculated on the fly
  • “running average” can be reused as xt-1 for the next session in the series

@abcdefguan

@abcdefguan
Copy link
Contributor

I've computed average statistics per session with a cloud function. Running average might be more tricky. I'll look into that in future.

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

No branches or pull requests

2 participants