# Difference between revisions of "SampleSD Command"

From GeoGebra Manual

Line 5: | Line 5: | ||

:{{example|1=<div><code><nowiki>SampleSD[{1, 2, 3}]</nowiki></code> yields ''1''.</div>}} | :{{example|1=<div><code><nowiki>SampleSD[{1, 2, 3}]</nowiki></code> yields ''1''.</div>}} | ||

− | ;SampleSD[ <List of Numbers>,<List of Frequencies> ] | + | ;SampleSD[ <List of Numbers>, <List of Frequencies> ] |

+ | :Returns the standard deviation of the sample of numbers having the given frequencies. | ||

:{{example|1=<div><code><nowiki>SampleSD[{1, 2, 3, 4, 4},{1, 1, 1, 2}]</nowiki></code> yields ''1.08''.</div>}} | :{{example|1=<div><code><nowiki>SampleSD[{1, 2, 3, 4, 4},{1, 1, 1, 2}]</nowiki></code> yields ''1.08''.</div>}} | ||

## Revision as of 12:10, 22 December 2012

- SampleSD[ <List of Numbers> ]
- Returns sample standard deviation of given list of numbers.
**Example:**`SampleSD[{1, 2, 3}]`

yields*1*.

- SampleSD[ <List of Numbers>, <List of Frequencies> ]
- Returns the standard deviation of the sample of numbers having the given frequencies.
**Example:**`SampleSD[{1, 2, 3, 4, 4},{1, 1, 1, 2}]`

yields*1.08*.

## CAS Syntax

- SampleSD[ <List of Numbers> ]
- Returns sample standard deviation of given list of numbers. If the list contains undefined variables, it yields a formula for the sample standard deviation.
**Example:**`SampleSD[{1, 2, a}]`

yields \frac{\sqrt{a²-3a+3}}{\sqrt{3}}.