
Calculate maximal reliability of a scale
maximalRelia(object)
The lavaan model object provided after running the cfa
,
sem
, growth
, or lavaan
functions.
Maximal reliability values of each group. The maximal-reliability
weights are also provided. Users may extracted the weighted by the
attr
function (see example below).
Given that a composite score (
where
where
For continuous items,
where
For categorical items, Green and Yang's (2009) method is used for
calculating
where
Each element of
where
Li, H. (1997). A unifying expression for the maximal reliability of a linear composite. Psychometrika, 62(2), 245--249. doi:10.1007/BF02295278
Raykov, T. (2012). Scale construction and development using structural equation modeling. In R. H. Hoyle (Ed.), Handbook of structural equation modeling (pp. 472--494). New York, NY: Guilford.
reliability
for reliability of an unweighted
composite score
# NOT RUN {
total <- 'f =~ x1 + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 '
fit <- cfa(total, data = HolzingerSwineford1939)
maximalRelia(fit)
# Extract the weight
mr <- maximalRelia(fit)
attr(mr, "weight")
# }
Run the code above in your browser using DataLab