Reference/dev

From Kx Wiki
Revision as of 03:34, 11 November 2009 by Chris Burke (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

dev (standard deviation function)

Computes the standard deviation of a list (as the square root of the variance).

dev applies to all numeric data types and throws an error with temporal types, char and sym.

Syntax

q)r:dev X

Example

q)dev 10 343 232 55
134.3484
q)select dev price by sym from trade

See also


For a complete list of functions, see the kdb+ Function Reference.

Personal tools
Namespaces
Variants
Actions
Navigation
Print/export
Toolbox