Get reliability estimates of index variables created with add_index
.
get_reliability( data, ..., type = "alpha", interval.type = NULL, bootstrap.samples = NULL, conf.level = NULL, progress = FALSE )
data | a tibble |
---|---|
... | Index variables created with |
type | Type of reliability estimate. See |
interval.type | Type of reliability estimate confidence interval.
See |
bootstrap.samples | Number of bootstrap samples for CI calculation.
See |
conf.level | Confidence level for estimate CI.
See |
progress | Show progress for reliability estimate computation. Useful if using computationally intense computations (e. g., many bootstrapping samples) and many index variables. |
a tibble
add_index()
to create index variables
WoJ %>% add_index(ethical_flexibility, ethics_1, ethics_2, ethics_3, ethics_4) %>% get_reliability()#> # A tibble: 1 x 5 #> Index Index_of M SD Cronbachs_Alpha #> <chr> <chr> <dbl> <dbl> <dbl> #> 1 ethical_flexibil~ ethics_1, ethics_2, ethics_3, e~ 2.45 0.777 0.612