cronbach_strata: Stratified Cronbach's alpha

View source: R/validating.R

cronbach_strataR Documentation

Stratified Cronbach's alpha

Description

Calculate the stratified Cronbach's alpha, measuring the reliability of a composite score, obtained from the combination of more item or scale scores.

Usage

cronbach_strata(x, r, composite=NULL)

Arguments

x

A data frame in which the rows represents the subjects and the columns the items or the scores to combine.

r

Vector of reliabilities of each item/score included into x.

composite

Vector of composite scores. The vector must contain a number of elements equal to nrow(x). If the argument is NULL, composite scores will be calculated as sum of values of x.

Details

Missing data are treated by using listwise deletion.

References

Cronbach, L.J., Schoenemann, P., McKie, D. (1965). Alpha coefficient for stratified-parallel tests. Educational and Psychological Measurement, 25, 291-312.

See Also

cronbach_alpha

Examples

data("drive")
r <- c(0.97,0.86,0.85,0.99,0.81,0.88)
cronbach_strata(drive[,5:10], r)

DavideMassidda/testing documentation built on Oct. 12, 2023, 4:32 p.m.