LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
moment_joint_factcumulant_from_factorial.m
1function kappa = moment_joint_factcumulant_from_factorial(f)
2% kappa = moment_joint_factcumulant_from_factorial(f)
3%
4% Converts the joint factorial moments of a discrete random vector into its
5% joint factorial cumulants, the coefficients of the logarithm of the joint
6% probability generating function expanded about z = (1,...,1),
7%
8% log E[prod_j z_j^(N_j)] = sum_(a ~= 0) kappa_a prod_j (z_j-1)^(a_j) / a_j!
9%
10% They stand to the joint factorial moments exactly as the joint cumulants
11% stand to the joint power moments, so the same recursion applies. For a
12% multivariate Poisson vector with independent components every joint factorial
13% cumulant of order two or more vanishes; for the per-class counts of a marked
14% MAP they measure the departure from independent Poisson marking.
15%
16% Input:
17% f: array of size (n_1+1)x...x(n_d+1) holding the joint factorial moments,
18% with element 1 equal to 1
19%
20% Output:
21% kappa: array of the same size holding the joint factorial cumulants,
22% element 1 being 0
23%
24% Example:
25% kappa = moment_joint_factcumulant_from_factorial(f);
26%
27% Reference:
28% V. P. Leonov and A. N. Shiryaev. On a method of calculation of
29% semi-invariants. Theory of Probability and its Applications,
30% 4(3):319-329, 1959.
31
32kappa = moment_joint_cumulant_from_raw(f);
33end