TX Sheet Control

PEARSON Function

Function

Return the Pearson product moment correlation coefficient of two data sets, a value from -1 to 1 that measures how linearly they are related. known_y and known_x are two arrays or ranges with the same number of values; PEARSON takes two arguments and returns the same result as CORREL. Data sets of different lengths return #N/A, and a data set whose values are all equal returns #DIV/0!.

Syntax

PEARSON(known_y, known_x, x)

Category: Statistics. Minimum arguments: 2. Maximum arguments: 2.

Available for supported offline calculation.

Examples

=PEARSON({1,2,3},{2,4,6})

The formula returns 1, because the second data set is exactly twice the first.

Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.

See Also