Mean

Mean[list]
gives the statistical mean of the elements in list.

Mean[dist]
gives the mean of the symbolic distribution dist.

DetailsDetails

  • 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].

ExamplesExamplesopen allclose all

Basic Examples  (4)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 symbolic lognormal distribution:

In[1]:=
Click for copyable input
Out[1]=
Introduced in 2003
(5.0)
| Updated in 2014
(10.0)