Object Set Aggregation

I’d like Object Set Aggregations to support Standard Deviation so it can be shown on a Metric Card in Workshop.

b116eb59-f2ec-43f3-b32d-04b878db47db

Example: Standard deviation of the names (x-axis) by count

Had the same issue! Something that worked for me is: (1) using the shortcut formula below, (2) the Workshop variable transformations below to get the square of the std dev (requires x and x^2 to be two columns in the data), and (3) a custom Exponent function from typescript to take the square root (also below).

(1)


Source: https://en.wikipedia.org/wiki/Standard_deviation#Rapid_calculation_methods

(2)
std dev

(3)
Raise a number to an exponent

@Function()
public pow(x: Double, y: Double): Double {
    return Math.pow(x, y);
}
2 Likes

This is on Workshop’s roadmap to complete before the end of the year - stay tuned for updates.

2 Likes

Thank you both for the support!

1 Like

This feature has been released! Workshop now supports percentile, median, standard deviation and variance aggregations.

@tdyck

Found this thread, and +2 to the engineers who added mean and median! While this is still fresh, may I please request mode(s) be added to the aggregation metrics? I needed it recently, was unable to figure it out in TypeScript, and had to make an extra object type just for modes.