mean,Itempool-method {irt}R Documentation

Calculate the expected value of an Itempool

Description

mean Returns the expected values of each item in an Itempool-class object for a given ability or abilities, i.e. \theta.

Usage

## S4 method for signature 'Itempool'
mean(x, ...)

Arguments

x

An Itempool-class object containing the item parameters.

...

Additional parameters. Specifically theta argument is required. theta should be a numeric vector of ability parameters.

Value

Item expected values at given theta values will be returned.

Author(s)

Emre Gonulates

Examples

ip <- generate_ip(model = "2PL")
mean(ip, theta = 1.2)
mean(ip, 1.2)

ip <- generate_ip(model = "GPCM")
mean(ip, theta = -0.37)
mean(ip, -1.55)

[Package irt version 0.2.9 Index]