sample-std ( seq -- x )
Statistics

Prev:population-var ( seq -- x )
Next:sample-ste ( seq -- x )


Vocabulary
math.statistics

Inputs
seqa sequence


Outputs
xa 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