1function b = moment_joint_binomial_from_factorial(f)
2% b = moment_joint_binomial_from_factorial(f)
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!).
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
13% b: array of the same size holding the joint binomial moments
16% A. Heindl and A. van de Liefvoort. Moment conversions for discrete
17% distributions. PMCCS, 2003.
19b = moment_jointtrans(f, 'binomial_from_factorial');