Difference between revisions of "Variance Command"

From GeoGebra Manual
Jump to: navigation, search
Line 1: Line 1:
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
 
{{command|statistics}}
 
{{command|statistics}}
; Variance[List of Numbers]: Calculates the variance of list elements.
+
;Variance[ <List of Numbers> ]
{{example|1=<code>Variance[{1,2,3}]</code> yields ''0.67''.}}
+
:Calculates the variance of list elements.
 +
{{example|1=<div><code><nowiki>Variance[{1, 2, 3}]</nowiki></code> yields ''0.67''.</div>}}
 
==CAS Syntax==
 
==CAS Syntax==
; Variance[List of Numbers]: Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
+
;Variance[ <List of Numbers> ]
{{example|1=<code>Variance[{1,2,a}]</code> yields'' <math>\frac{2(-3a+3)}{9}</math>''.}}
+
:Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
 +
{{example|1=<div><code><nowiki>Variance[{1, 2, a}]</nowiki></code> yields ''<math>\frac{2(a^{2} - 3a + 3)}{9}</math>''.</div>}}

Revision as of 13:19, 6 September 2011


Variance[ <List of Numbers> ]
Calculates the variance of list elements.
Example:
Variance[{1, 2, 3}] yields 0.67.

CAS Syntax

Variance[ <List of Numbers> ]
Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance.
Example:
Variance[{1, 2, a}] yields \frac{2(a^{2} - 3a + 3)}{9}.
© 2024 International GeoGebra Institute