Statistical Primitives

Primitive Description
count Number of elements in a list
sum Sum of all elements in a list
prod Product of all numbers in a list
avg Average of all numbers in a list
std Standard deviation of all numbers in a list
variance Variance of all numbers in a list
correlation Correlation coefficient for a pair of data sets
min Lowest element in a list
max Highest element in a list
med Median element in a list
pct Element at a specific percentile position in a list after sorting
bin Sorts data into groups and counts the number of items in each group