PearsonCorrelation
Computes Pearson product-moment correlation coefficient. The array must be not empty.
Syntax
C++
Python
def PearsonCorrelation( inValues1: list[float], inValues2: list[float], /, *, inMinStdDev: float = 0.001 ) -> outCorrelation: float
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inValues1 | list[float] | Array of values of the first variable | ||
![]() |
inValues2 | list[float] | Array of values of the second variable | ||
![]() |
inMinStdDev | float | 0.0 - ![]() |
0.001 | Minimum value of standard deviation for correlation to be non-zero |
![]() |
outCorrelation | float | Computed correlation coefficient between two variables |



