Usage
mixRasch(data, steps, max.iter = 50, conv.crit = 0.001, model = "RSM", n.c = 1, class, metric, info.fit = TRUE, treat.extreme = 0.3, maxchange = 1.5, maxrange = c(-4, 4), as.LCA = FALSE)
Arguments
data
A rectangular data set (matrix or data frame) to be analyzed.
steps
The maximum number of item thresholds to be estimated. Some items may have less than the maximum.
max.iter
Maximum number EM iterations
conv.crit
Estimation stops when the largest model parameter change is smaller than this criterion.
model
"RSM" (the default) constrains all step parameters to be equal (i.e., estimates a rating scale model).
Assumes all items have the same number of steps. "PCM" allows step parameters to differ across items (i.e., estimates a partial credit model).
The number of steps can differ across items.
n.c
Number of latent classes.
class
Optional matrix of starting values for latent class membership.
metric
Not implemented. Will be an optional argument for setting the final scale of the Rasch results.
info.fit
If "True" the information based criteria of fit (AIC, BIC) are estimated.
treat.extreme
Adjustment to perfect response vectors to allow estimation of person parameters. Perfect vectors are not used during item parameter estimation.
maxchange
Limits the change to model parameters in a single iteration. Helps keep estimates reasonable in the first few iterations.
maxrange
Admissible range of item difficulties.
as.LCA
If TRUE, all person parameters are constrained to equal zero. That analysis accomplishes a latent class analysis rather than a mixture Rasch model.