iparPosteriorSample is a function for generating item parameter samples. Used for the FB (full-Bayesian) estimation method.

iparPosteriorSample(pool, n_sample = 500)

Arguments

pool

an item_pool object.

n_sample

the number of samples to draw.

Value

iparPosteriorSample returns a length-ni list of item parameter matrices, with each matrix having n_sample rows.

Examples

ipar <- iparPosteriorSample(itempool_bayes, 5)
ipar <- iparPosteriorSample(itempool_science, 5) # no variation