Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

correlation python

import numpy as np
import scipy.stats
x = np.arange(15, 20)
y = np.arange(5, 10)
stat, p = scipy.stats.pearsonr(x, y) 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #correlation #python
ADD COMMENT
Topic
Name
6+4 =