Difference between revisions of "Mean Command"

From GeoGebra Manual
Jump to: navigation, search
 
(17 intermediate revisions by 10 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|statistics}}
{{command|statistics}}
+
;Mean( &lt;List of Raw Data> )
; Mean[List of Numbers]: Calculates the mean of the list elements.
+
:Calculates the arithmetic mean of list elements.
; MeanX[List of Points]: Calculates the mean of the ''x''-coordinates of the points in the list.
+
:{{example|1=<div>
; MeanY[List of Points]: Calculates the mean of the ''y''-coordinates of the points in the list.
+
:* <code><nowiki>Mean({1, 2, 3, 2, 4, 1, 3, 2})</nowiki></code> yields ''a = 2.25'' and
==CAS Syntax==
+
:* <code><nowiki>Mean({1, 3, 5, 9, 13})</nowiki></code> yields ''a = 6.2''.</div>}}
In [[CAS View]] only the following syntax is supported:
+
; Mean( <List of Numbers>, <List of Frequencies> )
;Mean[List of Numbers]
+
:Calculates the weighted mean of the list elements.
:Calculates the arithmetic mean of the list elements.
+
:{{example|1=<div>
{{example|1=<div><code></nowiki>Mean[{1, 2, 3, 5, 44}]</nowiki></code> yields ''11''.</div>}}
+
:* <code><nowiki>Mean({1, 2, 3, 4}, {6, 1, 3, 6})</nowiki></code> yields ''a = 2.56'' and
 +
:* <code><nowiki>Mean({1, 2, 3, 4}, {1, 1, 3, 6})</nowiki></code> yields ''a = 3.27''.</div>}}
 +
 
 +
{{note| 1=<div>See also [[MeanX Command|MeanX]], [[MeanY Command|MeanY]], and [[SD Command|SD]] commands.</div>}}

Latest revision as of 08:53, 12 October 2017


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 and
  • Mean({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 and
  • Mean({1, 2, 3, 4}, {1, 1, 3, 6}) yields a = 3.27.


Note:
See also MeanX, MeanY, and SD commands.
© 2024 International GeoGebra Institute