Difference between revisions of "RSquare Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
 
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|statistics}}
 
{{command|statistics}}
;RSquare[ <List of Points>,<Function> ]
+
;RSquare[ <List of Points>, <Function> ]
:Calculates the [[w:Coefficient of determination|coefficient of determination]] R² = 1-SSE/Syy, between the y-values of the points in the list and the function values of the x-values in the list.
+
:Calculates the [[w:Coefficient of determination|coefficient of determination]] ''R² = 1-SSE/Syy'', between the ''y''-values of the points in the list and the function values of the ''x''-values in the list.
 +
:{{example|1=<div><code><nowiki>RSquare[{(-3, 2), (-2, 1), (-1, 3), (0, 4), (1, 2), (2, 4), (3, 3), (4, 5), (6, 4)}, 0.5x + 2.5]</nowiki></code> yields ''0.28''.</div>}}

Revision as of 09:38, 4 September 2013



RSquare[ <List of Points>, <Function> ]
Calculates the coefficient of determination R² = 1-SSE/Syy, between the y-values of the points in the list and the function values of the x-values in the list.
Example:
RSquare[{(-3, 2), (-2, 1), (-1, 3), (0, 4), (1, 2), (2, 4), (3, 3), (4, 5), (6, 4)}, 0.5x + 2.5] yields 0.28.
© 2021 International GeoGebra Institute