Navigation :
Envision Tutorials
Envision Explanation
Envision How-To Guides
Lokad Platform
Envision Reference
- Glossary
- Platform overview
- List of icons
-
_
-
A-B-C
-
D-E-F
-
G-H-I
-
J-K-L
-
M-N-O
-
P-Q-R
-
S-T-U
-- Selectors
-- stylecode
-- same
-- sample
-- sanitize
-- scalar
-- scan
-- scatter
-- schema
-- sequenceUrl
-- show
-- similarity
-- sin
--
single (disambiguation)
-- slicepicker
-- slices
-- sliceSearchUrl
-- slicetree
-- sliceUrl
-- small
-- smooth
-- smudge
-- solve.moq
-- sort
-- span
-- spark
-- sqrt
-- startsWith
-- stdev
-- stdevp
-- stockrwd.c
-- stockrwd.m
-- stockrwd.s
-- strlen
--
substr
-- sum
-- summary
-- syncUrl
-- table
-- tabs
-- tanh
-- taskUrl
-- text
-- then
-- today
-- transform
-- treemap
-- trim
-- true
-- truncate
-- tryParseDate
-- tryParseNumber
-- tryParseTime
-- tryParseWeek
-- tuple
--
uniform
-- uniform.left
-- uniform.right
--
union (disambiguation)
-- upload
-- uppercase
-- URL
-
V-W-X
-
Y-Z
Envision Gallery
Envision Specifications
Envision Language
Legacy
stdev
stdev, function
def nosort process stdev(a: number): number
Returns the sample standard deviation of a (denominator N - 1).
Example
table T = with
[| as A, as B |]
[| 0, "a" |]
[| 0, "a" |]
[| 0, "b" |]
[| 1, "b" |]
[| 2, "c" |]
table G[gdim] = by T.B
show table "Std by group" with
gdim
stdev(T.A) as "Std"
group by gdim
This outputs the following table:
gdim
Std
a
0
b
0.7071068
c
0
The aggregator returns 0 on empty groups.
See also