public correlation(notnull other as NDArray<T>, ignoreNaN as Boolean = false) as Double
Pearson correlation of two equally-sized 1D series.
| Parameter | Description |
|---|---|
other | Second series of the same numeric type and length. |
ignoreNaN | Drop NaN pairs; otherwise propagate NaN. |
Correlation in [-1,1].
coefficient = x.correlation(y)