Fits a graded response model (GRM) to item response data. This is an internal
function called by grmtree and is not intended to be used directly.
grmfit(
y,
x = NULL,
start = NULL,
weights = NULL,
offset = NULL,
...,
estfun = FALSE,
object = FALSE
)A list containing:
Item parameter estimates
Negative log-likelihood value
Empirical estimating functions if requested
Full mirt model object if requested
A matrix of item responses (rows = persons, columns = items)
Optional predictor matrix (not currently used)
Optional starting values (passed to mirt)
Optional case weights (not currently used)
Optional offset (not currently used)
Additional arguments passed to mirt::mirt
Logical indicating whether to compute empirical estimating functions
Logical indicating whether to return the full mirt model object