Learn R Programming

AATtools (version 0.0.3)

covrel: Covariance Matrix-Based Reliability Coefficients

Description

These functions allow for the computation of the reliability of a dataset from the covariance matrix of its variables.

Usage

calpha(covmat)

lambda2(covmat)

lambda4(covmat)

Arguments

covmat

a covariance matrix

Functions

  • calpha(): Cronbach's alpha

  • lambda2(): Guttman's Lambda-2

  • lambda4(): Guttman's Lambda-4. This algorithm tries to get the highest attainable reliability by

See Also

splitrel

Examples

Run this code
# 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.

Run the code above in your browser using DataLab