loglik_thirt | R Documentation |
Calculate log-likelihood
loglik_thirt(gamma, items, persons, resp)
gamma |
a data.frame of length |
items |
a data.frame of length |
persons |
a data.frame of length |
resp |
a data.frame of length |
a matrix of dimensions [n_person X n_block]
of log-likelihoods
of chosen responses for each person for each block.
## Not run:
set.seed(202106)
params <- simulate_thirt_params()
gamma <- params$gamma
items <- params$items
persons <- params$persons
resp <- do.call(simulate_thirt_resp, params)$resp
loglik_thirt(gamma = gamma, items = items, persons = persons, resp = resp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.