Skip to main content

Pearson

Pearson Function​

Calculates the Pearson product moment correlation coefficient, r, a dimensionless index that ranges from -1.0 to 1.0 inclusive and reflects the extent of a linear relationship between two data sets. The two vectors given as input must be equal in length (that is, must have the same number of arguments).

Syntax​

Pearson(vector IndependentValues, vector DependentValues)

Arguments​

ArgumentDescription
vector IndependentValuesAny series of numerical values
vector DependentValuesAny series of numerical values having the same number of arguments as the IndependentValues vector

Examples:

Pearson([FusionTestTable.RealColumn],[FusionTestTable.DoubleColumn])

Returns the pearson co-efficient for the given column.