Lines Matching refs:correlation
83 correlation Pearson's correlation coefficient for two variables.
87 Calculate covariance, Pearson's correlation, and simple linear regression
94 >>> correlation(x, y) #doctest: +ELLIPSIS
110 'correlation',
991 def correlation(x, y, /):
992 """Pearson's correlation coefficient
994 Return the Pearson's correlation coefficient for two inputs. Pearson's
995 correlation coefficient *r* takes values between -1 and +1. It measures the
1002 >>> correlation(x, x)
1004 >>> correlation(x, y)
1010 raise StatisticsError('correlation requires that both inputs have same number of data points')
1012 raise StatisticsError('correlation requires at least two data points')