grm_prob | R Documentation |
Calculates the probability of selecting each category given a latent trait value and item parameters.
grm_prob(theta, a, b)
theta |
Latent trait value of the subject |
a |
Discrimination parameter of IRF |
b |
Vector of difficulty parameters (thresholds) of IRF |
Vector of category selection probabilities
## Not run:
# Example for an item with 3 categories
a <- 1.5
b <- c(-1.0, 1.0)
theta <- 0
grm_prob(theta, a, b)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.