Description Usage Arguments Value See Also Examples
The function calculates the expected item score for a given mirt IRT model and a specified population. If mean and variance are not provided, they are taken from the mirt model object.
1 2 3 4 | irt_expected_item_response(model, mu = NULL, sigma = NULL,
settings = settings.irt_expected())
settings.irt_expected(gq.quad_points = 5)
|
model |
A |
mu |
The mean of latent variable values |
sigma |
The variance-covariance matrix of the latent variable values |
A vector with the expected score for each item
1 2 | fit <- mirt::mirt(mirt::Science, 1)
irt_expected_item_response(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.