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

More Statistics like variance #1194

Closed
AleksCee opened this issue Feb 20, 2024 · 4 comments · Fixed by #1837
Closed

More Statistics like variance #1194

AleksCee opened this issue Feb 20, 2024 · 4 comments · Fixed by #1837
Labels
🎉 feature New feature or request

Comments

@AleksCee
Copy link

What about more statistic data on the dashboard like the https://en.wikipedia.org/wiki/Variance of the test over time to show the deviation in up-/downloads? Now at the top there is only the deviation in % to the test befor. But a chart over the time would be nice too.

@alexjustesen alexjustesen added the 🎉 feature New feature or request label Feb 20, 2024
@svenvg93
Copy link
Contributor

Hi @AleksCee,

Can you clarify more what you would like to see.

Like a chart with the average per day over x time range.

@AleksCee
Copy link
Author

@svenvg93 the variance is the average deferral from the values. Here is a example:
IMG_4285

@svenvg93
Copy link
Contributor

svenvg93 commented Aug 14, 2024

Then it might be coming in an open pr. It will have the average per charts
357473416-b3584d00-40d0-4c04-992c-fc2669352e8b

@AleksCee
Copy link
Author

AleksCee commented Aug 14, 2024

Cool, a variance also will be nice too.
here the formular from my example chart:

minDownload = Math.round(Math.min.apply(null, data.map(function(val){return parseFloat(val);})));
maxDownload = Math.round(Math.max.apply(null, data.map(function(val){return parseFloat(val);})));
avgDownload = Math.round(data.reduce(function(sum,val){return sum += parseFloat(val);},0)/data.length);
stddiffDownload = Math.round(Math.sqrt(data.map(function(val){return parseFloat(val) - avgDownload;}).map(function(val){return val * val;}).reduce(function(sum,val){return sum += val;},0)/data.length));

stddiff is the diff from the average to a smoothed min/Max values

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

Successfully merging a pull request may close this issue.

3 participants