dpv function

Draw plausible values

Draw plausible values

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

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 estest.
  • 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).

Returns

A matrix with n columns

Examples

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

See Also

mlebme, eap

Author(s)

Ivailo Partchev

  • Maintainer: Ivailo Partchev
  • License: GPL (>= 2)
  • Last published: 2022-05-12

Useful links