sample-ste ( seq -- x )
Statistics

Prev:sample-std ( seq -- x )
Next:sample-var ( seq -- x )


Vocabulary
math.statistics

Inputs
seqa sequence


Outputs
xa non-negative real number


Word description
Computes the standard error of the mean for seq. It's defined as the standard deviation divided by the square root of the length of the sequence, and measures uncertainty associated with the estimate of the mean.

Examples
USING: math.statistics prettyprint ; { -2 2 } sample-ste .
2.0


See also
ste-ddof, population-ste

Definition