reliability | R Documentation |
Calculates Cronbach's alpha and standardized alpha (lower bounds on reliability) for a composite (summated-rating) scale. Standardized alpha is for the sum of the standardized items. In addition, the function calculates alpha and standardized alpha for the scale with each item deleted in turn, and computes the correlation between each item and the sum of the other items.
reliability(S)
## S3 method for class 'reliability'
print(x, digits=4, ...)
S |
the covariance matrix of the items; normally, there should be at least 3 items and certainly no fewer than 2. |
x |
reliability object to be printed. |
digits |
number of decimal places. |
... |
not used: for compatibility with the print generic." |
an object of class reliability, which normally would be printed.
John Fox jfox@mcmaster.ca
N. Cliff (1986) Psychological testing theory. Pp. 343–349 in S. Kotz and N. Johnson, eds., Encyclopedia of Statistical Sciences, Vol. 7. Wiley.
cov
if (require(car)){
data(DavisThin)
reliability(cov(DavisThin))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.