Description Usage Arguments Details Value References See Also Examples
View source: R/Omega_Indices.R
Computes an omega reliability estimate for all factors as described in Rodriguez, Reise, and Haviland (2016).
1 | Omega_S(Lambda, Theta)
|
Lambda |
is a matrix of factor loadings |
Theta |
is a vector of indicator error variances |
Omega_S
is called by bifactorIndices
and the various convenience functions
for exploratory models and/or Mplus output,
which are the only functions in this package intended for casual users.
A numeric
, the omega reliability estimate for all factors.
Rodriguez, A., Reise, S. P., & Haviland, M. G. (2016). Evaluating bifactor models: calculating and interpreting statistical indices. Psychological Methods, 21(2), 137 doi: 10.1037/met0000045.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Lambda <- matrix(c(.82, .10, 0, 0,
.77, .35, 0, 0,
.79, .32, 0, 0,
.66, .39, 0, 0,
.51, 0, .71, 0,
.56, 0, .43, 0,
.68, 0, .13, 0,
.60, 0, .50, 0,
.83, 0, 0, .47,
.60, 0, 0, .27,
.78, 0, 0, .28,
.55, 0, 0, .75),
ncol = 4, byrow = TRUE)
colnames(Lambda) <- c("General", "SF1", "SF2", "SF3")
Theta <- rep(1, nrow(Lambda)) - rowSums(Lambda^2)
Omega_S(Lambda, Theta)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.