|
SOLUTIONS
|
Mathematica
>
Data Manipulation
>
Statistical Data Analysis
>
Probability & Statistics
>
Random Variables
>
Statistical Moments and Generating Functions
>
FactorialMoment
BUILT-IN MATHEMATICA SYMBOL
FactorialMoment
FactorialMoment[list, r]
gives the r
moment of the elements in the list.
FactorialMoment[dist, r]
gives the r
moment of the symbolic distribution dist.
FactorialMoment[r]
represents the r
factorial moment.
DetailsDetails
- FactorialMoment handles both numerical and symbolic data.
- For the list
, the 
factorial moment is given by
. - FactorialMoment[{{x1, y1, ...}, ..., {xn, yn, ...}}, {rx, ry, ...}] gives
. - FactorialMoment works with SparseArray objects.
- For a symbolic distribution dist, the r
factorial moment is given by Expectation[FactorialPower[x, r], x
dist]. - For a multivariate symbolic distribution dist, the

factorial moment is given by Expectation[FactorialPower[x1, r1]FactorialPower[x2, r2]..., {x1, x2, ...}
dist]. - FactorialMoment[r] can be used in such functions as MomentConvert and MomentEvaluate, etc.
ExamplesExamplesopen allclose all
Basic Examples (5)Basic Examples (5)
Compute factorial moment from data:
| In[1]:= |
| Out[1]= |
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
Compute the second factorial moment
of a discrete univariate distribution:
| In[1]:= |
| Out[1]= |
The second factorial moment of a continuous univariate distribution:
| In[1]:= |
| Out[1]= |
The factorial moment
for a multivariate distribution:
| In[1]:= |
| Out[1]= |
Find relation of formal factorial moment to raw moments:
| In[1]:= |
| Out[1]= |
Evaluate for a particular distribution:
| In[2]:= |
| Out[2]= |
| In[3]:= |
| Out[3]= |
New in 8
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
