cronbach: Robust Cronbach's alpha

Description Usage Arguments Author(s) References Examples

Description

Calculate alpha for a given data set.

Usage

1
cronbach(y, varphi = 0.1, se = FALSE, complete = FALSE)

Arguments

y

Data

varphi

Downweight rate

se

Whether to estimate standard error. It will take significant more time if se is requested.

complete

Calculate alpha only based on complete data (lisewise deletion)

Author(s)

Zhiyong Zhang and Ke-Hai Yuan

References

Zhang, Z. & Yuan, K.-H. (2013). Robust Cronbach's alpha.

Examples

1
2
3
4
5
6
7
data(holzinger)
spatial<-holzinger[, c('visual', 'cubes', 'paper', 'lozenge', 'paperrev','flagssub')]
verbal<-holzinger[, c('general', 'paragrap', 'sentence', 'wordc', 'wordm')]
speed<-holzinger[, c('add', 'code', 'counting', 'straight')]
memory<-holzinger[, c('wordr', 'numberr', 'figurer', 'object', 'numberf', 'figurew')]

alpha.spatial<-cronbach(spatial, varphi=.01)


Search within the alpha package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.