runCalibration {PROsetta} | R Documentation |
Run Calibration
Description
runCalibration
is a function for performing item parameter calibration on the response data.
Usage
runCalibration(
data,
dimensions = 1,
fix_method = "free",
fixedpar = NULL,
ignore_nonconv = FALSE,
verbose = FALSE,
...
)
Arguments
data |
a |
dimensions |
the 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 backward compatibility. |
ignore_nonconv |
if |
verbose |
if |
... |
Value
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.
Examples
## 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)