Learn R Programming

dscore (version 1.9.0)

posterior: Calculate posterior for one item given score, difficulty and prior

Description

Calculate posterior for one item given score, difficulty and prior

Usage

posterior(score, tau, prior, qp, scale)

Value

A vector of length length(prior)

Arguments

score

Integer, either 0 (fail) and 1 (pass)

tau

Numeric, difficulty parameter

prior

Vector of prior values on quadrature points qp

qp

vector of equally spaced quadrature points

scale

expansion relative to the logit scale

Author

Stef van Buuren, Arjan Huizing, 2020

Details

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

See Also

dscore()