Difference between revisions of "RSquare Command"
From GeoGebra Manual
m (1 revision) |
(add links for SSE and Syy) |
||
(18 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|statistics}} | |
− | <noinclude>{{Manual Page|version= | + | ;RSquare( <List of Points>, <Function> ) |
− | {{command|statistics}} | + | :Calculates the [[w:Coefficient of determination|coefficient of determination]] ''R² = 1 - [[SumSquaredErrors Command|SSE]] / [[Syy Command|Syy]]'', between the ''y''-values of the points in the list and the function values of the ''x''-values in the list. |
− | ;RSquare | + | :{{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>}} |
− | :{{ |
Latest revision as of 13:09, 12 February 2018
- 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.