| loglik_array | R Documentation |
The loglik_array() methods for measrdcm objects
calculates the log-likelihood for an estimated model via the generated
quantities functionality in Stan and returns the draws of the log_lik
parameter.
loglik_array(model, ...)
model |
A measrdcm object. |
... |
Unused. For future extensions. |
A "draws_array" object containing the
log-likelihood estimates for the model.
rstn_mdm_lcdm <- dcm_estimate(
dcm_specify(dcmdata::mdm_qmatrix, identifier = "item"),
data = dcmdata::mdm_data,
missing = NA,
identifier = "respondent",
method = "optim",
seed = 63277,
backend = "rstan"
)
loglik_array(rstn_mdm_lcdm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.