cba: Calculate Cronbachs Alpha from supplied variables.

Description Usage Arguments Value Note Examples

View source: R/cba.R

Description

Calculates Cronbachs Alpha, a very commonly used index for assessing the reliability / internal consistency of a sumscore. Often interpreted as the mean correlation across all possible split-half alternate forms of the test.

Usage

1
cba(x)

Arguments

x

A data-frame or matrix of numerical values where rows are across-items within-respondent observation vectors, and columns are within-item across-respondents observation vectors.

Value

Cronbachs Alpha for the sumscore of supplied variables.

Note

Missing values are treated by passing na.rm = TRUE to the var function call.

Be aware that this function does not issue a warning if there are negative correlations between variables in the supplied data-set.

Examples

1
2
data <- expand.table(LSAT7)
cba(data)

hthaa/cacPlot documentation built on Dec. 18, 2019, 4:34 a.m.