runCalibration {PROsetta} | R Documentation |
runCalibration
is a function to perform item calibration on the response data.
runCalibration(
data,
dimensions = 1,
fix_method = "free",
fixedpar = NULL,
ignore_nonconv = FALSE,
verbose = FALSE,
...
)
data |
a |
dimensions |
number of dimensions to use. Must be 1 or 2. If 1, use one underlying dimension for all instruments combined. If 2, use each dimension separately for the anchor instrument and the developing instrument. Covariance between dimensions is freely estimated. (default = |
fix_method |
the type of constraints to impose. (default =
|
fixedpar |
this argument exists for reproducibility. |
ignore_nonconv |
if |
verbose |
if |
... |
runCalibration
returns a SingleGroupClass
object containing item calibration results.
This object can be used in coef
, itemfit
, itemplot
in 'mirt' package to extract wanted information.
## Not run:
out_calib <- runCalibration(data_asq) # errors
## End(Not run)
out_calib <- runCalibration(data_asq, technical = list(NCYCLES = 1000))
mirt::coef(out_calib, IRTpars = TRUE, simplify = TRUE)
mirt::itemfit(out_calib, empirical.plot = 1)
mirt::itemplot(out_calib, item = 1, type = "info")
mirt::itemfit(out_calib, "S_X2", na.rm = TRUE)