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