sample-std ( seq -- x ) (original) (raw)
Vocabulary
math.statistics
Inputs
seq | a sequence |
---|
Outputs
x | a non-negative real number |
---|
Word description
Computes the sample standard deviation of seq, which is the square root of the sample variance. It measures how widely spread the values in a sequence are about the mean for a random subset of a dataset.
Examples
USING: math.statistics prettyprint ; { 7 8 9 } sample-std .
1.0
See also
std-ddof, population-std
Definition
: sample-std ( seq -- x ) 1 std-ddof ; inline