reliability(object)
cfa
, sem
, growth
, or lavaan
functions.impliedFactorCov
function.
If measurement errors are not correlated, the last term in the denominator of the middle expression is dropped. For the categorical items, the reliability indices are calculated from the latent variable underlying the categorical items (i.e., using polychoric/polyserial correlations). Therefore, the coefficient alpha from this function may be not the same as the standard alpha calculation for categorical items. Researchers may check the alpha
function in the psych
package for the standard coefficient alpha calculation.reliabilityL2
for reliability value of a desired second-order factorHS.model <- ' visual =~ x1 + x2 + x3
textual =~ x4 + x5 + x6
speed =~ x7 + x8 + x9 '
fit <- cfa(HS.model, data=HolzingerSwineford1939)
reliability(fit)
Run the code above in your browser using DataLab