Description Usage Arguments Value
Per item, get probabilities of scoring in each answer category given theta, likelihood for the actually chosen answer category, and derivatives.
1 2 | get_probs_and_likelihoods_per_item(theta, model, alpha, beta, guessing,
answers = numeric(0), with_likelihoods)
|
theta |
Vector with true or estimated theta. |
model |
One of |
alpha |
Matrix of alpha parameters, one column per dimension, one row per item. Row names should contain the item keys. Note that so called within-dimensional models still use an alpha matrix, they simply have only one non-zero loading per item. |
beta |
Matrix of beta parameters, one column per item step, one row per item. Row names should contain the item keys.
Note that |
guessing |
Matrix with one column of guessing parameters per item. Row names should contain the item keys. Optionally used in 3PLM model, ignored for all others. |
answers |
If |
with_likelihoods |
If |
If with_likelihoods
, list with probability matrix, likelihoods and derivatives. Else, only the probability matrix.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.