grad_vclogit | R Documentation |
Evaluate gradient of the log likelihood
grad_vclogit(par, y_j, zeta_k, m_j)
par |
The parameter of interest. A (L)-length vector of mlogit coefficients for cluster k and office j. The coefficient for the reference category, corresponding to abstention, is abbreviated here. That coefficient is constrained to be 0. Therefore, the log likelihood appends 0 to the beginning each time. |
y_j |
N length vector of outcomes |
zeta_k |
N-length vector of posterior for membership in cluster k |
m_j |
N by (L + 1) matrix of missingness indicators |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.