ajdmom.utils

Utilities for combination and normal distribution

Functions

cmnorm(n)

central moment of Normal distribution

comb(n, ns)

number of occurrences for an exact combination

dbfactorial(n)

double factorial \(n!!\)

fZ(l, o, k, s, J)

function \(f_{Z_t}(\boldsymbol{l},\boldsymbol{o})\) as defined in (2)

fZ_dp(l, o, k, s, J)

Efficiently evaluate the function f_{Z_t}(l, o) using Dynamic Programming.

multilevel_comb(n, m[, show])

get the indexes of multiple level combination

multilevel_index(n, m[, show])

get the indexes of multiple summation

simplify_rho(poly, n)

expand the term 'sqrt(1-rho^2)'