Difference between revisions of "Mean Command"
From GeoGebra Manual
m |
Noel Lambert (talk | contribs) |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}} | ||
− | ;Mean[ | + | ;Mean[ <List of Raw Data> ] |
:Calculates the arithmetic mean of list elements. | :Calculates the arithmetic mean of list elements. | ||
:{{example|1=<div> | :{{example|1=<div> | ||
:* <code><nowiki>Mean[{1, 2, 3, 2, 4, 1, 3, 2}]</nowiki></code> yields ''a = 2.25'' and | :* <code><nowiki>Mean[{1, 2, 3, 2, 4, 1, 3, 2}]</nowiki></code> yields ''a = 2.25'' and | ||
:* <code><nowiki>Mean[{1, 3, 5, 9, 13}]</nowiki></code> yields ''a = 6.2''.</div>}} | :* <code><nowiki>Mean[{1, 3, 5, 9, 13}]</nowiki></code> yields ''a = 6.2''.</div>}} | ||
− | ; Mean[ | + | ; Mean[ <List of Numbers>, <List of Frequencies> ] |
:Calculates the weighted mean of the list elements. | :Calculates the weighted mean of the list elements. | ||
:{{example|1=<div> | :{{example|1=<div> | ||
Line 13: | Line 13: | ||
==CAS Syntax== | ==CAS Syntax== | ||
− | ;Mean[ | + | ;Mean[ <List of Numbers> ] |
:Calculates the arithmetic mean of the list elements. | :Calculates the arithmetic mean of the list elements. | ||
:{{example|1=<div><code><nowiki>Mean[{1, 2, 3, 5, 44}]</nowiki></code> yields ''a = 11''.</div>}} | :{{example|1=<div><code><nowiki>Mean[{1, 2, 3, 5, 44}]</nowiki></code> yields ''a = 11''.</div>}} | ||
− | ; Mean[ | + | ; Mean[ <List of Numbers>, <List of Frequencies> ] |
:Calculates the weighted mean of the list elements. | :Calculates the weighted mean of the list elements. | ||
:{{example|1=<div> | :{{example|1=<div> |
Revision as of 14:25, 22 August 2015
- Mean[ <List of Raw Data> ]
- Calculates the arithmetic mean of list elements.
- Example:
Mean[{1, 2, 3, 2, 4, 1, 3, 2}]
yields a = 2.25 andMean[{1, 3, 5, 9, 13}]
yields a = 6.2.
- Mean[ <List of Numbers>, <List of Frequencies> ]
- Calculates the weighted mean of the list elements.
- Example:
Mean[{1, 2, 3, 4}, {6, 1, 3, 6}]
yields a = 2.56 andMean[{1, 2, 3, 4}, {1, 1, 3, 6}]
yields a = 3.27.
CAS Syntax
- Mean[ <List of Numbers> ]
- Calculates the arithmetic mean of the list elements.
- Example:
Mean[{1, 2, 3, 5, 44}]
yields a = 11.
- Mean[ <List of Numbers>, <List of Frequencies> ]
- Calculates the weighted mean of the list elements.
- Example:
Mean[{1, 2, 3, 4}, {6, 1, 3, 6}]
yields a = 2.56 andMean[{1, 2, 3, 4}, {1, 1, 3, 6}]
yields a = 3.27.