residualEGA Estimates the number of dimensions after controlling for wording effects.
EGA is applied in the residual of a random intercept item factor model (RIIFA) with one method factor and one substantive factor.
Usage
residualEGA(data, manifests, lat, negative.items)
Value
Returns a list containing:
openMx.model
OpenMX model
openMx.result
OpenMX results
openMx.std.par
OpenMX standardized parameters
ResidualMatrix
Residual matrix
EGA.Residuals
Results of the residualized EGA
Fit
Fit metrics of the network structure, calculated using the ggmfit function of the
qgraph package
WordLoads
Loadings of the wording effects
Arguments
data
Matrix or data frame.
Includes the variables to be used in the residualEGA analysis
manifests
Character vector.
Vector indicating the names of the variables (items) to be used in the analysis.
lat
Numeric integer.
Number of latent factors to be estimated.
Only one substantive latent factor is recommended in the current version of the function.
negative.items
Numeric vector
A numeric vector indicating the column of the negative items.
Author
Hudson F. Golino <hfg9s at virginia.edu> and Robert Moulder <rgm4fd@virginia.edu>
See Also
EGA to estimate the number of dimensions of an instrument using EGA
and CFA to verify the fit of the structure suggested by EGA using confirmatory factor analysis.