loglik_obs | R Documentation |
Observed log likelihood
loglik_obs(iter, pi_it, mu_it, y, m, n_u, .IIA)
iter |
the EM object with just one iteration |
pi_it |
estimate of pi at iteration it |
mu_it |
estimate of the mu array at iteration it |
y |
A U by K matrix of the data |
m |
A matrix of the missingness |
n_u |
A vector of observation counts for each row in y |
.IIA |
whether the model is using a multinomial logit. |
the total log likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.