Factorial Moments#

Calculating the factorial moments from the raw moments#

ctx.factorial_moments_from_rawmoments(x, cf)#

where ctx is dec, mpm, or gmp.

Calculates the factorial moments \(\mu'_{[r]}\) from the raw moments \(\mu'_r\)

\[\mu'_{[r]} = \sum_{j=0}^r s(r,j) \mu'_j,\]

where \(s(r,j)\) is the Stirling number of the first kind (see stirling1()).

Calculating the factorial moments from the cumulants#

ctx.factorial_moments_from_cumulants(x, cf)#

where ctx is dec, mpm, or gmp.

Calculates the factorial moments \(\mu'_{[r]}\) from the raw moments \(\mu'_r\)

\[\mu'_{[r]} = \sum_{j=0}^r s(r,j) \mu'_j,\]

where \(s(r,j)\) is the Stirling number of the first kind (see stirling1()).