View source: R/052-irt-validation-0-7.R
| run_sbc | R Documentation |
Run generic simulation-based calibration
run_sbc(
simulator,
fitter,
posterior_draws,
replications = 100L,
seed = 20260808L
)
simulator |
Function 'simulator(replicate)' returning 'list(data, truth)'; 'truth' must be a named numeric vector. |
fitter |
Function 'fitter(data)' returning a fitted object. |
posterior_draws |
Function returning a draws matrix/data frame whose columns match names in 'truth'. |
replications |
Number of SBC replications. |
seed |
RNG seed. |
An object of class "eye_irt_sbc", stored as a named list, with components "ranks", "failures", "replications", "seed", "method". It contains generic simulation-based calibration and associated metadata or diagnostics needed to interpret the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.