Skip to main content

stddevSamp

Introduced in: v1.1.0 Returns the sample standard deviation of a numeric data sequence. The result is equal to the square root of varSamp.
This function uses a numerically unstable algorithm. If you need numerical stability in calculations, use the stddevSampStable function. It works slower but provides a lower computational error.
Syntax
Aliases: STDDEV_SAMP, STDDEV Arguments Returned value Returns the square root of sample variance of x. Float64 Examples Computing sample standard deviation
Query
Response
Last modified on July 2, 2026