Difference between revisions of "SD Command"
From GeoGebra Manual
Line 4: | Line 4: | ||
:Calculates the standard deviation of the numbers in the list. | :Calculates the standard deviation of the numbers in the list. | ||
:{{example|1=<div><code><nowiki>SD[{1, 2, 3, 4, 5}]</nowiki></code> yields ''1,41''.</div>}} | :{{example|1=<div><code><nowiki>SD[{1, 2, 3, 4, 5}]</nowiki></code> yields ''1,41''.</div>}} | ||
+ | ;SD[ <List of Numbers>, <List of Frequencies> ]: Calculates the weighted standard deviation of the given numbers. | ||
+ | :{{example|1=<div><code><nowiki>SD[{20, 40, 41, 42, 40, 54}, {20, 6, 4, 5, 2} ]</nowiki></code> yields ''5.96''.</div>}} | ||
==CAS Syntax== | ==CAS Syntax== | ||
;SD[ <List of Numbers> ] | ;SD[ <List of Numbers> ] | ||
− | + | ;SD[ <List of Numbers>, <List of Frequencies> ] | |
:{{example|1=<div><code><nowiki>SD[{1, 2, 3, 4, 5}]</nowiki></code> yields <math>\sqrt{2}</math>.</div>}} | :{{example|1=<div><code><nowiki>SD[{1, 2, 3, 4, 5}]</nowiki></code> yields <math>\sqrt{2}</math>.</div>}} | ||
− | {{note| 1=<div>See also [[Mean Command]].</div>}} | + | :{{note| 1=<div>See also [[Mean Command]].</div>}} |
− |
Revision as of 01:25, 29 January 2013
- SD[ <List of Numbers> ]
- Calculates the standard deviation of the numbers in the list.
- Example:
SD[{1, 2, 3, 4, 5}]
yields 1,41.
- SD[ <List of Numbers>, <List of Frequencies> ]
- Calculates the weighted standard deviation of the given numbers.
- Example:
SD[{20, 40, 41, 42, 40, 54}, {20, 6, 4, 5, 2} ]
yields 5.96.
CAS Syntax
- SD[ <List of Numbers> ]
- SD[ <List of Numbers>, <List of Frequencies> ]
- Example:
SD[{1, 2, 3, 4, 5}]
yields \sqrt{2}.
- Note:See also Mean Command.