Difference between revisions of "CorrelationCoefficient Command"

From GeoGebra Manual
Jump to: navigation, search
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.2}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>
 
{{command|statistics}}
 
{{command|statistics}}
 
; CorrelationCoefficient[ <List of x-coordinates>, <List of y-coordinates> ]: Calculates the product moment correlation coefficient using the given ''x''- and ''y''-coordinates.
 
; CorrelationCoefficient[ <List of x-coordinates>, <List of y-coordinates> ]: Calculates the product moment correlation coefficient using the given ''x''- and ''y''-coordinates.

Revision as of 12:45, 21 July 2015



CorrelationCoefficient[ <List of x-coordinates>, <List of y-coordinates> ]
Calculates the product moment correlation coefficient using the given x- and y-coordinates.
Example:
CorrelationCoefficient[{1, 3, 2, 1, 5, 2}, {1, 6, 4, 3, 3, 2}] yields 0.36.
CorrelationCoefficient[ <List of Points> ]
Calculates the product moment correlation coefficient using the coordinates of the given points.
Example:
CorrelationCoefficient[{(1, 1), (3, 6), (2, 4), (1, 3), (5, 3), (2, 2)}] yields 0.36.
© 2024 International GeoGebra Institute