Learn R Programming

splithalfr (version 2.2.0)

angoff_feldt: Calculate Angoff-Feldt coefficient

Description

Angoff-Feldt reliability coefficient. Formula obtained from Warrens (2015) <10.1007/s11634-015-0198-6>

Usage

angoff_feldt(x, y)

Arguments

x

(vector) a numeric vector

y

(vector) a numeric vector with compatible dimensions to x

Value

(numeric) Angoff-Feldt cefficient

See Also

Other splithalfr coefficients: assmd(), flanagan_rulon(), sdregi(), short_icc(), spearman_brown()

Examples

Run this code
# NOT RUN {
# Generate two variables with different means, variances and a correlation of about 0.5
library(MASS)
vars = mvrnorm(30, mu = c(0, 2), Sigma = matrix(c(5, 2, 2, 3), ncol = 2), empirical = TRUE)
# Calculate coefficient
angoff_feldt(vars[,1], vars[,2])
# }

Run the code above in your browser using DataLab