This function calculates the deviance of multinomial mixture distributions.

deviance_mixture(x, M, N, s, n, nbmel)

Arguments

x

value to which the deviance is to be evaluated

M

a vector of mixtures (see coef_mixtures.R)

N

a vector of bases (see coef_mixtures.R)

s

number of bases

n

number of cell probabilities

nbmel

number of mixtures

Value

This function returns the value of the deviance for mixture distributions.

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