posterior | R Documentation |
Calculate posterior for one item given score, difficulty and prior
posterior(score, tau, prior, qp, scale)
score |
Integer, either 0 (fail) and 1 (pass) |
tau |
Numeric, difficulty parameter |
prior |
Vector of prior values on quadrature points |
qp |
vector of equally spaced quadrature points |
scale |
expansion relative to the logit scale |
This function assumes that the difficulties have been estimated by
a binary Rasch model, e.g. by rasch.pairwise.itemcluster()
of
the sirt
package.
A vector of length length(prior)
: Internal function
Stef van Buuren, Arjan Huizing, 2020
dscore()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.