Learn R Programming

multinomialLogitMix (version 1.1)

mixLoglikelihood_GLM: Log-likelihood of the multinomial logit.

Description

Log-likelihood of the multinomial logit.

Usage

mixLoglikelihood_GLM(y, theta, pi)

Value

Log-likelihood value.

Arguments

y

matrix of counts

theta

a three-dimensional array containing the multinomial probabilities per cluster, for each observation.

pi

a numeric vector of length K (the number of mixture components) containing the mixing proportions.

Author

Panagiotis Papastamoulis