irt_expected_item_response: Calculate expected item response for a population

Description Usage Arguments Value See Also Examples

View source: R/irt.R

Description

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.

Usage

1
2
3
4
irt_expected_item_response(model, mu = NULL, sigma = NULL,
  settings = settings.irt_expected())

settings.irt_expected(gq.quad_points = 5)

Arguments

model

A mirt model

mu

The mean of latent variable values

sigma

The variance-covariance matrix of the latent variable values

Value

A vector with the expected score for each item

See Also

irt_expected_cov_matrix

Examples

1
2
fit <- mirt::mirt(mirt::Science, 1)
irt_expected_item_response(fit)

sebastianueckert/funsu documentation built on Nov. 5, 2019, 8:48 a.m.