probability.1pl: 1PL probability function

Description Usage Arguments Value See Also Examples

Description

The probability function in the 1PL model.

Usage

1
probability.1pl(z, b = z$b, theta)

Arguments

z

Optional. A list with the parameter b specified by keys.

b

The difficulty parameter. (Optional if d is specified)

theta

The subject's latent trait.

Value

Tue value of the probability for the model 1pl.

See Also

probability.2pl, probability.3pl, prob.3pl, prob.2pl

Examples

1
2
3
4
5
6
7
8
## Simulate the test
# data <- simulateTest(model = "1PL", items = 20, individuals = 200)
## item parameters
# zita <-data$itempars
## Latent traits
# thetas <- data$latentTraits
## Probability model
# probability.1pl(zita, theta = thetas)

SICSresearch/IRTpp documentation built on May 9, 2019, 11:11 a.m.