LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
moment_joint_binomial_from_factorial.m
1function b = moment_joint_binomial_from_factorial(f)
2% b = moment_joint_binomial_from_factorial(f)
3%
4% Converts joint factorial moments into the joint binomial moments
5% b_(i_1,...,i_d) = E[prod_j nchoosek(N_j,i_j)] = f_(i) / prod_j (i_j!).
6%
7% Input:
8% f: array of size (n_1+1)x...x(n_d+1) holding the joint factorial
9% moments, element (i_1+1,...,i_d+1) being the moment of
10% multi-order (i_1,...,i_d) and element 1 being 1
11%
12% Output:
13% b: array of the same size holding the joint binomial moments
14%
15% Reference:
16% A. Heindl and A. van de Liefvoort. Moment conversions for discrete
17% distributions. PMCCS, 2003.
18
19b = moment_jointtrans(f, 'binomial_from_factorial');
20end