
llmnl
evaluates log-likelihood for the multinomial logit model.
llmnl(beta, y, X)
Value of log-likelihood (sum of log prob of observed multinomial outcomes).
createX
to create
This routine is a utility routine that does not check the input arguments for proper dimensions and type.
Peter Rossi, Anderson School, UCLA, perossichi@gmail.com.
Let
Use createX
to create
For further discussion, see Bayesian Statistics and Marketing by Rossi, Allenby, and McCulloch.
createX
, rmnlIndepMetrop