Skip to content

spearmanCorrelation

spearmanCorrelation(x, y): any

Defined in: ds/src/stats/tests.js:778

Spearman rank correlation coefficient with significance test

Parameters

x

number[]

First variable

y

number[]

Second variable

Returns

any

{rho, pValue, df}