Skip to contents

Compute various measures of internal consistencies for tests or item-scales of questionnaires.

Usage

item_split_half(x, digits = 3)

Arguments

x

A matrix or a data frame.

digits

Amount of digits for returned values.

Value

A list with two elements: the split-half reliability splithalf

and the Spearman-Brown corrected split-half reliability spearmanbrown.

Details

This function calculates the split-half reliability for items in x, including the Spearman-Brown adjustment. Splitting is done by selecting odd versus even columns in x. A value closer to 1 indicates greater internal consistency.

References

Examples

data(mtcars)
x <- mtcars[, c("cyl", "gear", "carb", "hp")]
item_split_half(x)
#> $splithalf
#> [1] 0.9070215
#> 
#> $spearmanbrown
#> [1] 0.9512441
#>