math variance
for math> math variance {flags}
--sample, -s
: calculate sample variance (i.e. using N-1 as the denominator)input | output |
---|---|
list<number> | number |
Get the variance of a list of numbers
> [12345] |math variance
2
Get the sample variance of a list of numbers
> [12345] |math variance-s
2.5
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/math_variance.html