numpy.ma.corrcoef(x, y=None, rowvar=True, bias=, allow_masked=True, ddof=)
[source]
Return Pearson product-moment correlation coefficients.
Except for the handling of missing data this function does the same as numpy.corrcoef
. For more details and examples, see numpy.corrcoef
.
Parameters: |
x : array_like A 1-D or 2-D array containing multiple variables and observations. Each row of y : array_like, optional An additional set of variables and observations. rowvar : bool, optional If bias : _NoValue, optional Has no effect, do not use. Deprecated since version 1.10.0. allow_masked : bool, optional If True, masked values are propagated pair-wise: if a value is masked in ddof : _NoValue, optional Has no effect, do not use. Deprecated since version 1.10.0. |
---|
See also
numpy.corrcoef
cov
This function accepts but discards arguments bias
and ddof
. This is for backwards compatibility with previous versions of this function. These arguments had no effect on the return values of the function and can be safely ignored in this and previous versions of numpy.
© 2008–2017 NumPy Developers
Licensed under the NumPy License.
https://docs.scipy.org/doc/numpy-1.12.0/reference/generated/numpy.ma.corrcoef.html