Handbook
Glossary
var-ddof ( seq n -- x )
Statistics
Prev:
ste-ddof ( seq n -- x )
Next:
range ( seq -- x )
Vocabulary
math
.
statistics
Inputs
seq
an
object
n
an
object
Outputs
x
an
object
See also
population-var
,
sample-var
Definition
USING:
kernel
math
sequences
;
IN:
math.statistics
:
var-ddof
( seq n -- x )
2dup
[
length
]
dip
-
0
<=
[
2drop
0
]
[
[
[
sum-of-squared-errors
]
[
length
]
bi
]
dip
-
/
]
if
;
inline