Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

dpv

Draw plausible values


Description

Draws (by rejection sampling) plausible values from the posterior distribution of ability

Usage

dpv(resp, ip, mu = 0, sigma = 1, n = 5)

Arguments

resp

A matrix of responses: persons as rows, items as columns, entries are either 0 or 1, no missing data

ip

Item parameters: the object returned by est.

mu

Mean of the apriori distribution. Default is 0.

sigma

Standard deviation of the apriori distribution. Ignored when method="ML". Default is 1.

n

The number of plausible values to draw for each person (default is 5).

Value

A matrix with n columns

Author(s)

Ivailo Partchev

See Also

Examples

plval <- dpv(resp=Scored, ip=Scored2pl)

irtoys

A Collection of Functions Related to Item Response Theory (IRT)

v0.2.1
GPL (>= 2)
Authors
Ivailo Partchev [aut, cre], Gunter Maris [aut], Tamaki Hattori [ctb]
Initial release
2017-12-15

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.