Description Usage Arguments See Also Examples
The probability function in the 3PL models.
1 | prob.3pl(z, theta)
|
z |
List containing the item parameters a, d and c. |
theta |
a Vector that contains the latent traits of the individual. |
probability.3pl
, prob.2pl
,
probability.2pl
, probability.1pl
1 2 3 4 5 6 7 8 9 10 11 12 | ## Simulate the test
# data <- simulateTest(model = "3PL", items = 20, individuals = 200)
## item parameters
# zita <-data$itempars
# zita <- list(zita$a, zita$b, zita$c)
## transformation of the parameter b
# zita <- model.transform(zita, model = "3PL", src = "b", target = "d")
# zita <- list(a = zita[,1], d = zita[,1], c = zita[,1])
## Latent traits
# thetas <- data$latentTraits
## Probability model
# prob.3pl(zita, thetas)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.