The variance node

Compute the data's variance.

See the stats node

Example

|variance()
.field('temperature') 

Parameters

all statistics nodes have the following parameters

Parameter Description Default
field( string ) name of the field used for computation
as( string ) name for the field for output values defaults to the name of the stats-node