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

From Apache OpenOffice Wiki
Jump to: navigation, search
m (Syntax:)
Line 5: Line 5:
  
 
=== Syntax: ===
 
=== Syntax: ===
<tt>'''CORREL(independent; dependent)'''</tt>
+
<tt>'''CORREL(x; y)'''</tt>
  
: where <tt>'''independent'''</tt> and <tt>'''dependent'''</tt> are ranges or arrays containing the first and second sets of data.
+
: where <tt>'''x'''</tt> and <tt>'''y'''</tt> are ranges or arrays containing the two sets of data.
  
 
: Any text or empty entries are ignored.
 
: Any text or empty entries are ignored.
 +
 +
:<tt>'''CORREL'''</tt> calculates:
 +
::[[Image:Calc_pearson_equation.png]]
  
 
: <i>Advanced topic:</i>
 
: <i>Advanced topic:</i>

Revision as of 05:57, 10 June 2008


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
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