View source: R/lf_grad_posterior_density.R
lf_grad_posterior_density | R Documentation |
This calculates the analytic gradient of the posterior density function.
lf_grad_posterior_density(THETAi, Yi, MUi, invS, TAU, LAMBDA, J, K)
THETAi |
Size K vector of scaled scores for the i-th individual. |
Yi |
Size Y vector of item responses for the i-th individual. |
MUi |
Size K vector of prior's mean conditional on MONTHS. |
invS |
Size K-by-K matrix of prior's inverse of var/cov matrix. |
TAU |
Size J vector of item intercepts. |
LAMBDA |
Size J-by-K matrix of item loadings. |
J |
Number of items. |
K |
Number of latent dimensions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.