Mean

Mean[list]

gives the statistical mean of the elements in list.

Mean[dist]

gives the mean of the distribution dist.

Details

  • Mean is also known as an expectation or average.
  • Mean is a location measure for data or distributions.
  • Mean[list] is equivalent to Total[list]/Length[list].
  • Mean handles both numerical and symbolic data.
  • Mean[{{x1,y1,},{x2,y2,},}] gives {Mean[{x1,x2,}],Mean[{y1,y2,}],}.
  • Mean[dist] is equivalent to Expectation[x,xdist].

Examples

open all close all

Basic Examples  (4)

Mean of numeric values:

In[1]:=
Click for copyable input
Out[1]=

Mean of symbolic values:

In[1]:=
Click for copyable input
Out[1]=

Means of elements in each column:

In[1]:=
Click for copyable input
Out[1]=

Mean of a parametric distribution:

In[1]:=
Click for copyable input
Out[1]=

Scope  (14)

Applications  (11)

Properties & Relations  (15)

Possible Issues  (1)

Neat Examples  (1)

Introduced in 2003
(5.0)
|
Updated in 2014
(10.0)