Difference between revisions of "Documentation/How Tos/Calc: CORREL function"
From Apache OpenOffice Wiki
< Documentation | How Tos
m (→Syntax:) |
m |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | __NOTOC__ | + | {{DISPLAYTITLE:CORREL function}} |
+ | {{Documentation/CalcFunc StatisticalTOC | ||
+ | |ShowPrevNext=block | ||
+ | |PrevPage=Documentation/How_Tos/Calc:_ZTEST_function | ||
+ | |NextPage=Documentation/How_Tos/Calc:_COVAR_function | ||
+ | }}__NOTOC__ | ||
== CORREL == | == CORREL == | ||
Line 5: | Line 10: | ||
=== Syntax: === | === Syntax: === | ||
− | <tt>'''CORREL( | + | <tt>'''CORREL(x; y)'''</tt> |
− | : where <tt>''' | + | : 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]] | ||
+ | :: where [[Image:Calc_xymean.png]] are the averages of <i>x</i>,<i>y</i>. | ||
: <i>Advanced topic:</i> | : <i>Advanced topic:</i> | ||
− | : The parameters <tt>''' | + | : The parameters <tt>'''x'''</tt> and <tt>'''y'''</tt> are always evaluated as [[Documentation/How_Tos/Using Arrays|array formulas]]. |
=== Example: === | === Example: === | ||
<tt>'''CORREL(A1:A30; B1:B30)'''</tt> | <tt>'''CORREL(A1:A30; B1:B30)'''</tt> | ||
: returns the Pearson correlation coefficient for the two sets of data in A1:A30 and B1:B30. | : returns the Pearson correlation coefficient for the two sets of data in A1:A30 and B1:B30. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Issues: === | === Issues: === | ||
* <tt>'''CORREL'''</tt> is identical to <tt>'''PEARSON'''</tt>. | * <tt>'''CORREL'''</tt> is identical to <tt>'''PEARSON'''</tt>. | ||
+ | |||
+ | |||
+ | {{SeeAlso|EN| | ||
+ | * [[Documentation/How_Tos/Calc: PEARSON function|PEARSON]] | ||
+ | * [[Documentation/How_Tos/Calc: RSQ function|RSQ]] | ||
+ | |||
+ | * [[Documentation/How_Tos/Calc: Statistical functions|Statistical functions]] | ||
+ | |||
+ | * [[Documentation/How_Tos/Calc: Functions listed alphabetically|Functions listed alphabetically]] | ||
+ | * [[Documentation/How_Tos/Calc: Functions listed by category|Functions listed by category]]}} | ||
+ | [[Category: Documentation/Reference/Calc/Statistical functions]] |