vega / datalib

JavaScript data utility library.
http://vega.github.io/datalib/
BSD 3-Clause "New" or "Revised" License
732 stars 133 forks source link

Support standard error #71

Closed kanitw closed 8 years ago

kanitw commented 8 years ago

@ayush29feb You might wanna look at this folder: https://github.com/vega/datalib/tree/master/src/aggregate to add standard error.

domoritz commented 8 years ago

Why do we need this? Isn't it just a combination of stdev and count?

kanitw commented 8 years ago

Yes, but you want to support that as a part of aggregate transform without introducing macro (to convert stderr to a part of aggregate and formula transforms, the natural place to support that is here.

If you use this argument, mean is a combination of sum and count as well.

jheer commented 8 years ago

Added in aba8d3f443b94087173eed6050c6ba2aaeb14747.

kanitw commented 8 years ago

Thank you @jheer.