# TIF for a single item (2PL model)
calculateIIF(A = 0.8, B = 1.1, theta = 0)
# TIF for multiple items (1PL model)
calculateIIF(B = c(1.1, 0.8, 0.5), theta = 0)
# TIF for multiple theta-values (3PL model)
calculateIIF(B = -0.5, C = 0.25, theta = c(-1, 0, 1))
# TIF for multiple items and multiple ability levels (2PL model)
calculateIIF(A = c(0.7, 1.1, 0.8), B = c(1.1, 0.8, 0.5),
theta = c(-1, 0, 1))
Run the code above in your browser using DataLab