time-to-botec/js/node_modules/@stdlib/stats/iter/variance/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

27 lines
469 B
Plaintext

{{alias}}( iterator[, mean] )
Computes an unbiased sample variance over all iterated values.
Parameters
----------
iterator: Object
Input iterator.
mean: number (optional)
Known mean.
Returns
-------
out: number|null
Unbiased sample variance.
Examples
--------
> var arr = {{alias:@stdlib/array/to-iterator}}( [ 2.0, -5.0 ] );
> var s2 = {{alias}}( arr )
24.5
See Also
--------