Skip to contents

Spearman-Brown split-half reliability.

Usage

morie_psymet_splithalf(data, method = c("first_last", "odd_even"))

Arguments

data

Numeric matrix or data.frame of items.

method

"first_last" or "odd_even".

Value

A numeric scalar: the Spearman-Brown split-half reliability.

Examples

set.seed(1)
f <- rnorm(80)
X <- sapply(1:6, function(j) sqrt(0.6) * f + sqrt(0.4) * rnorm(80))
colnames(X) <- paste0("i", 1:6)
v <- morie_psymet_splithalf(X, method = "first_last")
v
#> [1] 0.8857161