Usage
polymirt(data, nfact, guess = 0, prev.cor = NULL,
ncycles = 2000, burnin = 100, SEM.cycles = 50, kdraws = 1,
tol = .001, printcycles = TRUE, calcLL = TRUE, draws = 2000,
debug = FALSE, ...)
## S3 method for class 'polymirt':
summary(object, rotate='varimax', suppress = 0, digits = 3, ...)
## S3 method for class 'polymirt':
coef(object, SE = TRUE, digits = 3, ...)
## S3 method for class 'polymirt':
plot(x, npts = 50, rot = list(x = -70, y = 30, z = 10), ...)
## S3 method for class 'polymirt':
residuals(object, digits = 3, ...)
## S3 method for class 'polymirt':
anova(object, object2, ...)
Arguments
data
a matrix
or data.frame
that consists of numerically ordered data
nfact
number of factors to be extracted
guess
fixed values for the pseudo-guessing parameter. Can be entered as a single value to assign a global guessing parameter or may be entered as a numeric vector for each item
prev.cor
use a previously computed correlation matrix to be used to estimate starting values the estimation. The input could be any correlation matrix, but it is advised to use a matrix of polychoric correlations.
rotate
type of rotation to perform after the initial orthogonal parameters have been extracted. See mirt
for a list of possible rotations ncycles
the maximum number of iterations to be performed
burnin
number of burn-in cycles to perform before beginning the SEM stage
SEM.cycles
number of stochastic EM cycles to perform before beginning the MH-RM algorithm
kdraws
number of Metropolis-Hastings imputations of the factor scores at each iteration. Default is 1
tol
tolerance that will terminate the model estimation; must occur in 3 consecutive iterations
SE
logical; display the standard errors?
x
an object of class polymirt
to be plotted or printed
object
a model estimated from polymirt
of class polymirt
object2
a model estimated from polymirt
of class polymirt
suppress
a numeric value indicating which (possibly rotated) factor loadings should be suppressed. Typical values are around .3 in most statistical software
digits
the number of significant digits to be rounded
npts
number of quadrature points to be used for plotting features. Larger values make plots look smoother
rot
allows rotation of the 3D graphics
printcycles
logical; display iteration history during estimation?
calcLL
logical; calculate the log-likelihood?
draws
the number of Monte Carlo draws to estimate the log-likelihood
debug
logical; turn on debugging features?
...
additional arguments to be passed