covrel | R Documentation |
These functions allow for the computation of the reliability of a dataset from the covariance matrix of its variables.
calpha(covmat)
lambda2(covmat)
lambda4(covmat)
covmat |
a covariance matrix |
calpha()
: Cronbach's alpha
lambda2()
: Guttman's Lambda-2
lambda4()
: Guttman's Lambda-4. This algorithm tries to get the highest attainable reliability by
splitrel
# compute reliability from covariance
h<-cov(iris[,1:4])
calpha(h)
lambda2(h)
lambda4(h)
# Lambda-2 and Lambda-4 are significantly larger because
# some of the variables in the iris dataset are negatively correlated.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.