Difference between revisions of "SampleVariance Command"
From GeoGebra Manual
m |
m (changed CAS syntax description) |
||
Line 10: | Line 10: | ||
− | + | {{hint|1= | |
− | + | If the list in the [[File:Menu view spreadsheet.svg|link=|16px]] [[CAS View]] contains undefined variables, this command yields a formula for the sample variance. | |
− | |||
: {{example|1=<div><code><nowiki>SampleVariance[ {x, y, z} ]</nowiki></code> yields <math>\frac{x² - x y - x z + y² - y z + z²}{3}</math>.</div>}} | : {{example|1=<div><code><nowiki>SampleVariance[ {x, y, z} ]</nowiki></code> yields <math>\frac{x² - x y - x z + y² - y z + z²}{3}</math>.</div>}} | ||
+ | }} |
Revision as of 13:02, 28 August 2015
- SampleVariance[ <List of Raw Data> ]
- Returns the sample variance of given list of numbers.
- Example:
SampleVariance[ {1, 2, 3, 4, 5} ]
yields a = 2.5.
- SampleVariance[ <List of Numbers>, <List of Frequencies> ]
- Returns the sample variance of given list of numbers considering the frequencies.
- Example:
SampleVariance[ {1, 2, 3, 4, 5}, {3, 2, 4, 4, 1} ]
yields a = 1.67.
Hint: If the list in the CAS View contains undefined variables, this command yields a formula for the sample variance.
- Example:
SampleVariance[ {x, y, z} ]
yields \frac{x² - x y - x z + y² - y z + z²}{3}.