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

From Apache OpenOffice Wiki
Jump to: navigation, search
(Initial content)
 
m
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{DISPLAYTITLE:PEARSON function}}
 +
{{Documentation/CalcFunc StatisticalTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/How_Tos/Calc:_INTERCEPT_function
 +
|NextPage=Documentation/How_Tos/Calc:_RSQ_function
 +
}}__NOTOC__
  
 
== PEARSON ==
 
== PEARSON ==
Line 5: Line 10:
  
 
=== Syntax: ===
 
=== Syntax: ===
<tt>'''PEARSON(independent; dependent)'''</tt>
+
<tt>'''PEARSON(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>'''PEARSON'''</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>'''independent'''</tt> and <tt>'''dependent'''</tt> are always evaluated as array formulas.
+
: The parameters <tt>'''x'''</tt> and <tt>'''y'''</tt> are always evaluated as [[Documentation/How_Tos/Using Arrays|array formulas]].
  
 
=== Example: ===
 
=== Example: ===
Line 18: Line 27:
 
: 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.
  
=== See also: ===
+
=== Issues: ===
[[Documentation/How_Tos/Calc: Statistical functions|'''Statistical functions''']]
+
* <tt>'''PEARSON'''</tt> is identical to <tt>'''CORREL'''</tt>.
 +
 
 +
{{SeeAlso|EN|
 +
* [[Documentation/How_Tos/Calc: CORREL function|CORREL]]
 +
* [[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]]

Latest revision as of 14:44, 2 February 2024



PEARSON

Returns the Pearson correlation coefficient of two sets of data.

Syntax:

PEARSON(x; y)

where x and y are ranges or arrays containing the two sets of data.
Any text or empty entries are ignored.
PEARSON 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:

PEARSON(A1:A30; B1:B30)

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

Issues:

  • PEARSON is identical to CORREL.



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