The goal of reliacoef is to calculate and compare various unidimensional and multidimensional reliability coefficients.
You can download and install it from Github using the devtools package:
install.packages("devtools")
devtools::install_github("eunscho/reliacoef")The most typical use would be the unirel and multirel function comparing several reliability coefficients:
library(unirel)
unirel(Graham1)
## compare various unidimensional reliability coefficients
multirel(Osburn_moderate, until = 4)
## compare various multidimensional reliability coefficientsYou can also get each coefficient separately.
alpha(Graham1)
## obtain coefficient alpha
joreskog(Graham1)
## obtain composite (congeneric) reliability (unidimensional CFA reliability)
gilmer(Graham1)
## obtain the Gilmer-Feldt coefficient
feldt(Graham1)
## obtain Feldt's classical congeneric reliability
hancock(Graham1)
## obtain Hancock's H (maximal reliability)
heise(Graham1)
## obtain Heise-Borhnstedt's Omega
kaisercaffrey(Graham1)
## obtain Kaiser-Caffrey's alpha
mu2(Graham1)
## obtain Ten Berge and Zegers' mu2
mu3(Graham1)
## obtain Ten Berge and Zegers' mu3
mu4(Graham1)
## obtain Ten Berge and Zegers' mu4
stratified_alpha(Osburn_moderate, 4)
## obtain stratified alpha
multi_parallel(Osburn_moderate, 4)
## obtain multidimensional parallel reliability
second_order(Osburn_moderate, 4)
## obtain second-order factor reliability
bifactor(Osburn_moderate, 4)
## obtain bifactor reliability
maximal_reliability(Osburn_moderate, 4)
## obtain maximal reliability
correlated_factors(Osburn_moderate, 4)
## obtain correlated factors reliabilityYou can test essential tau-equivalence and explore unidimensionality.
test.tauequivalence(Graham1)
## test the assumption of essential tau-equivalence Sometimes an error message appears.
Error in standardizedsolution(fit) :The solution is to activate the lavaan package.
library(lavaan)