mean.Testlet: Calculate the expected value of an Testlet

mean,Testlet-methodR Documentation

Calculate the expected value of an Testlet

Description

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

Usage

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

Arguments

x

A Testlet-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

t1 <- generate_testlet()
mean(t1, theta = -1.1)
mean(t1, -1.1)


irt documentation built on Nov. 10, 2022, 5:50 p.m.