calc.prob: Compute probability
Description
Calculate probability of observing certain answer to a dichotomous item, given a theta
Usage
calc.prob(theta, bank, u = 1)
Value
A vector with the probability of seeing determined response in each item
Arguments
- theta
theta
- bank
matrix with item parameters (a, b, c)
- u
1
for correct, 0
for wrong