Calculate posterior for one item given score, difficulty and prior

posterior(score, tau, prior, qp)

Arguments

score Integer, either 0 (fail) and 1 (pass) Numeric, difficulty parameter Vector of prior values on quadrature points qp vector of equally spaced quadrature points

Value

A vector of length length(prior)

Details

This function assumes that the difficulties have been estimated by a binary Rasch model (e.g. by sirt::rasch.pairwise.itemcluster()).

Note

: Internal function

dscore(), sirt::rasch.pairwise.itemcluster()