Cronbach's á (alpha) has an important use as a measure of the reliability of a psychometric instrument. It indicates the extent to which a set of test items can be treated as measuring a single latent variable. It was first named as alpha by Cronbach (1951), although an earlier version is the Kuder-Richardson Formula 20 (often shortened to KR-20), which is the equivalent for dichotomous items, and Guttman (1945) developed the same quantity under the name lambda-2.
Given that a sample was measured on a set of k items, Cronbach's á is defined as the mean correlation across the items, adjusted upward by the Spearman-Brown prediction formula by k. It is related to the outcome of an analysis of variance of the item data into variance due to the individuals in the sample and variance due to the items. The higher the proportion of variance due to individuals, the higher Cronbach's á.
á can take values between minus infinity and 1 (although only positive values make sense). As a rule of thumb, a proposed psychometric instrument should only be used if an á value of 0.70 or higher is obtained on a substantial sample. However the standard of reliability required varies between fields of psychology: cognitive tests (tests of intelligence or achievement) tend to be more reliable than tests of attitudes or personality. There is also variation within fields: it is easier to construct a reliable test of a specific attitude than of a general one, for example.
Alpha is most appropriately used when the items measure different substantive areas within a single construct (conversely, alpha can be artificially inflated by making superficial changes to the wording within a set of items). Although this description of the use of á is given in terms of psychology, the statistic can be used in any discipline.
(taken from Wikipedia)
Frederik Nagel (2021). Cronbach's Alpha (https://www.mathworks.com/matlabcentral/fileexchange/10872-cronbach-s-alpha), MATLAB Central File Exchange. Retrieved .
Hi, PLease can somebody comment on Lee Newmans suggested error in this function? Is it an error or not?
I think it might be as I tried the example data matrix given above (by Lee Newman) - in Arash Salarian's 2008 m file "ICC.m" with the case set to yeild chronbach's alpha - and got out -0.1235 ......
I think there may be an error in your code and therefore the function returns an incorrect value. In the last line, you have a=(N*r)/(1+(N-1)*r); I believe that instead of the 1 in the denominator, you should have vbar, where vbar is the average variance (see equation on wikipedia). I checked the results of your function versus the output of SPSS and the output of Alexandros Leontitsis's posted m-file, and your function does not produce either the correct alpha or standardized alpha (Leontitdis's function produces the correct unstandardized alpha).
2 4 2 5
7 1 3 4
7 2 4 7
4 7 2 5
6 2 6 6
1 6 2 4
3 4 2 4
7 7 2 6
6 1 2 1
7 4 4 1
SPSS Output: Alpha = -0.1235 , 0.0036 (standardized)
Leontitsis Output: cronbach(X), ans = -0.1235
Your m-file Output: cronbach(X), ans = 0.2088
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!