Helper functions of Model Estimation
miscellaneous helper functions for estimating IRT models
estimate_nr_iteration
updates the parameters using the newton-raphson method
estimate_nr_iteration(param, free, dv, h_max, lr, bound) model_polytomous_3dindex(u) model_polytomous_3dresponse(u)
param
: the parameter being estimatedfree
: TRUE to freely estimate specific parametersdv
: the first and second derivativesh_max
: the maximum value of hlr
: the learning ratebound
: the lower and upper bounds of the parameteru
: the observed response, 2d matrix, values start from 0