LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
moment_joint_binomial_from_negbinomial.m
1function b = moment_joint_binomial_from_negbinomial(bm)
2% b = moment_joint_binomial_from_negbinomial(bm)
3%
4% Converts joint negative-binomial moments into joint binomial moments, by
5% the signed shifted binomial transform along every dimension. Inverse of
6% moment_joint_negbinomial_from_binomial.
7%
8% Input:
9% bm: array of size (n_1+1)x...x(n_d+1) holding the joint negative-binomial
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% b: array of the same size holding the joint binomial moments
15%
16% Reference:
17% A. Heindl and A. van de Liefvoort. Moment conversions for discrete
18% distributions. PMCCS, 2003.
19
20b = moment_jointtrans(bm, 'binomial_from_negbinomial');
21end