Learn R Programming

unifyR (version 1.0.0)

uniRel: uniRel

Description

A function for unifying the reliabilities of multiple tests

Usage

uniRel(rel, b = NULL, corm)

Value

A single value of the class `numeric` representing the unified reliability estimate across multiple tests

Arguments

rel

Vector of reliabilities of the tests

b

Vector of weightings for the reliabilities; must match order of `rel`. Default: 1

corm

Correlation matrix of the tests; must be square with 1s on the diagonal

Examples

Run this code
rel = c(0.70, 0.90, 0.80)
b = c(1, 1, 1)
corm = matrix(c(1, 0.50, 0.35, 0.50, 1, 0.75, 0.35, 0.70, 1), nrow = 3, ncol = 3)
uniRel(rel, b, corm)

Run the code above in your browser using DataLab