Description Usage Arguments Details Value Author(s) Examples
Draw random samples from the posterior density of an IRT Model
1 |
x |
Vector of item responses |
params |
Item parameters organized as a list of lists |
PV |
Number of plausible values desired |
ind.dichot |
Denotes which items in x are multiple choice |
M |
Constant |
max |
Maximum length of vector for storing results |
... |
Further arguments passed to posterior |
Uses Rejection Sampling to generate random samples from the IRT posterior density
Returns random samples from the posterior density of an IRT model
Harold C. Doran
1 2 3 4 5 6 | # all mix
params <- list("3pl" = list(a = c(1,1), b = c(0, 1), c = c(0,0)),
"gpcm" = list(a = c(1,1), d = list(item1 = c(0,1,2,3,4), item2 = c(0,.5,1, 1.5))))
plaus.val(x = c(0,1,2,2), params = params, ind.dichot = c(1,2))
plaus.val(x = c(0,1,2,2), params = params, ind.dichot = c(1,2), control=list(mu=2, sigma=3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.