Description Usage Arguments Value
Get Likelihood or posterior density (with normal prior) over all included items, and derivatives, for a given set of answers to items.
1 2 3 4 |
theta |
Vector with true or estimated theta. |
answers |
Vector with answers to the administered items. |
model |
One of |
items_to_include |
Vector with indices of items to which answers have been given. |
number_dimensions |
Number of dimensions of theta. |
estimator |
Type of estimator to be used, 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. |
prior_parameters |
List containing mu and Sigma of the normal prior: |
return_log_likelihood_or_post_density |
If |
inverse_likelihood_or_post_density |
If |
with_derivatives |
If |
The likelihood (estimator is maximum_likelihood) or posterior density with normal prior (estimator is not maximum_likelihood) of theta. If requested, first and second derivatives are added as attributes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.