It computes the Kullback-Leibler divergence between two mixtures of multidimensional ISR distributions.
kullback(proportion1, pi1, mu1, proportion2, pi2, mu2, m)
Arguments
proportion1, proportion2: vectors (which sums to 1) containing the K mixture proportions.
pi1, pi2: matrices of size K*p, where K is the number of clusters and p the number of dimension, containing the probabilities of a good comparison of the model (dispersion parameters).
mu1, mu2: matrices of size K*sum(m), containing the modal ranks. Each row contains the modal rank for a cluster. In the case of multivariate ranks, the reference rank for each dimension are set successively on the same row.
m: a vector containing the size of ranks for each dimension.