RaschModel.fit is a basic fitting function for simple Rasch models.RaschModel.fit(y, weights = NULL, start = NULL, reltol = 1e-10,
deriv = c("sum", "diff", "numeric"), hessian = TRUE,
maxit = 100L, full = TRUE, gradtol = reltol, iterlim = maxit, ...)as.matrix) to a binary 0/1 matrix."sum"),
analytical with difference algorithm ("diff", faster but numerically unstable),
or FALSE, the vcov method can only return NAs
and consequently no standard errors or tests are available in the summary.optim.FALSE,
no variance-covariance matrix and no matrix of estimating functions are computed.reltol and maxit, respectively.RaschModel.fit returns an S3 object of class "RaschModel",
i.e., a list with components as follows.optim,optim,optim,RaschModel.fit provides a basic fitting function for simple Rasch models,
intended as a building block for fitting Rasch trees and Rasch mixtures
in the RaschModel.fit returns an object of class "RaschModel" for which
several basic methods are available, including print, plot,
summary, coef, vcov, logLik, and worth.PCModel.fit, RSModel.fit, btReg.fit## Verbal aggression data
data("VerbalAggression", package = "psychotools")
## Rasch model for the other-to-blame situations
m <- RaschModel.fit(VerbalAggression$resp2[, 1:12])
summary(m)
plot(m)Run the code above in your browser using DataLab