This function performs maximum likelihood inference for multinomial mixture distributions.

coef_mixtures(Mp, Np)

Arguments

Mp

a matrix of mixtures (a row matrix if a vector)

Np

a matrix of bases (a row matrix if a vector)

Value

This function returns a list of maximum likelihood estimates for the cells of a mixture distribution:

P matrix of cell probabilities estimates for mixtures

PI matrix of mixture probabilities

GAM matrix of cell probabilities estimates for bases

References

Yantis, S., Meyer, D. E., and Smith, J. E. K. (1991). Analyses of multinomial mixture distributions: New tests for stochastic models of cognition and action. Psychological Bulletin 110, 350–374.

Author

Olivier Gimenez <olivier.gimenez@cefe.cnrs.fr>, Roger Pradel, Rémi Choquet