Calculate the Fisher information using empirical Bayes
Calculate the Fisher information using empirical Bayes.
calc_info_EB(x, item_parm, ncat, model)
x
: A numeric vector of MCMC sampled theta values.item_parm
: A numeric matrix of item parameters.ncat
: a numeric vector specifying the number of response categories in each item.model
: a numeric vector indicating the IRT models of each item (1: 1PL, 2: 2PL, 3: 3PL, 4: PC, 5: GPC, 6: GR).