matddchisqsympar function

Matrix of distances between discrete probability densities given the probabilities on their common support

Matrix of distances between discrete probability densities given the probabilities on their common support

Computes the matrix of the symmetric Chi-squared distances between several multivariate or univariate discrete probability distributions on the same support (which can be a Cartesian product of qq sets), given the probabilities of the states (which are qq-tuples) of the support.

matddchisqsympar(freq)

Arguments

  • freq: list of arrays. Their dim attribute is a vector with length qq, its elements containing the numbers of levels of the setssets. Each array contains the probabilities of the discrete distribution on the same support.

Returns

Positive symmetric matrix whose order is equal to the number of distributions, consisting of the pairwise symmetric chi-squared distances between these distributions.

Author(s)

Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Sabine Demotes-Mainard

See Also

ddchisqsympar.

matddchisqsym for discrete probability densities which are estimated from the data.

References

Deza, M.M. and Deza E. (2013). Encyclopedia of distances. Springer.

  • Maintainer: Pierre Santagostini
  • License: GPL (>= 2)
  • Last published: 2024-11-22