.FloatArrayStat.Variance (gb.gsl)

Function Variance ( [ Weight As Float[], Mean As Float, Fixed As Boolean ] ) As Float

Return the estimated, or sample, variance of the array data.
  • If Weight is specified, the function returns the variance of the weighted data.

  • If Mean is not specified, then the mean is computed from the data.

  • If Fixed is TRUE, then an unbiased estimate of the variance is computed instead.

See also