Moment

Moment[list,r]
gives the r^(th) sample moment of the elements in list.

Moment[dist,r]
gives the r^(th) moment of the symbolic distribution dist.

Moment[,{r1,r2,}]
gives the {r1,r2,}^(th) multivariate moment.

Moment[r]
represents the r^(th) formal moment.

DetailsDetails

  • Moment is also known as a raw moment.
  • Moment handles both numerical and symbolic data.
  • For the list {x1,x2,,xn}, the r^(th) moment is given by .
  • Moment[{{x1,y1,},,{xn,yn,}},{rx,ry,}] gives .
  • Moment works with SparseArray objects.
  • For a symbolic distribution dist, the r^(th) moment is given by Expectation[xr,xdist].
  • For a multivariate symbolic distribution dist, the {r1,r2,}^(th) moment is given by Expectation[x1r1x2r2,{x1,x2,}dist].
  • Moment[r] can be used in functions such as MomentConvert and MomentEvaluate, etc.

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Compute moments from data:

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

Use symbolic data:

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

Compute the second moment of a univariate distribution:

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

The moment for a multivariate distribution:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2010
(8.0)
Translate this page: