Handbook
Glossary
correlation ( regress -- n )
Vocabulary
math
.
statistics
.
running
Inputs
regress
an
object
Outputs
n
an
object
Definition
USING:
accessors
combinators
math
;
IN:
math.statistics.running
:
correlation
( regress -- n )
{
[
xy>>
]
[
x-stats>>
stddev
]
[
y-stats>>
stddev
*
]
[
n>>
*
/
]
}
cleave
;