Learn R Programming

mirt (version 1.3)

randef: Compute random effects

Description

Stochastically compute random effects for MixedClass objects with Metropolis-Hastings samplers and averaging over the draws. Returns a list of the estimated effects.

Usage

randef(x, ndraws = 1000, thin = 10)

Arguments

x
an estimated model object from the mixedmirt function
ndraws
total number of draws to perform. Default is 1000
thin
amount of thinning to apply. Default is to use every 10th draw

Examples

Run this code
effects <- randef(mod1, ndraws = 2000, thin = 20)

Run the code above in your browser using DataLab