The STDDEV function computes the standard deviation of an n-element vector.
Result = STDDEV( X [, /DOUBLE] [, /NAN] )
The result is the standard deviation of the given vector.
A numeric vector.
If this keyword is set, computations are performed in double precision arithmetic.
Set this keyword to cause the routine to check for occurrences of the IEEE floating-point values NaN or Infinity in the input data. Elements with the value NaN or Infinity are treated as missing data. (See Special Floating-Point Values for more information on IEEE floating-point values.)
; Define the n-element vector of sample data: x = [65, 63, 67, 64, 68, 62, 70, 66, 68, 67, 69, 71, 66, 65, 70] ; Compute the standard deviation: result = STDDEV(x) PRINT, result
IDL prints:
2.65832
Introduced: 5.1
KURTOSIS, MEAN, MEANABSDEV, MOMENT, SKEWNESS, VARIANCE