Difference between revisions of "Documentation/How Tos/Calc: CORREL function"

From Apache OpenOffice Wiki
Jump to: navigation, search
(See also:)
m (Syntax:)
Line 12: Line 12:
  
 
: <i>Advanced topic:</i>
 
: <i>Advanced topic:</i>
: The parameters <tt>'''independent'''</tt> and <tt>'''dependent'''</tt> are always evaluated as array formulas.
+
: The parameters <tt>'''independent'''</tt> and <tt>'''dependent'''</tt> are always evaluated as [[Documentation/How_Tos/Using Arrays|array formulas]].
  
 
=== Example: ===
 
=== Example: ===

Revision as of 18:05, 1 June 2008


CORREL

Returns the Pearson correlation coefficient of two sets of data.

Syntax:

CORREL(independent; dependent)

where independent and dependent are ranges or arrays containing the first and second sets of data.
Any text or empty entries are ignored.
Advanced topic:
The parameters independent and dependent 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.

See also:

PEARSON

Statistical functions

Issues:

  • CORREL is identical to PEARSON.
Personal tools