Difference between revisions of "Variance Command"
From GeoGebra Manual
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 ) |
(command syntax: changed [ ] into ( )) |
||
(7 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version= | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}} |
− | {{command|cas=true|statistics}} | + | ;Variance( <List of Raw Data> ) |
− | ;Variance | ||
:Calculates the variance of list elements. | :Calculates the variance of list elements. | ||
− | :{{example|1= | + | :{{example|1=<code><nowiki>Variance({1, 2, 3})</nowiki></code> yields ''0.67''.}} |
− | ;Variance | + | ;Variance( <List of Numbers>, <List of Frequencies> ) |
− | :{{example|1= | + | :Calculates the variance of list elements, considering the frequencies. |
+ | :{{example|1=<code><nowiki>Variance({1, 2, 3} , {1, 2, 1})</nowiki></code> yields ''0.5''.}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
− | ;Variance | + | ;Variance( <List of Numbers> ) |
:Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance. | :Calculates the variance of list elements. If the list contains undefined variables, it yields a formula for the variance. | ||
− | :{{ | + | :{{example|1=<code><nowiki>Variance({1, 2, a})</nowiki></code> yields ''<math>\frac{2}{9} a^{2} - \frac{2}{3} a + \frac{2}{3}</math>''. |
− | |||
− | |||
}} | }} |
Latest revision as of 10:27, 12 October 2017
- Variance( <List of Raw Data> )
- Calculates the variance of list elements.
- Example:
Variance({1, 2, 3})
yields 0.67.
- Variance( <List of Numbers>, <List of Frequencies> )
- Calculates the variance of list elements, considering the frequencies.
- Example:
Variance({1, 2, 3} , {1, 2, 1})
yields 0.5.
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}{9} a^{2} - \frac{2}{3} a + \frac{2}{3}.