variance

abstract val variance: Double

Gets the sample variance of the observations.

Return

A double representing the computed variance or Double.NaN if 1 or fewer observations.