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

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/RcppExports.R

Description

Calculate posterior for one item given score, difficulty and prior

Usage

1
posterior(score, tau, prior, qp)

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

Details

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

Value

A vector of length length(prior)

Note

: Internal function

Author(s)

Stef van Buuren, Arjan Huizing, 2020

See Also

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


dscore documentation built on Nov. 29, 2020, 1:07 a.m.