Return correlation coefficients.
Please refer to the documentation for cov for more detail. The relationship between the correlation coefficient matrix, P, and the covariance matrix, C, is
P_{ij} = \frac{ C_{ij} } { \sqrt{ C_{ii} * C_{jj} } }
The values of P are between -1 and 1.
| Parameters: | m : array_like
y : array_like, optional
rowvar : int, optional
bias : int, optional
|
|---|---|
| Returns: | out : ndarray
|
See also