log_likelihood: observed log-likelihood

Description Usage Arguments Value

View source: R/RcppExports.R

Description

observed log-likelihood

Usage

1
log_likelihood(Y, X, B, mu0, Z0)

Arguments

Y

A matrix of multinomial outcomes.

X

A matrix of covariate matrix.

B

A matrix of coefficeints. Cols correspond to choices and rows correspond to variables.

mu0

A vector of prior means.

Z0

A matrix of prior variance covariance matrix.

Value

A double of log-likelihood evaluated at B.


soichiroy/emlogit documentation built on Sept. 24, 2021, 5:22 p.m.