| LogisticModel | R Documentation |
Computes the probability of a correct response using the four-parameter logistic model (4PLM) in Item Response Theory.
LogisticModel(x, a = 1, b, c = 0, d = 1)
x |
Numeric. The ability parameter (theta). |
a |
Numeric. The slope (discrimination) parameter. Default is 1. |
b |
Numeric. The location (difficulty) parameter. |
c |
Numeric. The lower asymptote (guessing) parameter. Default is 0. |
d |
Numeric. The upper asymptote (carelessness) parameter. Default is 1. |
The four-parameter logistic model extends the 3PLM by adding an upper
asymptote parameter d, which accounts for careless errors by
high-ability examinees.
The model formula is:
P(\theta) = c + \frac{d - c}{1 + \exp(-a(\theta - b))}
Special cases:
1PLM: a = 1, c = 0, d = 1
2PLM: c = 0, d = 1
3PLM: d = 1
A numeric value representing the probability of a correct response.
ItemInformationFunc
# Compute probability for ability = 0, difficulty = 0
LogisticModel(x = 0, a = 1, b = 0, c = 0, d = 1) # Returns 0.5
# 3PLM with guessing parameter
LogisticModel(x = -3, a = 1.5, b = 0, c = 0.2, d = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.