Description Usage Arguments Details Value Examples
mst_sim
simulates the administration of the assembled MST panel(s)
1 2 3 4 5 6 7 |
x |
the assembled MST object |
... |
additional option/control parameters |
true |
the true theta parameter (numeric) |
rdp |
routing decision points (list) |
estimator |
the estimator of the ability parameter (function) |
Use theta
to set the initial theta, panel
to select the MST panel,
prior
to set the prior for theta estimation, bounds
to set the
bounds of theta estimation, and D
to set the scaling constant.
a list of true and estimated ability theta, administered items, and end-of-stage statistics
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | set.seed(123456)
items <- Rirt::model_mixed_gendata(1, n_3pl=150)$items
x <- mst(items, "1-3", 2, 'topdown', len=20, max_use=1)
x <- mst_objective(x, -1, indices=1)
x <- mst_objective(x, 0, indices=2)
x <- mst_objective(x, 1, indices=3)
x <- mst_stage_length(x, 1:2, min=5)
x <- mst_assemble(x, 'lpsolve', time_limit=30)
sim1 <- mst_sim(x, true=.5)
print(sim1)
plot(sim1)
sim2 <- mst_sim(x, true=-.5, rdp=list('stage2'=c(-.44, .44)))
print(sim2)
plot(sim2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.