cronbach.alpha {cocron} | R Documentation |
Cronbach's Alpha
Description
Calculates Cronbach's alpha (Cronbach, 1951), a coefficient of internal consistency. The coefficient typically serves as an estimate of the reliability of a psychometric test.
Usage
cronbach.alpha(x, standardized = FALSE)
Arguments
x |
A numeric data.frame/matrix with rows and columns corresponding to individuals and items, respectively. |
standardized |
A logic indicating whether a standardized Cronbach alpha should be calculated (default is FALSE). |
Details
For a test consisting of items that measures a quantity
,
Cronbach's alpha is defined as
with .
is the variance of item
,
and
the variance of the total test score for a sample of individuals that completed the test.
The standardized Cronbach's alpha is defined as
where is the number of items and
the mean correlation between the items.
Cases that have missing values on any of the items are excluded.
Value
Returns Cronbach's alpha as a numeric object.
References
Cronbach, L. J. (1951). Coefficient alpha and the internal structure of tests. Psychometrika, 16, 297-334.
See Also
cocron, cocron.n.coefficients, cocron.two.coefficients
Examples
data("knowledge")
cronbach.alpha(knowledge$test1)
cronbach.alpha(knowledge$test2)