Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python spearman correlation

import scipy
# x and y are numpy array with shape (N,)
coeff, _ = scipy.stats.spearmanr(x, y)
 
PREVIOUS NEXT
Tagged: #python #spearman #correlation
ADD COMMENT
Topic
Name
3+5 =