R-Package “Bayesrel” provides both Bayesian and frequentist single-test reliability estimates

Functionality for the most common single test reliability estimates is provided: Coefficient alpha, Guttman’s lambda-2/-4/-6, greatest lower bound and coefficient omega. The Bayesian estimates are provided with credible intervals. The method for the Bayesian estimates is sampling from the posterior inverse Wishart for all coefficients but omega (Murphy, 2007, Gibbs Sampling from the joint conditional distributions of a single factor model in the case of omega (Lee, 2007, The Bayesian posterior mcmc samples are provided, which allow for further analysis. The frequentist estimates are provided with bootstrapped confidence intervals. The user can choose between non-parametric or parametric bootstrap. For alpha the interval can also be analytic (Bonett & Wright, 2014, The frequentist omega can be calculated using a PFA or a CFA. A graphical predictive posterior check can be done for the fit of the single factor model for the Bayesian approach. The CFA fit statistics for the single-factor model are provided for the frequentist approach. The often used if-item-dropped statistics can be calculated, too. The Bayesian version of that also offers a plot of the posterior densities when an item would be dropped. The package also allows for the calculation of the probability of an estimator being bigger than a given threshold, both for the prior and posterior. There is also the functionality to plot the posterior with the prior for a chosen estimator with cutoffs. The PFA method for omega is from Aaron Schlegel ( The glb method is adjusted code from the Rcsdp package by Hector Corrada Bravo ( The Lambda4 method is from Tom Benton ( Missing data can be handled both listwise and pairwise for both the Bayesian and frequentist cases.

Travis build status