variance
Computes the variance of all grouped values.
variance(xs:list) -> float
Description
The variance
function returns the variance of all numeric values in xs
.
xs: list
The values to evaluate.
Examples
Compute the variance of values
from [
{x: 1},
{x: 2},
{x: 3},
]
summarize variance_value=variance(x)
{variance_value: 0.666}