Documentation/How Tos/Calc: CORREL function

From Apache OpenOffice Wiki
Jump to: navigation, search


CORREL

Returns the Pearson correlation coefficient of two sets of data.

Syntax:

CORREL(x; y)

where x and y are ranges or arrays containing the two sets of data.
Any text or empty entries are ignored.
CORREL calculates:
Calc pearson equation.png
where Calc xymean.png are the averages of x,y.
Advanced topic:
The parameters x and y are always evaluated as array formulas.

Example:

CORREL(A1:A30; B1:B30)

returns the Pearson correlation coefficient for the two sets of data in A1:A30 and B1:B30.

Issues:

  • CORREL is identical to PEARSON.




See Also
Retrieved from "https://wiki.openoffice.org/w/index.php?title=Documentation/How_Tos/Calc:_CORREL_function&oldid=243555"
Views
Personal tools
Navigation
Print/export
Tools